@azure/communication-react 1.13.0 → 1.13.1-alpha-202402280012

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1247) hide show
  1. package/dist/communication-react.d.ts +2831 -61
  2. package/dist/dist-cjs/communication-react/index.js +19457 -10521
  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.d.ts +1 -0
  6. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  11. package/dist/dist-esm/acs-ui-common/src/identifier.js +4 -1
  12. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  13. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  14. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  16. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  17. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  19. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  20. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +18 -6
  22. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +25 -1
  23. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +27 -0
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +69 -11
  26. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  27. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +5 -5
  28. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +13 -6
  29. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  30. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +29 -56
  31. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  32. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
  33. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
  34. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +21 -2
  35. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +127 -47
  36. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  37. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +11 -1
  38. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  39. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +15 -1
  40. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +19 -3
  41. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  42. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +45 -0
  43. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +87 -0
  44. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -0
  45. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  46. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  47. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +6 -2
  48. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +24 -0
  49. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  50. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  51. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +8 -0
  52. package/dist/dist-esm/calling-component-bindings/src/index.js +8 -0
  53. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  54. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +1 -0
  55. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +92 -13
  56. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  57. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  58. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +4 -3
  59. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  60. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
  61. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +14 -2
  63. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +20 -1
  64. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  65. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  66. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  67. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +7 -0
  68. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +23 -7
  69. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  70. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +20 -0
  71. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +50 -1
  72. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  73. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +10 -2
  74. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +79 -16
  75. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  76. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +2 -0
  77. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +88 -11
  78. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  79. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +6 -5
  80. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  81. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +15 -1
  82. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  83. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +2 -1
  84. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +66 -71
  85. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  86. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +125 -1
  87. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  88. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +14 -1
  89. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +157 -16
  90. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  91. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
  92. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  93. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +106 -85
  94. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  95. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  96. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  97. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +4 -0
  98. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +28 -4
  99. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  100. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
  101. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  102. package/dist/dist-esm/calling-stateful-client/src/Converter.js +24 -12
  103. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  104. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +51 -57
  105. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  106. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
  107. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  108. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  109. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -15
  110. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  111. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  112. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  113. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -3
  114. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
  115. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.d.ts +17 -0
  116. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js +42 -0
  117. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js.map +1 -0
  118. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  119. package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -1
  120. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.d.ts +16 -0
  121. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +24 -0
  122. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -0
  123. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  124. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
  125. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
  126. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  127. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.d.ts +16 -0
  128. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +30 -0
  129. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -0
  130. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +26 -1
  131. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +69 -40
  132. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  133. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +32 -24
  134. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  135. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
  136. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  137. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +19 -0
  138. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +91 -0
  139. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -0
  140. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +23 -0
  141. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +48 -0
  142. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -0
  143. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  144. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
  145. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +8 -0
  146. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  147. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
  148. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  149. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
  150. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  151. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +5 -0
  152. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  153. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  154. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  155. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  156. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  157. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  158. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +15 -15
  159. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  160. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +5 -1
  161. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
  162. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  163. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  164. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +1 -0
  165. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  166. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  167. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  168. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +200 -12
  169. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  170. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  171. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  172. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  173. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  174. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
  175. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  176. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
  177. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  178. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  179. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +10 -3
  180. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  181. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -1
  182. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  183. package/dist/dist-esm/chat-stateful-client/src/ChatContext.d.ts +8 -1
  184. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +82 -10
  185. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  186. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  187. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +11 -12
  188. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  189. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  190. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.d.ts +40 -0
  191. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +158 -0
  192. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -0
  193. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.d.ts +20 -0
  194. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +74 -68
  195. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  196. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +114 -128
  197. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  198. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +7 -1
  199. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  200. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  201. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  202. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  203. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  204. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  205. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  206. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +2 -0
  207. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  208. package/dist/dist-esm/communication-react/src/index.d.ts +32 -0
  209. package/dist/dist-esm/communication-react/src/index.js +14 -0
  210. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  211. package/dist/dist-esm/communication-react/src/mergedHooks.d.ts +1 -0
  212. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  213. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.d.ts +1 -0
  214. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +3 -6
  215. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  216. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  217. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  218. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +4 -10
  219. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  220. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.d.ts +1 -0
  221. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  222. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  223. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.d.ts +1 -0
  224. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  225. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  226. package/dist/dist-esm/react-components/src/components/Announcer.d.ts +1 -0
  227. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  228. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +1 -0
  229. package/dist/dist-esm/react-components/src/components/CameraButton.js +8 -19
  230. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  231. package/dist/dist-esm/react-components/src/components/Caption.d.ts +1 -0
  232. package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
  233. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
  234. package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +1 -0
  235. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +9 -8
  236. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
  237. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +8 -7
  238. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +46 -30
  239. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  240. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +2 -5
  241. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  242. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.d.ts +1 -0
  243. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +37 -22
  244. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  245. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +20 -1
  246. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +16 -5
  247. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  248. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +7 -1
  249. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +65 -32
  250. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  251. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +23 -1
  252. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +87 -19
  253. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  254. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +11 -1
  255. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +30 -24
  256. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  257. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +35 -0
  258. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +94 -21
  259. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  260. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +9 -5
  261. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
  262. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.d.ts +3 -1
  263. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +84 -24
  264. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +1 -1
  265. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +10 -0
  266. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +15 -0
  267. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -0
  268. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.d.ts +1 -0
  269. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  270. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  271. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.d.ts +1 -0
  272. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
  273. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  274. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.d.ts +1 -0
  275. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  276. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  277. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  278. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  279. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  280. package/dist/dist-esm/react-components/src/components/ControlBar.js +10 -14
  281. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  282. package/dist/dist-esm/react-components/src/components/ControlBarButton.d.ts +1 -0
  283. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  284. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  285. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.d.ts +1 -0
  286. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +3 -14
  287. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  288. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +69 -0
  289. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +37 -0
  290. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
  291. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +75 -0
  292. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +58 -0
  293. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
  294. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.d.ts +1 -0
  295. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
  296. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  297. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
  298. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +86 -0
  299. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
  300. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +86 -0
  301. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +31 -0
  302. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
  303. package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts +1 -0
  304. package/dist/dist-esm/react-components/src/components/DevicesButton.js +19 -27
  305. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  306. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.d.ts +7 -0
  307. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js +12 -48
  308. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
  309. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +1 -0
  310. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +45 -51
  311. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  312. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  313. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  314. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.d.ts +1 -0
  315. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  316. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  317. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.d.ts +1 -0
  318. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
  319. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  320. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  321. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  322. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
  323. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  324. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  325. package/dist/dist-esm/react-components/src/components/EndCallButton.d.ts +1 -0
  326. package/dist/dist-esm/react-components/src/components/EndCallButton.js +3 -7
  327. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  328. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +5 -0
  329. package/dist/dist-esm/react-components/src/components/ErrorBar.js +9 -5
  330. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  331. package/dist/dist-esm/react-components/src/components/FileCard.d.ts +1 -0
  332. package/dist/dist-esm/react-components/src/components/FileCard.js +3 -4
  333. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  334. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  335. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  336. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +31 -1
  337. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +39 -16
  338. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  339. package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts +1 -0
  340. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +8 -7
  341. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  342. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  343. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  344. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.d.ts +1 -0
  345. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  346. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  347. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
  348. package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
  349. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
  350. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +7 -9
  351. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  352. package/dist/dist-esm/react-components/src/components/ImageOverlay.d.ts +58 -0
  353. package/dist/dist-esm/react-components/src/components/ImageOverlay.js +53 -0
  354. package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -0
  355. package/dist/dist-esm/react-components/src/components/InputBoxButton.js +3 -10
  356. package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
  357. package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +2 -0
  358. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +23 -7
  359. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  360. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.d.ts +1 -0
  361. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
  362. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  363. package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +13 -0
  364. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +143 -12
  365. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  366. package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +121 -0
  367. package/dist/dist-esm/react-components/src/components/MentionPopover.js +126 -0
  368. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -0
  369. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.d.ts +19 -0
  370. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js +20 -0
  371. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js.map +1 -0
  372. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.d.ts +1 -0
  373. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +4 -77
  374. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  375. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.d.ts +42 -0
  376. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js +73 -0
  377. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js.map +1 -0
  378. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +47 -2
  379. package/dist/dist-esm/react-components/src/components/MessageThread.js +125 -46
  380. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  381. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +1 -0
  382. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +17 -14
  383. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  384. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +94 -101
  385. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  386. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +16 -0
  387. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +17 -17
  388. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  389. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +16 -0
  390. package/dist/dist-esm/react-components/src/components/ParticipantList.js +71 -32
  391. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  392. package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts +1 -0
  393. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +46 -32
  394. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  395. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.d.ts +1 -0
  396. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  397. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  398. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  399. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  400. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.d.ts +24 -0
  401. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js +13 -0
  402. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js.map +1 -0
  403. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.d.ts +12 -0
  404. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js +86 -0
  405. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js.map +1 -0
  406. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.d.ts +88 -0
  407. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js +121 -0
  408. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +1 -0
  409. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.d.ts +16 -0
  410. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js +62 -0
  411. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js.map +1 -0
  412. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.d.ts +28 -0
  413. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js +81 -0
  414. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js.map +1 -0
  415. package/dist/dist-esm/react-components/src/components/RaiseHandButton.d.ts +1 -0
  416. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +6 -12
  417. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
  418. package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +54 -0
  419. package/dist/dist-esm/react-components/src/components/ReactionButton.js +89 -0
  420. package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -0
  421. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +8 -1
  422. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +58 -15
  423. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  424. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  425. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  426. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +2 -2
  427. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  428. package/dist/dist-esm/react-components/src/components/ScreenShareButton.d.ts +1 -0
  429. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
  430. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  431. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +42 -0
  432. package/dist/dist-esm/react-components/src/components/SendBox.js +71 -12
  433. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  434. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts +1 -0
  435. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +2 -2
  436. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  437. package/dist/dist-esm/react-components/src/components/SendBoxErrors.d.ts +14 -0
  438. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js +18 -0
  439. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -0
  440. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +1 -0
  441. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +2 -4
  442. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
  443. package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts +1 -0
  444. package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
  445. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  446. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.d.ts +64 -0
  447. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +55 -0
  448. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -0
  449. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +18 -0
  450. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +57 -0
  451. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -0
  452. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.d.ts +141 -0
  453. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js +4 -0
  454. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +1 -0
  455. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +61 -0
  456. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +132 -0
  457. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -0
  458. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +22 -0
  459. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +55 -0
  460. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -0
  461. package/dist/dist-esm/react-components/src/components/SystemMessage.d.ts +1 -0
  462. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  463. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  464. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +24 -0
  465. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +595 -0
  466. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -0
  467. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +152 -0
  468. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +822 -0
  469. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -0
  470. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.d.ts +1 -0
  471. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  472. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  473. package/dist/dist-esm/react-components/src/components/TypingIndicator.d.ts +1 -0
  474. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
  475. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  476. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.d.ts +1 -0
  477. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +3 -1
  478. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  479. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.d.ts +1 -0
  480. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +3 -1
  481. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  482. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.d.ts +1 -0
  483. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +20 -0
  484. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  485. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.d.ts +1 -0
  486. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +3 -1
  487. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  488. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +19 -34
  489. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  490. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.d.ts +1 -0
  491. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +3 -1
  492. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  493. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.d.ts +1 -0
  494. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +8 -12
  495. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  496. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.d.ts +1 -0
  497. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +6 -12
  498. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  499. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -2
  500. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  501. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.d.ts +1 -0
  502. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +48 -20
  503. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  504. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.d.ts +1 -0
  505. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +14 -10
  506. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  507. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +1 -0
  508. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +68 -27
  509. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  510. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.d.ts +1 -0
  511. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
  512. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
  513. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +17 -0
  514. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +132 -0
  515. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -0
  516. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +5 -0
  517. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  518. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  519. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  520. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +1 -0
  521. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +19 -6
  522. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  523. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
  524. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  525. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +1 -0
  526. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +2 -4
  527. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  528. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.d.ts +1 -0
  529. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +59 -20
  530. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
  531. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
  532. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  533. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +9 -34
  534. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  535. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
  536. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  537. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  538. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  539. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  540. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  541. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +1 -3
  542. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  543. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
  544. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  545. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
  546. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  547. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
  548. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  549. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +13 -2
  550. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +82 -44
  551. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  552. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  553. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +5 -0
  554. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +84 -30
  555. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  556. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +44 -1
  557. package/dist/dist-esm/react-components/src/components/VideoGallery.js +179 -30
  558. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  559. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +23 -0
  560. package/dist/dist-esm/react-components/src/components/VideoTile.js +96 -57
  561. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  562. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.d.ts +1 -0
  563. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +2 -2
  564. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  565. package/dist/dist-esm/react-components/src/components/index.d.ts +28 -0
  566. package/dist/dist-esm/react-components/src/components/index.js +22 -0
  567. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  568. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +58 -0
  569. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +144 -0
  570. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -0
  571. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
  572. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
  573. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +2 -6
  574. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  575. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  576. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  577. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  578. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  579. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  580. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  581. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  582. package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.d.ts +72 -0
  583. package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js +193 -0
  584. package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js.map +1 -0
  585. package/dist/dist-esm/react-components/src/components/styles/InputBoxButton.style.js.map +1 -1
  586. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +2 -5
  587. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  588. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +26 -0
  589. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +69 -0
  590. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -0
  591. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  592. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +2 -2
  593. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +4 -10
  594. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  595. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +1 -2
  596. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  597. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  598. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.d.ts +24 -0
  599. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +76 -0
  600. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -0
  601. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +18 -0
  602. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +128 -0
  603. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -0
  604. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +1 -0
  605. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +5 -12
  606. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  607. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +38 -0
  608. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +92 -0
  609. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
  610. package/dist/dist-esm/react-components/src/components/styles/Stack.style.d.ts +5 -0
  611. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js +32 -0
  612. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +1 -0
  613. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +3 -6
  614. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  615. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  616. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +1 -2
  617. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  618. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  619. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
  620. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +67 -0
  621. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
  622. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +1 -2
  623. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  624. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +5 -19
  625. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  626. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +11 -0
  627. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +37 -0
  628. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  629. package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
  630. package/dist/dist-esm/react-components/src/components/utils/Datetime.js +1 -4
  631. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  632. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +9 -0
  633. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +15 -0
  634. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  635. package/dist/dist-esm/react-components/src/components/utils/common.js +4 -0
  636. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  637. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  638. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  639. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +2 -1
  640. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +4 -7
  641. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  642. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  643. package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
  644. package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
  645. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
  646. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  647. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  648. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  649. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
  650. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  651. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.d.ts +2 -2
  652. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
  653. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  654. package/dist/dist-esm/react-components/src/components/utils.d.ts +8 -1
  655. package/dist/dist-esm/react-components/src/components/utils.js +21 -10
  656. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  657. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +8 -6
  658. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  659. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  660. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +4 -0
  661. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +5 -1
  662. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  663. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  664. package/dist/dist-esm/react-components/src/index.d.ts +7 -1
  665. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  666. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +69 -0
  667. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  668. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  669. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js +1 -3
  670. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
  671. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js +1 -3
  672. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
  673. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js +1 -3
  674. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
  675. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js +1 -3
  676. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
  677. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +21 -4
  678. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js +1 -3
  679. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
  680. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js +1 -3
  681. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
  682. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js +1 -3
  683. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
  684. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js +1 -3
  685. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
  686. package/dist/dist-esm/react-components/src/localization/locales/index.js +1 -3
  687. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  688. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js +1 -3
  689. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
  690. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js +1 -3
  691. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
  692. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +2 -2
  693. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js +1 -3
  694. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
  695. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js +1 -3
  696. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
  697. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js +1 -3
  698. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
  699. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js +1 -3
  700. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
  701. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js +1 -3
  702. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
  703. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js +1 -3
  704. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
  705. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js +1 -3
  706. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
  707. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js +1 -3
  708. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
  709. package/dist/dist-esm/react-components/src/localization/locales/utils.js +5 -1
  710. package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
  711. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js +1 -3
  712. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
  713. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js +1 -3
  714. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
  715. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.d.ts +2 -0
  716. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +5 -6
  717. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  718. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
  719. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  720. package/dist/dist-esm/react-components/src/theming/generateTheme.js +15 -1
  721. package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
  722. package/dist/dist-esm/react-components/src/theming/icons.d.ts +28 -0
  723. package/dist/dist-esm/react-components/src/theming/icons.js +149 -11
  724. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  725. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
  726. package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
  727. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
  728. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  729. package/dist/dist-esm/react-components/src/theming/themeDuplicates.js.map +1 -1
  730. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  731. package/dist/dist-esm/react-components/src/theming/themes.d.ts +6 -0
  732. package/dist/dist-esm/react-components/src/theming/themes.js +10 -0
  733. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  734. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -7
  735. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
  736. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.d.ts +4 -4
  737. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -1
  738. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +21 -0
  739. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  740. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +34 -1
  741. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  742. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  743. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  744. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  745. package/dist/dist-esm/react-components/src/types/OnRender.d.ts +9 -0
  746. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  747. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +34 -0
  748. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  749. package/dist/dist-esm/react-components/src/types/ReactionTypes.d.ts +44 -1
  750. package/dist/dist-esm/react-components/src/types/ReactionTypes.js +2 -1
  751. package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
  752. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  753. package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -1
  754. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
  755. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +22 -0
  756. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +2 -0
  757. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  758. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  759. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -1
  760. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +158 -0
  761. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +75 -32
  762. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  763. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +206 -0
  764. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  765. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +95 -8
  766. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +350 -62
  767. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  768. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +141 -2
  769. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +7 -1
  770. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  771. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  772. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +11 -4
  773. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
  774. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  775. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -3
  776. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  777. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  778. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +3 -2
  779. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +16 -4
  780. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  781. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +6 -0
  782. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +2 -0
  783. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  784. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +5 -0
  785. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +120 -37
  786. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  787. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +2 -0
  788. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +84 -51
  789. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  790. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +48 -0
  791. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +210 -0
  792. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -0
  793. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.d.ts +1 -0
  794. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +10 -18
  795. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
  796. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +3 -0
  797. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +21 -0
  798. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  799. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.d.ts +1 -0
  800. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +20 -2
  801. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  802. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +3 -0
  803. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +21 -0
  804. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  805. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.d.ts +1 -0
  806. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  807. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  808. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +12 -0
  809. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +93 -0
  810. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -0
  811. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.d.ts +1 -0
  812. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +4 -4
  813. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  814. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.d.ts +1 -0
  815. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +35 -24
  816. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  817. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +2 -0
  818. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +63 -26
  819. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  820. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.d.ts +1 -0
  821. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +26 -30
  822. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  823. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +5 -0
  824. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +86 -39
  825. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  826. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.d.ts +1 -0
  827. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  828. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  829. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.d.ts +1 -0
  830. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
  831. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  832. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.d.ts +73 -0
  833. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js +41 -0
  834. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js.map +1 -0
  835. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.d.ts +1 -0
  836. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +29 -11
  837. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  838. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  839. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +6 -0
  840. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +97 -8
  841. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  842. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +13 -8
  843. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
  844. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts +1 -0
  845. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  846. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  847. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.d.ts +1 -0
  848. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +3 -5
  849. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
  850. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +9 -3
  851. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  852. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.d.ts +1 -0
  853. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +19 -11
  854. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  855. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -0
  856. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +5 -2
  857. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  858. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.d.ts +1 -0
  859. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +14 -7
  860. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  861. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts +1 -0
  862. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  863. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  864. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +8 -0
  865. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +26 -0
  866. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -0
  867. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.d.ts +1 -0
  868. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -1
  869. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
  870. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.d.ts +16 -0
  871. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +26 -0
  872. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js.map +1 -0
  873. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.d.ts +1 -0
  874. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +3 -1
  875. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  876. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +12 -8
  877. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  878. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts +2 -1
  879. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +172 -110
  880. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  881. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.d.ts +3 -1
  882. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  883. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  884. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  885. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +6 -0
  886. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +2 -0
  887. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  888. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +1 -0
  889. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +58 -18
  890. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  891. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +16 -0
  892. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +142 -20
  893. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  894. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.d.ts +1 -0
  895. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +5 -13
  896. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -1
  897. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +24 -0
  898. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +34 -0
  899. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -0
  900. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.d.ts +1 -0
  901. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +15 -7
  902. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  903. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +1 -0
  904. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +3 -3
  905. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  906. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.d.ts +56 -0
  907. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js +29 -0
  908. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js.map +1 -0
  909. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.d.ts +14 -0
  910. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js +27 -0
  911. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js.map +1 -0
  912. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +1 -0
  913. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +23 -23
  914. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
  915. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +15 -0
  916. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +54 -0
  917. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -0
  918. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  919. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  920. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  921. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +2 -1
  922. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
  923. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +5 -0
  924. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +5 -0
  925. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  926. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  927. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  928. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
  929. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +1 -4
  930. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
  931. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +14 -0
  932. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +13 -0
  933. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +1 -0
  934. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  935. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  936. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -1
  937. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
  938. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  939. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  940. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  941. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
  942. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +11 -5
  943. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  944. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +4 -4
  945. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  946. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  947. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +10 -10
  948. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +7 -1
  949. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  950. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  951. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  952. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  953. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  954. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  955. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  956. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  957. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  958. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  959. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  960. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  961. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  962. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +5 -5
  963. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  964. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  965. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  966. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
  967. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  968. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +11 -11
  969. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  970. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  971. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  972. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js.map +1 -1
  973. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
  974. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  975. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +32 -0
  976. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +81 -0
  977. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -0
  978. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +2 -9
  979. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  980. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  981. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +1 -2
  982. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  983. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  984. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  985. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +1 -2
  986. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  987. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +6 -24
  988. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -1
  989. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +2 -2
  990. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  991. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
  992. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  993. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +11 -13
  994. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  995. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +10 -10
  996. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
  997. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +2 -2
  998. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  999. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +14 -2
  1000. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +124 -21
  1001. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  1002. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  1003. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts +16 -0
  1004. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +139 -0
  1005. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -0
  1006. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js +2 -2
  1007. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js.map +1 -1
  1008. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/useConsoleErrors.js.map +1 -1
  1009. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +147 -1
  1010. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +119 -24
  1011. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  1012. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.d.ts +1 -0
  1013. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  1014. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  1015. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.d.ts +1 -0
  1016. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
  1017. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  1018. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.d.ts +1 -0
  1019. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +6 -9
  1020. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  1021. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +2 -2
  1022. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
  1023. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +32 -0
  1024. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  1025. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +36 -4
  1026. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +166 -5
  1027. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  1028. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +83 -2
  1029. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  1030. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +15 -1
  1031. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +56 -2
  1032. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  1033. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +12 -0
  1034. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +41 -1
  1035. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  1036. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
  1037. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  1038. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  1039. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  1040. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  1041. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  1042. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +30 -0
  1043. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +15 -2
  1044. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  1045. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  1046. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +21 -0
  1047. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +4 -2
  1048. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  1049. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.d.ts +1 -0
  1050. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  1051. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  1052. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +1 -0
  1053. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +163 -11
  1054. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  1055. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +18 -0
  1056. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +18 -0
  1057. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -0
  1058. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +15 -0
  1059. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +21 -0
  1060. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -0
  1061. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
  1062. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  1063. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +16 -1
  1064. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +110 -31
  1065. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  1066. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +28 -0
  1067. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +154 -1
  1068. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  1069. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +31 -2
  1070. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  1071. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +2 -0
  1072. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  1073. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  1074. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.d.ts +1 -0
  1075. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +18 -6
  1076. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  1077. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  1078. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  1079. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +1 -3
  1080. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  1081. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +7 -2
  1082. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  1083. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.d.ts +1 -0
  1084. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  1085. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +6 -0
  1086. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +11 -0
  1087. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -0
  1088. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +4 -0
  1089. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  1090. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +12 -0
  1091. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +15 -0
  1092. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -0
  1093. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +27 -0
  1094. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +12 -0
  1095. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -0
  1096. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  1097. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  1098. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +6 -1
  1099. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -10
  1100. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  1101. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +22 -0
  1102. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +105 -0
  1103. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
  1104. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
  1105. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
  1106. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
  1107. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +6 -0
  1108. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +12 -5
  1109. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  1110. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
  1111. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  1112. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +22 -0
  1113. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +60 -0
  1114. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -0
  1115. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +15 -0
  1116. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +61 -0
  1117. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -0
  1118. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +1 -0
  1119. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +6 -8
  1120. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
  1121. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.d.ts +1 -0
  1122. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +12 -16
  1123. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
  1124. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.d.ts +1 -0
  1125. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +1 -1
  1126. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
  1127. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
  1128. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  1129. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +2 -0
  1130. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +96 -36
  1131. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  1132. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +35 -33
  1133. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  1134. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +1 -0
  1135. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +125 -59
  1136. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  1137. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.d.ts +1 -0
  1138. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js +1 -1
  1139. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js.map +1 -1
  1140. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.d.ts +1 -0
  1141. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  1142. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  1143. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  1144. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.d.ts +1 -0
  1145. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js +5 -7
  1146. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -1
  1147. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +1 -0
  1148. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +95 -105
  1149. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  1150. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -1
  1151. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +2 -0
  1152. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  1153. package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -1
  1154. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.d.ts +14 -0
  1155. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js +16 -0
  1156. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js.map +1 -0
  1157. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.d.ts +1 -0
  1158. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  1159. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  1160. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.d.ts +1 -0
  1161. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +22 -14
  1162. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  1163. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.d.ts +1 -0
  1164. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  1165. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  1166. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts +1 -0
  1167. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +14 -12
  1168. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  1169. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +1 -0
  1170. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +28 -5
  1171. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  1172. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +1 -0
  1173. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +7 -15
  1174. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  1175. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.d.ts +6 -0
  1176. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js +29 -0
  1177. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -0
  1178. package/dist/dist-esm/react-composites/src/composites/common/Survey.d.ts +20 -0
  1179. package/dist/dist-esm/react-composites/src/composites/common/Survey.js +129 -0
  1180. package/dist/dist-esm/react-composites/src/composites/common/Survey.js.map +1 -0
  1181. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.d.ts +13 -0
  1182. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js +44 -0
  1183. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js.map +1 -0
  1184. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +1 -0
  1185. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +10 -8
  1186. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  1187. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +8 -0
  1188. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +23 -0
  1189. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -0
  1190. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +1 -0
  1191. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +16 -13
  1192. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  1193. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  1194. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  1195. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +44 -1
  1196. package/dist/dist-esm/react-composites/src/composites/common/icons.js +19 -3
  1197. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  1198. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
  1199. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
  1200. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  1201. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  1202. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +4 -10
  1203. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  1204. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +12 -51
  1205. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  1206. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +6 -29
  1207. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  1208. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
  1209. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  1210. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.d.ts +10 -0
  1211. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js +36 -0
  1212. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js.map +1 -0
  1213. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +26 -4
  1214. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  1215. package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
  1216. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  1217. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  1218. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  1219. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  1220. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  1221. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/CompositeLocale.js.map +1 -1
  1222. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
  1223. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
  1224. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
  1225. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +4 -2
  1226. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
  1227. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
  1228. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
  1229. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
  1230. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  1231. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
  1232. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
  1233. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +1 -1
  1234. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
  1235. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
  1236. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
  1237. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
  1238. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
  1239. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
  1240. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
  1241. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
  1242. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
  1243. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
  1244. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
  1245. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  1246. package/dist/tsdoc-metadata.json +1 -1
  1247. package/package.json +9 -9
@@ -22,11 +22,9 @@ export const SvgWithWordWrapping = (props) => {
22
22
  setHeight(numLines * lineHeightPx);
23
23
  }
24
24
  }, [width, lineHeightPx, text]);
25
- return React.createElement("svg", { width: width, height: height + bufferHeightPx, ref: svgRef, xmlns: "http://www.w3.org/2000/svg" },
26
- React.createElement("text", { height: 0, ref: calculationTextElement, style: {
27
- visibility: 'hidden'
28
- } }, text),
29
- React.createElement("text", { ref: visibleTextElement, x: "0", y: bufferHeightPx / 4, role: "heading", "aria-level": 1 }));
25
+ return (React.createElement("svg", { width: width, height: height + bufferHeightPx, ref: svgRef, xmlns: "http://www.w3.org/2000/svg" },
26
+ React.createElement("text", { height: 0, ref: calculationTextElement, style: { visibility: 'hidden' } }, text),
27
+ React.createElement("text", { ref: visibleTextElement, x: "0", y: bufferHeightPx / 4, role: "heading", "aria-level": 1 })));
30
28
  };
31
29
  /**
32
30
  * Wrap text in tspan elements to fit the width of the SVG
@@ -1 +1 @@
1
- {"version":3,"file":"SvgWithWordWrapping.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { _pxToRem } from '@internal/acs-ui-common';\nimport React, { useLayoutEffect, useRef, useState } from 'react';\n\n/**\n * An SVG element component that wraps inner text to fit the width of the SVG.\n * @private\n */\nexport const SvgWithWordWrapping = (props: {\n width: number;\n text: string;\n lineHeightPx: number;\n bufferHeightPx: number;\n}): JSX.Element => {\n const {\n width,\n text,\n lineHeightPx,\n bufferHeightPx\n } = props;\n const svgRef = useRef<SVGSVGElement>(null);\n const calculationTextElement = useRef<SVGTextElement>(null);\n const visibleTextElement = useRef<SVGTextElement>(null);\n const [height, setHeight] = useState<number>(0);\n\n // useLayoutEffect ensures that the calculationTextElement is rendered before being used for calculations.\n // Using useLayoutEffect over useEffect ensures we do not get a layout shift when the visibleTextElement is rendered\n // and the height is updated. This is because useLayoutEffect runs synchronously after DOM mutations but\n // before the browser has a chance to paint. See https://reactjs.org/docs/hooks-reference.html#uselayouteffect\n // for more details.\n useLayoutEffect(() => {\n if (text && calculationTextElement.current && visibleTextElement.current) {\n const numLines = convertTextToWrappedText(calculationTextElement.current, visibleTextElement.current, width, lineHeightPx);\n setHeight(numLines * lineHeightPx);\n }\n }, [width, lineHeightPx, text]);\n return <svg width={width} height={height + bufferHeightPx} ref={svgRef} xmlns=\"http://www.w3.org/2000/svg\">\n <text height={0} ref={calculationTextElement} style={{\n visibility: 'hidden'\n }}>\n {text}\n </text>\n <text ref={visibleTextElement} x=\"0\" y={bufferHeightPx / 4} role=\"heading\" aria-level={1} />\n </svg>;\n};\n\n/**\n * Wrap text in tspan elements to fit the width of the SVG\n * @param baseTextElement The text element to create the wrapped text from.\n * @param outputTextElement The text element to insert the wrapped text into.\n * @param maxWidth The maximum width of the text element.\n * @param lineHeightPx The height of each line in pixels.\n * @returns The number of lines of text.\n */\nconst convertTextToWrappedText = (inputTextElement: SVGTextElement, outputTextElement: SVGTextElement, maxWidth: number, lineHeightPx: number): number => {\n const words = inputTextElement.textContent?.split(' ') ?? [];\n if (words.length === 0 || words[0] === '') {\n throw new Error('Text element must contain text');\n }\n\n // The current line being built.\n let line = '';\n\n // Running total of the number of lines.\n let numLines = 0;\n\n // First, clear the output text element.\n outputTextElement.textContent = '';\n\n // Iterate through each word and create a tspan element for each line.\n for (let i = 0; i < words.length; i++) {\n const testLine = line + words[i] + ' ';\n const testWidth = inputTextElement.getSubStringLength(0, testLine.length);\n if (testWidth > maxWidth && i > 0) {\n const newLine = constructTSpanLine(line, lineHeightPx);\n outputTextElement.appendChild(newLine);\n line = words[i] + ' ';\n numLines++;\n } else {\n line = testLine;\n }\n }\n\n // Add the last line.\n const newLine = constructTSpanLine(line, lineHeightPx);\n outputTextElement.appendChild(newLine);\n numLines++;\n\n // Return the number of lines to calculate the height of the SVG.\n return numLines;\n};\n\n/**\n * Create a tspan element for a line of text, with text set to be centered.\n * @param line The line of text.\n * @param lineHeightPx The height of each line in pixels.\n * @returns The tspan element.\n */\nconst constructTSpanLine = (line: string, lineHeightPx: number): SVGTSpanElement => {\n const tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.textContent = line;\n tspan.setAttribute('x', '50%');\n tspan.setAttribute('dy', `${lineHeightPx}px`);\n tspan.setAttribute('text-anchor', 'middle');\n return tspan;\n};"]}
1
+ {"version":3,"file":"SvgWithWordWrapping.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { _pxToRem } from '@internal/acs-ui-common';\nimport React, { useLayoutEffect, useRef, useState } from 'react';\n\n/**\n * An SVG element component that wraps inner text to fit the width of the SVG.\n * @private\n */\nexport const SvgWithWordWrapping = (props: {\n width: number;\n text: string;\n lineHeightPx: number;\n bufferHeightPx: number;\n}): JSX.Element => {\n const { width, text, lineHeightPx, bufferHeightPx } = props;\n const svgRef = useRef<SVGSVGElement>(null);\n const calculationTextElement = useRef<SVGTextElement>(null);\n const visibleTextElement = useRef<SVGTextElement>(null);\n const [height, setHeight] = useState<number>(0);\n\n // useLayoutEffect ensures that the calculationTextElement is rendered before being used for calculations.\n // Using useLayoutEffect over useEffect ensures we do not get a layout shift when the visibleTextElement is rendered\n // and the height is updated. This is because useLayoutEffect runs synchronously after DOM mutations but\n // before the browser has a chance to paint. See https://reactjs.org/docs/hooks-reference.html#uselayouteffect\n // for more details.\n useLayoutEffect(() => {\n if (text && calculationTextElement.current && visibleTextElement.current) {\n const numLines = convertTextToWrappedText(\n calculationTextElement.current,\n visibleTextElement.current,\n width,\n lineHeightPx\n );\n setHeight(numLines * lineHeightPx);\n }\n }, [width, lineHeightPx, text]);\n\n return (\n <svg width={width} height={height + bufferHeightPx} ref={svgRef} xmlns=\"http://www.w3.org/2000/svg\">\n <text height={0} ref={calculationTextElement} style={{ visibility: 'hidden' }}>\n {text}\n </text>\n <text ref={visibleTextElement} x=\"0\" y={bufferHeightPx / 4} role=\"heading\" aria-level={1} />\n </svg>\n );\n};\n\n/**\n * Wrap text in tspan elements to fit the width of the SVG\n * @param baseTextElement The text element to create the wrapped text from.\n * @param outputTextElement The text element to insert the wrapped text into.\n * @param maxWidth The maximum width of the text element.\n * @param lineHeightPx The height of each line in pixels.\n * @returns The number of lines of text.\n */\nconst convertTextToWrappedText = (\n inputTextElement: SVGTextElement,\n outputTextElement: SVGTextElement,\n maxWidth: number,\n lineHeightPx: number\n): number => {\n const words = inputTextElement.textContent?.split(' ') ?? [];\n if (words.length === 0 || words[0] === '') {\n throw new Error('Text element must contain text');\n }\n\n // The current line being built.\n let line = '';\n\n // Running total of the number of lines.\n let numLines = 0;\n\n // First, clear the output text element.\n outputTextElement.textContent = '';\n\n // Iterate through each word and create a tspan element for each line.\n for (let i = 0; i < words.length; i++) {\n const testLine = line + words[i] + ' ';\n const testWidth = inputTextElement.getSubStringLength(0, testLine.length);\n\n if (testWidth > maxWidth && i > 0) {\n const newLine = constructTSpanLine(line, lineHeightPx);\n outputTextElement.appendChild(newLine);\n line = words[i] + ' ';\n numLines++;\n } else {\n line = testLine;\n }\n }\n\n // Add the last line.\n const newLine = constructTSpanLine(line, lineHeightPx);\n outputTextElement.appendChild(newLine);\n numLines++;\n\n // Return the number of lines to calculate the height of the SVG.\n return numLines;\n};\n\n/**\n * Create a tspan element for a line of text, with text set to be centered.\n * @param line The line of text.\n * @param lineHeightPx The height of each line in pixels.\n * @returns The tspan element.\n */\nconst constructTSpanLine = (line: string, lineHeightPx: number): SVGTSpanElement => {\n const tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.textContent = line;\n tspan.setAttribute('x', '50%');\n tspan.setAttribute('dy', `${lineHeightPx}px`);\n tspan.setAttribute('text-anchor', 'middle');\n return tspan;\n};\n"]}
@@ -21,8 +21,14 @@ export const Camera = (props) => {
21
21
  const isRoomsCall = adapter.getState().isRoomsCall;
22
22
  /* @conditional-compile-remove(capabilities) */
23
23
  const turnVideoOnCapability = (_b = (_a = adapter.getState().call) === null || _a === void 0 ? void 0 : _a.capabilitiesFeature) === null || _b === void 0 ? void 0 : _b.capabilities.turnVideoOn;
24
- return React.createElement(CameraButton, Object.assign({ "data-ui-id": "call-composite-camera-button" }, cameraButtonProps, { showLabel: props.displayType !== 'compact', styles: styles, enableDeviceSelectionMenu: props.splitButtonsForDeviceSelection, disableTooltip: props.disableTooltip, disabled: cameraButtonProps.disabled || props.disabled || ( /* @conditional-compile-remove(rooms) */isRoomsCall && ((_c = adapter.getState().call) === null || _c === void 0 ? void 0 : _c.role) === 'Unknown'),
25
- /* @conditional-compile-remove(capabilities) */ onRenderOffIcon: turnVideoOnCapability && !turnVideoOnCapability.isPresent ? () => React.createElement(_HighContrastAwareIcon, { disabled: true, iconName: 'ControlButtonCameraProhibited' }) : undefined,
26
- /* @conditional-compile-remove(video-background-effects) */ onClickVideoEffects: props.onClickVideoEffects, componentRef: props.componentRef }));
24
+ return (React.createElement(CameraButton, Object.assign({ "data-ui-id": "call-composite-camera-button" }, cameraButtonProps, { showLabel: props.displayType !== 'compact', styles: styles, enableDeviceSelectionMenu: props.splitButtonsForDeviceSelection, disableTooltip: props.disableTooltip, disabled: cameraButtonProps.disabled ||
25
+ props.disabled ||
26
+ /* @conditional-compile-remove(rooms) */ (isRoomsCall && ((_c = adapter.getState().call) === null || _c === void 0 ? void 0 : _c.role) === 'Unknown'),
27
+ /* @conditional-compile-remove(capabilities) */
28
+ onRenderOffIcon: turnVideoOnCapability && !turnVideoOnCapability.isPresent
29
+ ? () => React.createElement(_HighContrastAwareIcon, { disabled: true, iconName: 'ControlButtonCameraProhibited' })
30
+ : undefined,
31
+ /* @conditional-compile-remove(video-background-effects) */
32
+ onClickVideoEffects: props.onClickVideoEffects, componentRef: props.componentRef })));
27
33
  };
28
34
  //# sourceMappingURL=Camera.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Camera.js","sourceRoot":"","sources":["../../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/buttons/Camera.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,YAAY,EAA0B,+CAAmC;AAClF,+CAA+C;AAC/C,OAAO,EAAE,sBAAsB,EAAE,+CAAmC;AACpE,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,wCAAwC,CAAC,+CAA+C;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAG/D;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,KAStB,EAAe,EAAE;;IAChB,MAAM,iBAAiB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;IACpD,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,WAAC,OAAA,sBAAsB,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAA,EAAA,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACzF,wCAAwC,CAAC,+CAA+C;IACxF,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,wCAAwC;IACxC,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC;IAEnD,+CAA+C;IAC/C,MAAM,qBAAqB,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,0CAAE,mBAAmB,0CAAE,YAAY,CAAC,WAAW,CAAC;IACrG,OAAO,oBAAC,YAAY,gCAAY,8BAA8B,IAAK,iBAAiB,IAAE,SAAS,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,yBAAyB,EAAE,KAAK,CAAC,8BAA8B,EAAE,cAAc,EAAE,KAAK,CAAC,cAAc,EAAE,QAAQ,EAAE,iBAAiB,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,IAAI,EAAE,wCAAwC,WAAW,IAAI,CAAA,MAAA,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,0CAAE,IAAI,MAAK,SAAS,CAAC;QACxZ,+CAA+C,CAAC,eAAe,EAAE,qBAAqB,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,oBAAC,sBAAsB,IAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,+BAA+B,GAAI,CAAC,CAAC,CAAC,SAAS;QACpO,2DAA2D,CAAC,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,EAAE,YAAY,EAAE,KAAK,CAAC,YAAY,IAAI,CAAC;AACnJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { CameraButton, ControlBarButtonStyles } from '@internal/react-components';\n/* @conditional-compile-remove(capabilities) */\nimport { _HighContrastAwareIcon } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { concatButtonBaseStyles } from '../../styles/Buttons.styles';\n/* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */\nimport { useAdapter } from '../../adapter/CallAdapterProvider';\nimport { IButton } from '@fluentui/react';\n\n/**\n * @private\n */\nexport const Camera = (props: {\n displayType?: CallControlDisplayType;\n styles?: ControlBarButtonStyles;\n splitButtonsForDeviceSelection?: boolean;\n disabled?: boolean;\n /* @conditional-compile-remove(video-background-effects) */\n onClickVideoEffects?: (showVideoEffects: boolean) => void;\n componentRef?: React.RefObject<IButton>;\n disableTooltip?: boolean;\n}): JSX.Element => {\n const cameraButtonProps = usePropsFor(CameraButton);\n const styles = useMemo(() => concatButtonBaseStyles(props.styles ?? {}), [props.styles]);\n /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(rooms) */\n const isRoomsCall = adapter.getState().isRoomsCall;\n\n /* @conditional-compile-remove(capabilities) */\n const turnVideoOnCapability = adapter.getState().call?.capabilitiesFeature?.capabilities.turnVideoOn;\n return <CameraButton data-ui-id=\"call-composite-camera-button\" {...cameraButtonProps} showLabel={props.displayType !== 'compact'} styles={styles} enableDeviceSelectionMenu={props.splitButtonsForDeviceSelection} disableTooltip={props.disableTooltip} disabled={cameraButtonProps.disabled || props.disabled || ( /* @conditional-compile-remove(rooms) */isRoomsCall && adapter.getState().call?.role === 'Unknown')}\n /* @conditional-compile-remove(capabilities) */ onRenderOffIcon={turnVideoOnCapability && !turnVideoOnCapability.isPresent ? () => <_HighContrastAwareIcon disabled={true} iconName={'ControlButtonCameraProhibited'} /> : undefined}\n /* @conditional-compile-remove(video-background-effects) */ onClickVideoEffects={props.onClickVideoEffects} componentRef={props.componentRef} />;\n};"]}
1
+ {"version":3,"file":"Camera.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/buttons/Camera.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,YAAY,EAA0B,+CAAmC;AAClF,+CAA+C;AAC/C,OAAO,EAAE,sBAAsB,EAAE,+CAAmC;AACpE,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,wCAAwC,CAAC,+CAA+C;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAG/D;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,KAStB,EAAe,EAAE;;IAChB,MAAM,iBAAiB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;IACpD,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,WAAC,OAAA,sBAAsB,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAA,EAAA,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACzF,wCAAwC,CAAC,+CAA+C;IACxF,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,wCAAwC;IACxC,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC;IAEnD,+CAA+C;IAC/C,MAAM,qBAAqB,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,0CAAE,mBAAmB,0CAAE,YAAY,CAAC,WAAW,CAAC;IAErG,OAAO,CACL,oBAAC,YAAY,gCACA,8BAA8B,IACrC,iBAAiB,IACrB,SAAS,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,EAC1C,MAAM,EAAE,MAAM,EACd,yBAAyB,EAAE,KAAK,CAAC,8BAA8B,EAC/D,cAAc,EAAE,KAAK,CAAC,cAAc,EACpC,QAAQ,EACN,iBAAiB,CAAC,QAAQ;YAC1B,KAAK,CAAC,QAAQ;YACd,wCAAwC,CAAC,CAAC,WAAW,IAAI,CAAA,MAAA,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,0CAAE,IAAI,MAAK,SAAS,CAAC;QAEvG,+CAA+C;QAC/C,eAAe,EACb,qBAAqB,IAAI,CAAC,qBAAqB,CAAC,SAAS;YACvD,CAAC,CAAC,GAAG,EAAE,CAAC,oBAAC,sBAAsB,IAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,+BAA+B,GAAI;YAC7F,CAAC,CAAC,SAAS;QAEf,2DAA2D;QAC3D,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,EAC9C,YAAY,EAAE,KAAK,CAAC,YAAY,IAChC,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { CameraButton, ControlBarButtonStyles } from '@internal/react-components';\n/* @conditional-compile-remove(capabilities) */\nimport { _HighContrastAwareIcon } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { concatButtonBaseStyles } from '../../styles/Buttons.styles';\n/* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */\nimport { useAdapter } from '../../adapter/CallAdapterProvider';\nimport { IButton } from '@fluentui/react';\n\n/**\n * @private\n */\nexport const Camera = (props: {\n displayType?: CallControlDisplayType;\n styles?: ControlBarButtonStyles;\n splitButtonsForDeviceSelection?: boolean;\n disabled?: boolean;\n /* @conditional-compile-remove(video-background-effects) */\n onClickVideoEffects?: (showVideoEffects: boolean) => void;\n componentRef?: React.RefObject<IButton>;\n disableTooltip?: boolean;\n}): JSX.Element => {\n const cameraButtonProps = usePropsFor(CameraButton);\n const styles = useMemo(() => concatButtonBaseStyles(props.styles ?? {}), [props.styles]);\n /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(rooms) */\n const isRoomsCall = adapter.getState().isRoomsCall;\n\n /* @conditional-compile-remove(capabilities) */\n const turnVideoOnCapability = adapter.getState().call?.capabilitiesFeature?.capabilities.turnVideoOn;\n\n return (\n <CameraButton\n data-ui-id=\"call-composite-camera-button\"\n {...cameraButtonProps}\n showLabel={props.displayType !== 'compact'}\n styles={styles}\n enableDeviceSelectionMenu={props.splitButtonsForDeviceSelection}\n disableTooltip={props.disableTooltip}\n disabled={\n cameraButtonProps.disabled ||\n props.disabled ||\n /* @conditional-compile-remove(rooms) */ (isRoomsCall && adapter.getState().call?.role === 'Unknown')\n }\n /* @conditional-compile-remove(capabilities) */\n onRenderOffIcon={\n turnVideoOnCapability && !turnVideoOnCapability.isPresent\n ? () => <_HighContrastAwareIcon disabled={true} iconName={'ControlButtonCameraProhibited'} />\n : undefined\n }\n /* @conditional-compile-remove(video-background-effects) */\n onClickVideoEffects={props.onClickVideoEffects}\n componentRef={props.componentRef}\n />\n );\n};\n"]}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ControlBarButtonStyles } from "../../../../../../react-components/src";
2
3
  import { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';
3
4
  /** @private */
@@ -21,9 +21,15 @@ export const Devices = (props) => {
21
21
  /* @conditional-compile-remove(rooms) */
22
22
  microphones: role === 'Consumer' ? [] : devicesButtonProps.microphones,
23
23
  /* @conditional-compile-remove(rooms) */
24
- cameras: role === 'Consumer' ? [] : devicesButtonProps.cameras })), [devicesButtonProps, /* @conditional-compile-remove(rooms) */
25
- role]);
26
- const styles = useMemo(() => { var _a; return concatButtonBaseStyles(props.increaseFlyoutItemSize ? devicesButtonWithIncreasedTouchTargets : {}, (_a = props.styles) !== null && _a !== void 0 ? _a : {}); }, [props.increaseFlyoutItemSize, props.styles]);
24
+ cameras: role === 'Consumer' ? [] : devicesButtonProps.cameras })), [
25
+ devicesButtonProps,
26
+ /* @conditional-compile-remove(rooms) */
27
+ role
28
+ ]);
29
+ const styles = useMemo(() => {
30
+ var _a;
31
+ return concatButtonBaseStyles(props.increaseFlyoutItemSize ? devicesButtonWithIncreasedTouchTargets : {}, (_a = props.styles) !== null && _a !== void 0 ? _a : {});
32
+ }, [props.increaseFlyoutItemSize, props.styles]);
27
33
  /* @conditional-compile-remove(rooms) */
28
34
  const locale = useLocale();
29
35
  /* @conditional-compile-remove(rooms) */
@@ -32,18 +38,20 @@ export const Devices = (props) => {
32
38
  const onRenderDevicesIcon = () => {
33
39
  return React.createElement(_HighContrastAwareIcon, { disabled: props.disabled, iconName: "OptionsSpeaker" });
34
40
  };
35
- return React.createElement(DevicesButton
36
- /* By setting `persistMenu?` to true, we prevent options menu from getting hidden every time a participant joins or leaves. */ , Object.assign({
37
- /* By setting `persistMenu?` to true, we prevent options menu from getting hidden every time a participant joins or leaves. */ persistMenu: true }, augmentedDeviceButtonProps, { showLabel: props.displayType !== 'compact', styles: styles, "data-ui-id": "calling-composite-devices-button", disabled: props.disabled,
38
- /* @conditional-compile-remove(rooms) */ strings: getLabelFromRole(role, locale),
39
- /* @conditional-compile-remove(rooms) */ onRenderIcon: onlyManageSpeakers ? onRenderDevicesIcon : undefined }));
41
+ return (React.createElement(DevicesButton
42
+ /* By setting `persistMenu?` to true, we prevent options menu from getting hidden every time a participant joins or leaves. */
43
+ , Object.assign({
44
+ /* By setting `persistMenu?` to true, we prevent options menu from getting hidden every time a participant joins or leaves. */
45
+ persistMenu: true }, augmentedDeviceButtonProps, { showLabel: props.displayType !== 'compact', styles: styles, "data-ui-id": "calling-composite-devices-button", disabled: props.disabled,
46
+ /* @conditional-compile-remove(rooms) */
47
+ strings: getLabelFromRole(role, locale),
48
+ /* @conditional-compile-remove(rooms) */
49
+ onRenderIcon: onlyManageSpeakers ? onRenderDevicesIcon : undefined })));
40
50
  };
41
51
  /* @conditional-compile-remove(rooms) */
42
52
  const getLabelFromRole = (role, locale) => {
43
53
  if (role === 'Consumer') {
44
- return {
45
- label: locale.component.strings.microphoneButton.speakerMenuTitle
46
- };
54
+ return { label: locale.component.strings.microphoneButton.speakerMenuTitle };
47
55
  }
48
56
  return undefined;
49
57
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Devices.js","sourceRoot":"","sources":["../../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/buttons/Devices.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAA0B,aAAa,EAAE,+CAAmC;AAGnF,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,sCAAsC,EAAE,MAAM,6BAA6B,CAAC;AAC7G,wCAAwC;AACxC,OAAO,EAAmB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,+CAAmC;AAEpE,wCAAwC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAI/D,eAAe;AACf,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAKvB,EAAe,EAAE;;IAChB,MAAM,kBAAkB,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;IACtD,wCAAwC;IACxC,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,wCAAwC;IACxC,MAAM,IAAI,GAAoB,MAAA,MAAA,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,0CAAE,IAAI,mCAAI,SAAS,CAAC;IACzE,MAAM,0BAA0B,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,iCAC5C,kBAAkB;QACrB,wCAAwC;QACxC,WAAW,EAAE,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,CAAC,WAAW;QACtE,wCAAwC;QACxC,OAAO,EAAE,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,CAAC,OAAO,IAC9D,EAAE,CAAC,kBAAkB,EAAE,wCAAwC;QACjE,IAAI,CAAC,CAAC,CAAC;IACP,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,WAAC,OAAA,sBAAsB,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,sCAAsC,CAAC,CAAC,CAAC,EAAE,EAAE,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAA,EAAA,EAAE,CAAC,KAAK,CAAC,sBAAsB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACnM,wCAAwC;IACxC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,wCAAwC;IACxC,MAAM,kBAAkB,GAAG,IAAI,KAAK,UAAU,CAAC;IAE/C,wCAAwC;IACxC,MAAM,mBAAmB,GAAG,GAAgB,EAAE;QAC5C,OAAO,oBAAC,sBAAsB,IAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAC,gBAAgB,GAAG,CAAC;IACxF,CAAC,CAAC;IACF,OAAO,oBAAC,aAAa;IACrB,8HAA8H;QAA9H,8HAA8H,CAAC,WAAW,EAAE,IAAI,IAAM,0BAA0B,IAAE,SAAS,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAa,kCAAkC,EAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACpT,wCAAwC,CAAC,OAAO,EAAE,gBAAgB,CAAE,IAAwB,EAAE,MAAM,CAAC;QACrG,wCAAwC,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC;AAClH,CAAC,CAAC;AAEF,wCAAwC;AACxC,MAAM,gBAAgB,GAAG,CAAC,IAAqB,EAAE,MAAuB,EAA6C,EAAE;IACrH,IAAI,IAAI,KAAK,UAAU,EAAE,CAAC;QACxB,OAAO;YACL,KAAK,EAAE,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,gBAAgB,CAAC,gBAAgB;SAClE,CAAC;IACJ,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ControlBarButtonStyles, DevicesButton } from '@internal/react-components';\n/* @conditional-compile-remove(rooms) */\nimport { DevicesButtonStrings } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { concatButtonBaseStyles, devicesButtonWithIncreasedTouchTargets } from '../../styles/Buttons.styles';\n/* @conditional-compile-remove(rooms) */\nimport { CompositeLocale, useLocale } from '../../../localization';\nimport { _HighContrastAwareIcon } from '@internal/react-components';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\n/* @conditional-compile-remove(rooms) */\nimport { useAdapter } from '../../adapter/CallAdapterProvider';\n/* @conditional-compile-remove(rooms) */\nimport { ParticipantRole } from '@azure/communication-calling';\n\n/** @private */\nexport const Devices = (props: {\n displayType?: CallControlDisplayType;\n increaseFlyoutItemSize?: boolean;\n styles?: ControlBarButtonStyles;\n disabled?: boolean;\n}): JSX.Element => {\n const devicesButtonProps = usePropsFor(DevicesButton);\n /* @conditional-compile-remove(rooms) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(rooms) */\n const role: ParticipantRole = adapter.getState().call?.role ?? 'Unknown';\n const augmentedDeviceButtonProps = useMemo(() => ({\n ...devicesButtonProps,\n /* @conditional-compile-remove(rooms) */\n microphones: role === 'Consumer' ? [] : devicesButtonProps.microphones,\n /* @conditional-compile-remove(rooms) */\n cameras: role === 'Consumer' ? [] : devicesButtonProps.cameras\n }), [devicesButtonProps, /* @conditional-compile-remove(rooms) */\n role]);\n const styles = useMemo(() => concatButtonBaseStyles(props.increaseFlyoutItemSize ? devicesButtonWithIncreasedTouchTargets : {}, props.styles ?? {}), [props.increaseFlyoutItemSize, props.styles]);\n /* @conditional-compile-remove(rooms) */\n const locale = useLocale();\n /* @conditional-compile-remove(rooms) */\n const onlyManageSpeakers = role === 'Consumer';\n\n /* @conditional-compile-remove(rooms) */\n const onRenderDevicesIcon = (): JSX.Element => {\n return <_HighContrastAwareIcon disabled={props.disabled} iconName=\"OptionsSpeaker\" />;\n };\n return <DevicesButton\n /* By setting `persistMenu?` to true, we prevent options menu from getting hidden every time a participant joins or leaves. */ persistMenu={true} {...augmentedDeviceButtonProps} showLabel={props.displayType !== 'compact'} styles={styles} data-ui-id=\"calling-composite-devices-button\" disabled={props.disabled}\n /* @conditional-compile-remove(rooms) */ strings={getLabelFromRole((role as ParticipantRole), locale)}\n /* @conditional-compile-remove(rooms) */ onRenderIcon={onlyManageSpeakers ? onRenderDevicesIcon : undefined} />;\n};\n\n/* @conditional-compile-remove(rooms) */\nconst getLabelFromRole = (role: ParticipantRole, locale: CompositeLocale): Partial<DevicesButtonStrings> | undefined => {\n if (role === 'Consumer') {\n return {\n label: locale.component.strings.microphoneButton.speakerMenuTitle\n };\n }\n return undefined;\n};"]}
1
+ {"version":3,"file":"Devices.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/buttons/Devices.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ControlBarButtonStyles, DevicesButton } from '@internal/react-components';\n/* @conditional-compile-remove(rooms) */\nimport { DevicesButtonStrings } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { concatButtonBaseStyles, devicesButtonWithIncreasedTouchTargets } from '../../styles/Buttons.styles';\n/* @conditional-compile-remove(rooms) */\nimport { CompositeLocale, useLocale } from '../../../localization';\nimport { _HighContrastAwareIcon } from '@internal/react-components';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\n/* @conditional-compile-remove(rooms) */\nimport { useAdapter } from '../../adapter/CallAdapterProvider';\n/* @conditional-compile-remove(rooms) */\nimport { ParticipantRole } from '@azure/communication-calling';\n\n/** @private */\nexport const Devices = (props: {\n displayType?: CallControlDisplayType;\n increaseFlyoutItemSize?: boolean;\n styles?: ControlBarButtonStyles;\n disabled?: boolean;\n}): JSX.Element => {\n const devicesButtonProps = usePropsFor(DevicesButton);\n /* @conditional-compile-remove(rooms) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(rooms) */\n const role: ParticipantRole = adapter.getState().call?.role ?? 'Unknown';\n\n const augmentedDeviceButtonProps = useMemo(\n () => ({\n ...devicesButtonProps,\n /* @conditional-compile-remove(rooms) */\n microphones: role === 'Consumer' ? [] : devicesButtonProps.microphones,\n /* @conditional-compile-remove(rooms) */\n cameras: role === 'Consumer' ? [] : devicesButtonProps.cameras\n }),\n [\n devicesButtonProps,\n /* @conditional-compile-remove(rooms) */\n role\n ]\n );\n const styles = useMemo(\n () =>\n concatButtonBaseStyles(\n props.increaseFlyoutItemSize ? devicesButtonWithIncreasedTouchTargets : {},\n props.styles ?? {}\n ),\n [props.increaseFlyoutItemSize, props.styles]\n );\n /* @conditional-compile-remove(rooms) */\n const locale = useLocale();\n /* @conditional-compile-remove(rooms) */\n const onlyManageSpeakers = role === 'Consumer';\n\n /* @conditional-compile-remove(rooms) */\n const onRenderDevicesIcon = (): JSX.Element => {\n return <_HighContrastAwareIcon disabled={props.disabled} iconName=\"OptionsSpeaker\" />;\n };\n\n return (\n <DevicesButton\n /* By setting `persistMenu?` to true, we prevent options menu from getting hidden every time a participant joins or leaves. */\n persistMenu={true}\n {...augmentedDeviceButtonProps}\n showLabel={props.displayType !== 'compact'}\n styles={styles}\n data-ui-id=\"calling-composite-devices-button\"\n disabled={props.disabled}\n /* @conditional-compile-remove(rooms) */\n strings={getLabelFromRole(role as ParticipantRole, locale)}\n /* @conditional-compile-remove(rooms) */\n onRenderIcon={onlyManageSpeakers ? onRenderDevicesIcon : undefined}\n />\n );\n};\n\n/* @conditional-compile-remove(rooms) */\nconst getLabelFromRole = (\n role: ParticipantRole,\n locale: CompositeLocale\n): Partial<DevicesButtonStrings> | undefined => {\n if (role === 'Consumer') {\n return { label: locale.component.strings.microphoneButton.speakerMenuTitle };\n }\n return undefined;\n};\n"]}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ControlBarButtonStyles } from "../../../../../../react-components/src";
2
3
  import { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';
3
4
  /** @private */
@@ -9,7 +9,10 @@ import { groupCallLeaveButtonCompressedStyle, groupCallLeaveButtonStyle } from '
9
9
  export const EndCall = (props) => {
10
10
  const compactMode = props.displayType === 'compact';
11
11
  const hangUpButtonProps = usePropsFor(EndCallButton);
12
- const styles = useMemo(() => { var _a; return concatStyleSets(compactMode ? groupCallLeaveButtonCompressedStyle : groupCallLeaveButtonStyle, (_a = props.styles) !== null && _a !== void 0 ? _a : {}); }, [compactMode, props.styles]);
13
- return React.createElement(EndCallButton, Object.assign({ "data-ui-id": "call-composite-hangup-button" }, hangUpButtonProps, { styles: styles, showLabel: !compactMode }));
12
+ const styles = useMemo(() => {
13
+ var _a;
14
+ return concatStyleSets(compactMode ? groupCallLeaveButtonCompressedStyle : groupCallLeaveButtonStyle, (_a = props.styles) !== null && _a !== void 0 ? _a : {});
15
+ }, [compactMode, props.styles]);
16
+ return (React.createElement(EndCallButton, Object.assign({ "data-ui-id": "call-composite-hangup-button" }, hangUpButtonProps, { styles: styles, showLabel: !compactMode })));
14
17
  };
15
18
  //# sourceMappingURL=EndCall.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EndCall.js","sourceRoot":"","sources":["../../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/buttons/EndCall.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAA0B,aAAa,EAAE,+CAAmC;AACnF,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,mCAAmC,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAE7G,eAAe;AACf,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAGvB,EAAe,EAAE;IAChB,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,KAAK,SAAS,CAAC;IACpD,MAAM,iBAAiB,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;IACrD,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,WAAC,OAAA,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC,CAAC,yBAAyB,EAAE,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAA,EAAA,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9K,OAAO,oBAAC,aAAa,gCAAY,8BAA8B,IAAK,iBAAiB,IAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,WAAW,IAAI,CAAC;AACrI,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { concatStyleSets } from '@fluentui/react';\nimport { ControlBarButtonStyles, EndCallButton } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { groupCallLeaveButtonCompressedStyle, groupCallLeaveButtonStyle } from '../../styles/Buttons.styles';\n\n/** @private */\nexport const EndCall = (props: {\n displayType?: CallControlDisplayType;\n styles?: ControlBarButtonStyles;\n}): JSX.Element => {\n const compactMode = props.displayType === 'compact';\n const hangUpButtonProps = usePropsFor(EndCallButton);\n const styles = useMemo(() => concatStyleSets(compactMode ? groupCallLeaveButtonCompressedStyle : groupCallLeaveButtonStyle, props.styles ?? {}), [compactMode, props.styles]);\n return <EndCallButton data-ui-id=\"call-composite-hangup-button\" {...hangUpButtonProps} styles={styles} showLabel={!compactMode} />;\n};"]}
1
+ {"version":3,"file":"EndCall.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/buttons/EndCall.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAA0B,aAAa,EAAE,+CAAmC;AACnF,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,mCAAmC,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAE7G,eAAe;AACf,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAGvB,EAAe,EAAE;IAChB,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,KAAK,SAAS,CAAC;IACpD,MAAM,iBAAiB,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;IACrD,MAAM,MAAM,GAAG,OAAO,CACpB,GAAG,EAAE;;QACH,OAAA,eAAe,CACb,WAAW,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC,CAAC,yBAAyB,EAC7E,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CACnB,CAAA;KAAA,EACH,CAAC,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAC5B,CAAC;IACF,OAAO,CACL,oBAAC,aAAa,gCACD,8BAA8B,IACrC,iBAAiB,IACrB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,CAAC,WAAW,IACvB,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { concatStyleSets } from '@fluentui/react';\nimport { ControlBarButtonStyles, EndCallButton } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { groupCallLeaveButtonCompressedStyle, groupCallLeaveButtonStyle } from '../../styles/Buttons.styles';\n\n/** @private */\nexport const EndCall = (props: {\n displayType?: CallControlDisplayType;\n styles?: ControlBarButtonStyles;\n}): JSX.Element => {\n const compactMode = props.displayType === 'compact';\n const hangUpButtonProps = usePropsFor(EndCallButton);\n const styles = useMemo(\n () =>\n concatStyleSets(\n compactMode ? groupCallLeaveButtonCompressedStyle : groupCallLeaveButtonStyle,\n props.styles ?? {}\n ),\n [compactMode, props.styles]\n );\n return (\n <EndCallButton\n data-ui-id=\"call-composite-hangup-button\"\n {...hangUpButtonProps}\n styles={styles}\n showLabel={!compactMode}\n />\n );\n};\n"]}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ControlBarButtonStyles } from "../../../../../../react-components/src";
2
3
  import { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';
3
4
  /**
@@ -36,15 +36,22 @@ export const Microphone = (props) => {
36
36
  // page until the user successfully joins the call.
37
37
  microphoneButtonProps.checked = isLocalMicrophoneEnabled;
38
38
  }
39
- const microphoneButtonStrings = _isInLobbyOrConnecting(callStatus) ? {
40
- strings: {
41
- tooltipOffContent: strings.microphoneToggleInLobbyNotAllowed,
42
- tooltipOnContent: strings.microphoneToggleInLobbyNotAllowed
39
+ const microphoneButtonStrings = _isInLobbyOrConnecting(callStatus)
40
+ ? {
41
+ strings: {
42
+ tooltipOffContent: strings.microphoneToggleInLobbyNotAllowed,
43
+ tooltipOnContent: strings.microphoneToggleInLobbyNotAllowed
44
+ }
43
45
  }
44
- } : {};
46
+ : {};
45
47
  const styles = useMemo(() => { var _a; return concatButtonBaseStyles((_a = props.styles) !== null && _a !== void 0 ? _a : {}); }, [props.styles]);
46
48
  // tab focus on MicrophoneButton on page load
47
- return React.createElement(MicrophoneButton, Object.assign({ "data-ui-id": "call-composite-microphone-button" }, microphoneButtonProps, { showLabel: props.displayType !== 'compact', disableTooltip: props.disableTooltip, styles: styles }, microphoneButtonStrings, { enableDeviceSelectionMenu: props.splitButtonsForDeviceSelection, disabled: microphoneButtonProps.disabled || props.disabled || ( /* @conditional-compile-remove(rooms) */isRoomsCall && ((_c = adapter.getState().call) === null || _c === void 0 ? void 0 : _c.role) === 'Unknown'),
48
- /* @conditional-compile-remove(capabilities) */ onRenderOffIcon: unmuteMicCapability && !unmuteMicCapability.isPresent ? () => React.createElement(_HighContrastAwareIcon, { disabled: true, iconName: 'ControlButtonMicProhibited' }) : undefined }));
49
+ return (React.createElement(MicrophoneButton, Object.assign({ "data-ui-id": "call-composite-microphone-button" }, microphoneButtonProps, { showLabel: props.displayType !== 'compact', disableTooltip: props.disableTooltip, styles: styles }, microphoneButtonStrings, { enableDeviceSelectionMenu: props.splitButtonsForDeviceSelection, disabled: microphoneButtonProps.disabled ||
50
+ props.disabled ||
51
+ /* @conditional-compile-remove(rooms) */ (isRoomsCall && ((_c = adapter.getState().call) === null || _c === void 0 ? void 0 : _c.role) === 'Unknown'),
52
+ /* @conditional-compile-remove(capabilities) */
53
+ onRenderOffIcon: unmuteMicCapability && !unmuteMicCapability.isPresent
54
+ ? () => React.createElement(_HighContrastAwareIcon, { disabled: true, iconName: 'ControlButtonMicProhibited' })
55
+ : undefined })));
49
56
  };
50
57
  //# sourceMappingURL=Microphone.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Microphone.js","sourceRoot":"","sources":["../../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/buttons/Microphone.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,sBAAsB,EAAE,yDAA6C;AAC9E,OAAO,EAA0B,gBAAgB,EAAE,+CAAmC;AACtF,+CAA+C;AAC/C,OAAO,EAAE,sBAAsB,EAAE,+CAAmC;AACpE,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,wCAAwC,CAAC,+CAA+C;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAM1B,EAAe,EAAE;;IAChB,MAAM,qBAAqB,GAAG,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC5D,MAAM,UAAU,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;IAC9C,MAAM,wBAAwB,GAAG,WAAW,CAAC,yBAAyB,CAAC,CAAC;IACxE,MAAM,OAAO,GAAG,SAAS,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACzC,wCAAwC,CAAC,+CAA+C;IACxF,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,wCAAwC;IACxC,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC;IAEnD,+CAA+C;IAC/C,MAAM,mBAAmB,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,0CAAE,mBAAmB,0CAAE,YAAY,CAAC,SAAS,CAAC;IAEjG;;;OAGG;IACH,IAAI,UAAU,KAAK,YAAY,EAAE,CAAC;QAChC,+FAA+F;QAC/F,mDAAmD;QACnD,qBAAqB,CAAC,OAAO,GAAG,wBAAwB,CAAC;IAC3D,CAAC;IACD,MAAM,uBAAuB,GAAG,sBAAsB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QACnE,OAAO,EAAE;YACP,iBAAiB,EAAE,OAAO,CAAC,iCAAiC;YAC5D,gBAAgB,EAAE,OAAO,CAAC,iCAAiC;SAC5D;KACF,CAAC,CAAC,CAAC,EAAE,CAAC;IACP,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,WAAC,OAAA,sBAAsB,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAA,EAAA,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACzF,6CAA6C;IAC7C,OAAO,oBAAC,gBAAgB,gCAAY,kCAAkC,IAAK,qBAAqB,IAAE,SAAS,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,EAAE,cAAc,EAAE,KAAK,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,IAAM,uBAAuB,IAAE,yBAAyB,EAAE,KAAK,CAAC,8BAA8B,EAAE,QAAQ,EAAE,qBAAqB,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,IAAI,EAAE,wCAAwC,WAAW,IAAI,CAAA,MAAA,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,0CAAE,IAAI,MAAK,SAAS,CAAC;QACrc,+CAA+C,CAAC,eAAe,EAAE,mBAAmB,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,oBAAC,sBAAsB,IAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,4BAA4B,GAAI,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC;AACpO,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { _isInLobbyOrConnecting } from '@internal/calling-component-bindings';\nimport { ControlBarButtonStyles, MicrophoneButton } from '@internal/react-components';\n/* @conditional-compile-remove(capabilities) */\nimport { _HighContrastAwareIcon } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\nimport { useLocale } from '../../../localization';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { useSelector } from '../../hooks/useSelector';\nimport { getCallStatus, getLocalMicrophoneEnabled } from '../../selectors/baseSelectors';\nimport { concatButtonBaseStyles } from '../../styles/Buttons.styles';\n/* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */\nimport { useAdapter } from '../../adapter/CallAdapterProvider';\n\n/**\n * @private\n */\nexport const Microphone = (props: {\n displayType?: CallControlDisplayType;\n styles?: ControlBarButtonStyles;\n splitButtonsForDeviceSelection?: boolean;\n disabled?: boolean;\n disableTooltip?: boolean;\n}): JSX.Element => {\n const microphoneButtonProps = usePropsFor(MicrophoneButton);\n const callStatus = useSelector(getCallStatus);\n const isLocalMicrophoneEnabled = useSelector(getLocalMicrophoneEnabled);\n const strings = useLocale().strings.call;\n /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(rooms) */\n const isRoomsCall = adapter.getState().isRoomsCall;\n\n /* @conditional-compile-remove(capabilities) */\n const unmuteMicCapability = adapter.getState().call?.capabilitiesFeature?.capabilities.unmuteMic;\n\n /**\n * When call is in connecting state, microphone button should be disabled.\n * This is due to to headless limitation where a call can not be muted/unmuted in lobby.\n */\n if (callStatus === 'Connecting') {\n // Lobby page should show the microphone status that was set on the local preview/configuration\n // page until the user successfully joins the call.\n microphoneButtonProps.checked = isLocalMicrophoneEnabled;\n }\n const microphoneButtonStrings = _isInLobbyOrConnecting(callStatus) ? {\n strings: {\n tooltipOffContent: strings.microphoneToggleInLobbyNotAllowed,\n tooltipOnContent: strings.microphoneToggleInLobbyNotAllowed\n }\n } : {};\n const styles = useMemo(() => concatButtonBaseStyles(props.styles ?? {}), [props.styles]);\n // tab focus on MicrophoneButton on page load\n return <MicrophoneButton data-ui-id=\"call-composite-microphone-button\" {...microphoneButtonProps} showLabel={props.displayType !== 'compact'} disableTooltip={props.disableTooltip} styles={styles} {...microphoneButtonStrings} enableDeviceSelectionMenu={props.splitButtonsForDeviceSelection} disabled={microphoneButtonProps.disabled || props.disabled || ( /* @conditional-compile-remove(rooms) */isRoomsCall && adapter.getState().call?.role === 'Unknown')}\n /* @conditional-compile-remove(capabilities) */ onRenderOffIcon={unmuteMicCapability && !unmuteMicCapability.isPresent ? () => <_HighContrastAwareIcon disabled={true} iconName={'ControlButtonMicProhibited'} /> : undefined} />;\n};"]}
1
+ {"version":3,"file":"Microphone.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/buttons/Microphone.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { _isInLobbyOrConnecting } from '@internal/calling-component-bindings';\nimport { ControlBarButtonStyles, MicrophoneButton } from '@internal/react-components';\n/* @conditional-compile-remove(capabilities) */\nimport { _HighContrastAwareIcon } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\nimport { useLocale } from '../../../localization';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { useSelector } from '../../hooks/useSelector';\nimport { getCallStatus, getLocalMicrophoneEnabled } from '../../selectors/baseSelectors';\nimport { concatButtonBaseStyles } from '../../styles/Buttons.styles';\n/* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */\nimport { useAdapter } from '../../adapter/CallAdapterProvider';\n\n/**\n * @private\n */\nexport const Microphone = (props: {\n displayType?: CallControlDisplayType;\n styles?: ControlBarButtonStyles;\n splitButtonsForDeviceSelection?: boolean;\n disabled?: boolean;\n disableTooltip?: boolean;\n}): JSX.Element => {\n const microphoneButtonProps = usePropsFor(MicrophoneButton);\n const callStatus = useSelector(getCallStatus);\n const isLocalMicrophoneEnabled = useSelector(getLocalMicrophoneEnabled);\n const strings = useLocale().strings.call;\n /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(rooms) */\n const isRoomsCall = adapter.getState().isRoomsCall;\n\n /* @conditional-compile-remove(capabilities) */\n const unmuteMicCapability = adapter.getState().call?.capabilitiesFeature?.capabilities.unmuteMic;\n\n /**\n * When call is in connecting state, microphone button should be disabled.\n * This is due to to headless limitation where a call can not be muted/unmuted in lobby.\n */\n if (callStatus === 'Connecting') {\n // Lobby page should show the microphone status that was set on the local preview/configuration\n // page until the user successfully joins the call.\n microphoneButtonProps.checked = isLocalMicrophoneEnabled;\n }\n const microphoneButtonStrings = _isInLobbyOrConnecting(callStatus)\n ? {\n strings: {\n tooltipOffContent: strings.microphoneToggleInLobbyNotAllowed,\n tooltipOnContent: strings.microphoneToggleInLobbyNotAllowed\n }\n }\n : {};\n const styles = useMemo(() => concatButtonBaseStyles(props.styles ?? {}), [props.styles]);\n // tab focus on MicrophoneButton on page load\n return (\n <MicrophoneButton\n data-ui-id=\"call-composite-microphone-button\"\n {...microphoneButtonProps}\n showLabel={props.displayType !== 'compact'}\n disableTooltip={props.disableTooltip}\n styles={styles}\n {...microphoneButtonStrings}\n enableDeviceSelectionMenu={props.splitButtonsForDeviceSelection}\n disabled={\n microphoneButtonProps.disabled ||\n props.disabled ||\n /* @conditional-compile-remove(rooms) */ (isRoomsCall && adapter.getState().call?.role === 'Unknown')\n }\n /* @conditional-compile-remove(capabilities) */\n onRenderOffIcon={\n unmuteMicCapability && !unmuteMicCapability.isPresent\n ? () => <_HighContrastAwareIcon disabled={true} iconName={'ControlButtonMicProhibited'} />\n : undefined\n }\n />\n );\n};\n"]}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ControlBarButtonStyles, ParticipantMenuItemsCallback } from "../../../../../../react-components/src";
2
3
  import { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';
3
4
  /** @private */
@@ -7,8 +7,11 @@ import { concatButtonBaseStyles, participantButtonWithIncreasedTouchTargets } fr
7
7
  /** @private */
8
8
  export const Participants = (props) => {
9
9
  const participantsButtonProps = usePropsFor(ParticipantsButton);
10
- const participantsButtonStyles = useMemo(() => { var _a; return concatButtonBaseStyles(props.increaseFlyoutItemSize ? participantButtonWithIncreasedTouchTargets : {}, (_a = props.styles) !== null && _a !== void 0 ? _a : {}); }, [props.increaseFlyoutItemSize, props.styles]);
11
- return React.createElement(ParticipantsButton, Object.assign({ "data-ui-id": "call-composite-participants-button" }, participantsButtonProps, { showLabel: props.displayType !== 'compact', callInvitationURL: props.callInvitationURL, onFetchParticipantMenuItems: props.onFetchParticipantMenuItems, disabled: isDisabled(props.option) || props.disabled, styles: participantsButtonStyles, showParticipantOverflowTooltip: !props.isMobile }));
10
+ const participantsButtonStyles = useMemo(() => {
11
+ var _a;
12
+ return concatButtonBaseStyles(props.increaseFlyoutItemSize ? participantButtonWithIncreasedTouchTargets : {}, (_a = props.styles) !== null && _a !== void 0 ? _a : {});
13
+ }, [props.increaseFlyoutItemSize, props.styles]);
14
+ return (React.createElement(ParticipantsButton, Object.assign({ "data-ui-id": "call-composite-participants-button" }, participantsButtonProps, { showLabel: props.displayType !== 'compact', callInvitationURL: props.callInvitationURL, onFetchParticipantMenuItems: props.onFetchParticipantMenuItems, disabled: isDisabled(props.option) || props.disabled, styles: participantsButtonStyles, showParticipantOverflowTooltip: !props.isMobile })));
12
15
  };
13
16
  const isDisabled = (option) => {
14
17
  if (option === undefined || option === true || option === false) {
@@ -1 +1 @@
1
- {"version":3,"file":"Participants.js","sourceRoot":"","sources":["../../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/buttons/Participants.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAwD,kBAAkB,EAAE,+CAAmC;AACtH,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,0CAA0C,EAAE,MAAM,6BAA6B,CAAC;AAEjH,eAAe;AACf,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAY5B,EAAe,EAAE;IAChB,MAAM,uBAAuB,GAAG,WAAW,CAAC,kBAAkB,CAAC,CAAC;IAChE,MAAM,wBAAwB,GAAG,OAAO,CAAC,GAAG,EAAE,WAAC,OAAA,sBAAsB,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,0CAA0C,CAAC,CAAC,CAAC,EAAE,EAAE,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAA,EAAA,EAAE,CAAC,KAAK,CAAC,sBAAsB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACzN,OAAO,oBAAC,kBAAkB,gCAAY,oCAAoC,IAAK,uBAAuB,IAAE,SAAS,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,EAAE,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,EAAE,2BAA2B,EAAE,KAAK,CAAC,2BAA2B,EAAE,QAAQ,EAAE,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,wBAAwB,EAAE,8BAA8B,EAAE,CAAC,KAAK,CAAC,QAAQ,IAAI,CAAC;AAC9Y,CAAC,CAAC;AACF,MAAM,UAAU,GAAG,CAAC,MAEnB,EAAW,EAAE;IACZ,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;QAChE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,MAAM,CAAC,QAAQ,CAAC;AACzB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ControlBarButtonStyles, ParticipantMenuItemsCallback, ParticipantsButton } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { concatButtonBaseStyles, participantButtonWithIncreasedTouchTargets } from '../../styles/Buttons.styles';\n\n/** @private */\nexport const Participants = (props: {\n // The value of `CallControlOptions.participantsButton`.\n option?: boolean | {\n disabled: boolean;\n };\n callInvitationURL?: string;\n onFetchParticipantMenuItems?: ParticipantMenuItemsCallback;\n displayType?: CallControlDisplayType;\n increaseFlyoutItemSize?: boolean;\n styles?: ControlBarButtonStyles;\n isMobile?: boolean;\n disabled?: boolean;\n}): JSX.Element => {\n const participantsButtonProps = usePropsFor(ParticipantsButton);\n const participantsButtonStyles = useMemo(() => concatButtonBaseStyles(props.increaseFlyoutItemSize ? participantButtonWithIncreasedTouchTargets : {}, props.styles ?? {}), [props.increaseFlyoutItemSize, props.styles]);\n return <ParticipantsButton data-ui-id=\"call-composite-participants-button\" {...participantsButtonProps} showLabel={props.displayType !== 'compact'} callInvitationURL={props.callInvitationURL} onFetchParticipantMenuItems={props.onFetchParticipantMenuItems} disabled={isDisabled(props.option) || props.disabled} styles={participantsButtonStyles} showParticipantOverflowTooltip={!props.isMobile} />;\n};\nconst isDisabled = (option?: boolean | {\n disabled: boolean;\n}): boolean => {\n if (option === undefined || option === true || option === false) {\n return false;\n }\n return option.disabled;\n};"]}
1
+ {"version":3,"file":"Participants.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/buttons/Participants.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAwD,kBAAkB,EAAE,+CAAmC;AACtH,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,0CAA0C,EAAE,MAAM,6BAA6B,CAAC;AAEjH,eAAe;AACf,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAU5B,EAAe,EAAE;IAChB,MAAM,uBAAuB,GAAG,WAAW,CAAC,kBAAkB,CAAC,CAAC;IAChE,MAAM,wBAAwB,GAAG,OAAO,CACtC,GAAG,EAAE;;QACH,OAAA,sBAAsB,CACpB,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,0CAA0C,CAAC,CAAC,CAAC,EAAE,EAC9E,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CACnB,CAAA;KAAA,EACH,CAAC,KAAK,CAAC,sBAAsB,EAAE,KAAK,CAAC,MAAM,CAAC,CAC7C,CAAC;IACF,OAAO,CACL,oBAAC,kBAAkB,gCACN,oCAAoC,IAC3C,uBAAuB,IAC3B,SAAS,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,EAC1C,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,EAC1C,2BAA2B,EAAE,KAAK,CAAC,2BAA2B,EAC9D,QAAQ,EAAE,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,QAAQ,EACpD,MAAM,EAAE,wBAAwB,EAChC,8BAA8B,EAAE,CAAC,KAAK,CAAC,QAAQ,IAC/C,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,MAAwC,EAAW,EAAE;IACvE,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;QAChE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,MAAM,CAAC,QAAQ,CAAC;AACzB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ControlBarButtonStyles, ParticipantMenuItemsCallback, ParticipantsButton } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { concatButtonBaseStyles, participantButtonWithIncreasedTouchTargets } from '../../styles/Buttons.styles';\n\n/** @private */\nexport const Participants = (props: {\n // The value of `CallControlOptions.participantsButton`.\n option?: boolean | { disabled: boolean };\n callInvitationURL?: string;\n onFetchParticipantMenuItems?: ParticipantMenuItemsCallback;\n displayType?: CallControlDisplayType;\n increaseFlyoutItemSize?: boolean;\n styles?: ControlBarButtonStyles;\n isMobile?: boolean;\n disabled?: boolean;\n}): JSX.Element => {\n const participantsButtonProps = usePropsFor(ParticipantsButton);\n const participantsButtonStyles = useMemo(\n () =>\n concatButtonBaseStyles(\n props.increaseFlyoutItemSize ? participantButtonWithIncreasedTouchTargets : {},\n props.styles ?? {}\n ),\n [props.increaseFlyoutItemSize, props.styles]\n );\n return (\n <ParticipantsButton\n data-ui-id=\"call-composite-participants-button\"\n {...participantsButtonProps}\n showLabel={props.displayType !== 'compact'}\n callInvitationURL={props.callInvitationURL}\n onFetchParticipantMenuItems={props.onFetchParticipantMenuItems}\n disabled={isDisabled(props.option) || props.disabled}\n styles={participantsButtonStyles}\n showParticipantOverflowTooltip={!props.isMobile}\n />\n );\n};\n\nconst isDisabled = (option?: boolean | { disabled: boolean }): boolean => {\n if (option === undefined || option === true || option === false) {\n return false;\n }\n return option.disabled;\n};\n"]}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { ControlBarButtonProps } from "../../../../../../react-components/src";
3
+ /**
4
+ * @private
5
+ */
6
+ /** @beta */
7
+ export declare const People: (props: ControlBarButtonProps) => JSX.Element;
8
+ //# sourceMappingURL=People.d.ts.map
@@ -0,0 +1,26 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import React, { useMemo } from 'react';
4
+ import { ControlBarButton, useTheme } from "../../../../../../react-components/src";
5
+ import { concatStyleSets } from '@fluentui/react';
6
+ import { CallCompositeIcon } from '../../../common/icons';
7
+ import { controlButtonBaseStyle } from '../../styles/Buttons.styles';
8
+ const icon = () => React.createElement(CallCompositeIcon, { iconName: 'ControlButtonParticipants' });
9
+ /**
10
+ * @private
11
+ */
12
+ /** @beta */
13
+ export const People = (props) => {
14
+ const { strings, onRenderOnIcon, onRenderOffIcon, onClick } = props;
15
+ const theme = useTheme();
16
+ const styles = useMemo(() => {
17
+ var _a;
18
+ return concatStyleSets({
19
+ rootChecked: {
20
+ background: theme.palette.neutralLight
21
+ }
22
+ }, (_a = props.styles) !== null && _a !== void 0 ? _a : {}, controlButtonBaseStyle);
23
+ }, [props.styles, theme.palette.neutralLight]);
24
+ return (React.createElement(ControlBarButton, Object.assign({}, props, { "data-ui-id": "call-composite-participants-button", strings: strings, labelKey: 'peopleButtonLabelKey', onRenderOnIcon: onRenderOnIcon !== null && onRenderOnIcon !== void 0 ? onRenderOnIcon : icon, onRenderOffIcon: onRenderOffIcon !== null && onRenderOffIcon !== void 0 ? onRenderOffIcon : icon, onClick: onClick, styles: styles })));
25
+ };
26
+ //# sourceMappingURL=People.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"People.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/buttons/People.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAiD,QAAQ,EAAE,+CAAmC;AACvH,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,MAAM,IAAI,GAAG,GAAgB,EAAE,CAAC,oBAAC,iBAAiB,IAAC,QAAQ,EAAE,2BAA2B,GAAI,CAAC;AAE7F;;GAEG;AACH,YAAY;AACZ,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,KAA4B,EAAe,EAAE;IAClE,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAEpE,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IAEzB,MAAM,MAAM,GAA2B,OAAO,CAC5C,GAAG,EAAE;;QACH,OAAA,eAAe,CACb;YACE,WAAW,EAAE;gBACX,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,YAAY;aACvC;SACF,EACD,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,EAClB,sBAAsB,CACvB,CAAA;KAAA,EACH,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAC3C,CAAC;IAEF,OAAO,CACL,oBAAC,gBAAgB,oBACX,KAAK,kBACE,oCAAoC,EAC/C,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,sBAAsB,EAChC,cAAc,EAAE,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,IAAI,EACtC,eAAe,EAAE,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,EACxC,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,IACd,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { useMemo } from 'react';\nimport { ControlBarButton, ControlBarButtonProps, ControlBarButtonStyles, useTheme } from '@internal/react-components';\nimport { concatStyleSets } from '@fluentui/react';\nimport { CallCompositeIcon } from '../../../common/icons';\nimport { controlButtonBaseStyle } from '../../styles/Buttons.styles';\n\nconst icon = (): JSX.Element => <CallCompositeIcon iconName={'ControlButtonParticipants'} />;\n\n/**\n * @private\n */\n/** @beta */\nexport const People = (props: ControlBarButtonProps): JSX.Element => {\n const { strings, onRenderOnIcon, onRenderOffIcon, onClick } = props;\n\n const theme = useTheme();\n\n const styles: ControlBarButtonStyles = useMemo(\n () =>\n concatStyleSets(\n {\n rootChecked: {\n background: theme.palette.neutralLight\n }\n },\n props.styles ?? {},\n controlButtonBaseStyle\n ),\n [props.styles, theme.palette.neutralLight]\n );\n\n return (\n <ControlBarButton\n {...props}\n data-ui-id=\"call-composite-participants-button\"\n strings={strings}\n labelKey={'peopleButtonLabelKey'}\n onRenderOnIcon={onRenderOnIcon ?? icon}\n onRenderOffIcon={onRenderOffIcon ?? icon}\n onClick={onClick}\n styles={styles}\n />\n );\n};\n"]}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ControlBarButtonStyles } from "../../../../../../react-components/src";
2
3
  import { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';
3
4
  /** @private */
@@ -23,7 +23,7 @@ export const RaiseHand = (props) => {
23
23
  if (_isInLobbyOrConnecting(callStatus)) {
24
24
  raiseHandButtonDisabled = true;
25
25
  }
26
- return React.createElement(RaiseHandButton, Object.assign({ "data-ui-id": "call-composite-raisehand-button" }, raiseHandButtonProps, { showLabel: props.displayType !== 'compact', disabled: raiseHandButtonDisabled || props.disabled, styles: styles }));
26
+ return (React.createElement(RaiseHandButton, Object.assign({ "data-ui-id": "call-composite-raisehand-button" }, raiseHandButtonProps, { showLabel: props.displayType !== 'compact', disabled: raiseHandButtonDisabled || props.disabled, styles: styles })));
27
27
  };
28
28
  /* @conditional-compile-remove(raise-hand) */
29
29
  const isDisabled = (option) => {
@@ -1 +1 @@
1
- {"version":3,"file":"RaiseHand.js","sourceRoot":"","sources":["../../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAA0B,eAAe,EAAwB,+CAAmC;AAC3G,6CAA6C;AAC7C,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGvC,6CAA6C;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,6CAA6C;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,6CAA6C;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,6CAA6C;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,6CAA6C;AAC7C,OAAO,EAAE,sBAAsB,EAAE,yDAA6C;AAE9E,6CAA6C;AAC7C,eAAe;AACf,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAQzB,EAAe,EAAE;IAChB,MAAM,oBAAoB,GAAI,WAAW,CAAC,eAAe,CAA0B,CAAC;IACpF,MAAM,UAAU,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;IAC9C,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,WAAC,OAAA,sBAAsB,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAA,EAAA,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACzF,IAAI,uBAAuB,GAAG,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvD,IAAI,sBAAsB,CAAC,UAAU,CAAC,EAAE,CAAC;QACvC,uBAAuB,GAAG,IAAI,CAAC;IACjC,CAAC;IACD,OAAO,oBAAC,eAAe,gCAAY,iCAAiC,IAAK,oBAAoB,IAAE,SAAS,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,EAAE,QAAQ,EAAE,uBAAuB,IAAI,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AACrN,CAAC,CAAC;AAEF,6CAA6C;AAC7C,MAAM,UAAU,GAAG,CAAC,MAEnB,EAAW,EAAE;IACZ,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;QAChE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,MAAM,CAAC,QAAQ,CAAC;AACzB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ControlBarButtonStyles, RaiseHandButton, RaiseHandButtonProps } from '@internal/react-components';\n/* @conditional-compile-remove(raise-hand) */\nimport React, { useMemo } from 'react';\n/* @conditional-compile-remove(raise-hand) */\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\n/* @conditional-compile-remove(raise-hand) */\nimport { usePropsFor } from '../../hooks/usePropsFor';\n/* @conditional-compile-remove(raise-hand) */\nimport { concatButtonBaseStyles } from '../../styles/Buttons.styles';\n/* @conditional-compile-remove(raise-hand) */\nimport { useSelector } from '../../hooks/useSelector';\n/* @conditional-compile-remove(raise-hand) */\nimport { getCallStatus } from '../../selectors/baseSelectors';\n/* @conditional-compile-remove(raise-hand) */\nimport { _isInLobbyOrConnecting } from '@internal/calling-component-bindings';\n\n/* @conditional-compile-remove(raise-hand) */\n/** @private */\nexport const RaiseHand = (props: {\n // The value of `CallControlOptions.raiseHandButton`.\n option?: boolean | {\n disabled: boolean;\n };\n displayType?: CallControlDisplayType;\n styles?: ControlBarButtonStyles;\n disabled?: boolean;\n}): JSX.Element => {\n const raiseHandButtonProps = (usePropsFor(RaiseHandButton) as RaiseHandButtonProps);\n const callStatus = useSelector(getCallStatus);\n const styles = useMemo(() => concatButtonBaseStyles(props.styles ?? {}), [props.styles]);\n let raiseHandButtonDisabled = isDisabled(props.option);\n if (_isInLobbyOrConnecting(callStatus)) {\n raiseHandButtonDisabled = true;\n }\n return <RaiseHandButton data-ui-id=\"call-composite-raisehand-button\" {...raiseHandButtonProps} showLabel={props.displayType !== 'compact'} disabled={raiseHandButtonDisabled || props.disabled} styles={styles} />;\n};\n\n/* @conditional-compile-remove(raise-hand) */\nconst isDisabled = (option?: boolean | {\n disabled: boolean;\n}): boolean => {\n if (option === undefined || option === true || option === false) {\n return false;\n }\n return option.disabled;\n};"]}
1
+ {"version":3,"file":"RaiseHand.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/buttons/RaiseHand.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAA0B,eAAe,EAAwB,+CAAmC;AAC3G,6CAA6C;AAC7C,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGvC,6CAA6C;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,6CAA6C;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,6CAA6C;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,6CAA6C;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,6CAA6C;AAC7C,OAAO,EAAE,sBAAsB,EAAE,yDAA6C;AAE9E,6CAA6C;AAC7C,eAAe;AACf,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAMzB,EAAe,EAAE;IAChB,MAAM,oBAAoB,GAAG,WAAW,CAAC,eAAe,CAAyB,CAAC;IAClF,MAAM,UAAU,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;IAC9C,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,WAAC,OAAA,sBAAsB,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAA,EAAA,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAEzF,IAAI,uBAAuB,GAAG,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAEvD,IAAI,sBAAsB,CAAC,UAAU,CAAC,EAAE,CAAC;QACvC,uBAAuB,GAAG,IAAI,CAAC;IACjC,CAAC;IAED,OAAO,CACL,oBAAC,eAAe,gCACH,iCAAiC,IACxC,oBAAoB,IACxB,SAAS,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,EAC1C,QAAQ,EAAE,uBAAuB,IAAI,KAAK,CAAC,QAAQ,EACnD,MAAM,EAAE,MAAM,IACd,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,6CAA6C;AAC7C,MAAM,UAAU,GAAG,CAAC,MAAwC,EAAW,EAAE;IACvE,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;QAChE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,MAAM,CAAC,QAAQ,CAAC;AACzB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ControlBarButtonStyles, RaiseHandButton, RaiseHandButtonProps } from '@internal/react-components';\n/* @conditional-compile-remove(raise-hand) */\nimport React, { useMemo } from 'react';\n/* @conditional-compile-remove(raise-hand) */\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\n/* @conditional-compile-remove(raise-hand) */\nimport { usePropsFor } from '../../hooks/usePropsFor';\n/* @conditional-compile-remove(raise-hand) */\nimport { concatButtonBaseStyles } from '../../styles/Buttons.styles';\n/* @conditional-compile-remove(raise-hand) */\nimport { useSelector } from '../../hooks/useSelector';\n/* @conditional-compile-remove(raise-hand) */\nimport { getCallStatus } from '../../selectors/baseSelectors';\n/* @conditional-compile-remove(raise-hand) */\nimport { _isInLobbyOrConnecting } from '@internal/calling-component-bindings';\n\n/* @conditional-compile-remove(raise-hand) */\n/** @private */\nexport const RaiseHand = (props: {\n // The value of `CallControlOptions.raiseHandButton`.\n option?: boolean | { disabled: boolean };\n displayType?: CallControlDisplayType;\n styles?: ControlBarButtonStyles;\n disabled?: boolean;\n}): JSX.Element => {\n const raiseHandButtonProps = usePropsFor(RaiseHandButton) as RaiseHandButtonProps;\n const callStatus = useSelector(getCallStatus);\n const styles = useMemo(() => concatButtonBaseStyles(props.styles ?? {}), [props.styles]);\n\n let raiseHandButtonDisabled = isDisabled(props.option);\n\n if (_isInLobbyOrConnecting(callStatus)) {\n raiseHandButtonDisabled = true;\n }\n\n return (\n <RaiseHandButton\n data-ui-id=\"call-composite-raisehand-button\"\n {...raiseHandButtonProps}\n showLabel={props.displayType !== 'compact'}\n disabled={raiseHandButtonDisabled || props.disabled}\n styles={styles}\n />\n );\n};\n\n/* @conditional-compile-remove(raise-hand) */\nconst isDisabled = (option?: boolean | { disabled: boolean }): boolean => {\n if (option === undefined || option === true || option === false) {\n return false;\n }\n return option.disabled;\n};\n"]}
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { ReactionResources } from "../../../../../../react-components/src";
3
+ import { ControlBarButtonStyles } from "../../../../../../react-components/src";
4
+ import { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';
5
+ /** @private */
6
+ export declare const Reaction: (props: {
7
+ reactionResource: ReactionResources;
8
+ option?: boolean | {
9
+ disabled: boolean;
10
+ };
11
+ displayType?: CallControlDisplayType;
12
+ styles?: ControlBarButtonStyles;
13
+ disabled?: boolean;
14
+ disableTooltip?: boolean;
15
+ }) => JSX.Element;
16
+ //# sourceMappingURL=Reaction.d.ts.map
@@ -0,0 +1,26 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ /* @conditional-compile-remove(reaction) */
4
+ import { ReactionButton } from "../../../../../../react-components/src";
5
+ /* @conditional-compile-remove(reaction) */
6
+ import React, { useMemo } from 'react';
7
+ /* @conditional-compile-remove(reaction) */
8
+ import { usePropsFor } from '../../hooks/usePropsFor';
9
+ /* @conditional-compile-remove(reaction) */
10
+ import { concatButtonBaseStyles } from '../../styles/Buttons.styles';
11
+ /* @conditional-compile-remove(reaction) */
12
+ /** @private */
13
+ export const Reaction = (props) => {
14
+ const reactionButtonProps = usePropsFor(ReactionButton);
15
+ const styles = useMemo(() => { var _a; return concatButtonBaseStyles((_a = props.styles) !== null && _a !== void 0 ? _a : {}); }, [props.styles]);
16
+ const reactionButtonDisabled = isDisabled(props.option) || reactionButtonProps.disabled;
17
+ return (React.createElement(ReactionButton, Object.assign({ "data-ui-id": "call-composite-reaction-button" }, reactionButtonProps, { showLabel: props.displayType !== 'compact', disabled: reactionButtonDisabled || props.disabled, styles: styles, disableTooltip: props.disableTooltip, persistMenu: true, reactionResources: props.reactionResource })));
18
+ };
19
+ /* @conditional-compile-remove(reaction) */
20
+ const isDisabled = (option) => {
21
+ if (option === undefined || option === true || option === false) {
22
+ return false;
23
+ }
24
+ return option.disabled;
25
+ };
26
+ //# sourceMappingURL=Reaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Reaction.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/buttons/Reaction.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,2CAA2C;AAC3C,OAAO,EAA0B,cAAc,EAAuB,+CAAmC;AACzG,2CAA2C;AAC3C,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGvC,2CAA2C;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,2CAA2C;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,2CAA2C;AAC3C,eAAe;AACf,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAQxB,EAAe,EAAE;IAChB,MAAM,mBAAmB,GAAG,WAAW,CAAC,cAAc,CAAmC,CAAC;IAC1F,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,WAAC,OAAA,sBAAsB,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAA,EAAA,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAEzF,MAAM,sBAAsB,GAAG,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,mBAAmB,CAAC,QAAQ,CAAC;IAExF,OAAO,CACL,oBAAC,cAAc,gCACF,gCAAgC,IACvC,mBAAmB,IACvB,SAAS,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,EAC1C,QAAQ,EAAE,sBAAsB,IAAI,KAAK,CAAC,QAAQ,EAClD,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,KAAK,CAAC,cAAc,EACpC,WAAW,EAAE,IAAI,EACjB,iBAAiB,EAAE,KAAK,CAAC,gBAAgB,IACzC,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,2CAA2C;AAC3C,MAAM,UAAU,GAAG,CAAC,MAAwC,EAAW,EAAE;IACvE,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;QAChE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,MAAM,CAAC,QAAQ,CAAC;AACzB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(reaction) */\nimport { ReactionResources } from '@internal/react-components';\n/* @conditional-compile-remove(reaction) */\nimport { ControlBarButtonStyles, ReactionButton, ReactionButtonProps } from '@internal/react-components';\n/* @conditional-compile-remove(reaction) */\nimport React, { useMemo } from 'react';\n/* @conditional-compile-remove(reaction) */\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\n/* @conditional-compile-remove(reaction) */\nimport { usePropsFor } from '../../hooks/usePropsFor';\n/* @conditional-compile-remove(reaction) */\nimport { concatButtonBaseStyles } from '../../styles/Buttons.styles';\n\n/* @conditional-compile-remove(reaction) */\n/** @private */\nexport const Reaction = (props: {\n // The value of `CallControlOptions.reactionButton`.\n reactionResource: ReactionResources;\n option?: boolean | { disabled: boolean };\n displayType?: CallControlDisplayType;\n styles?: ControlBarButtonStyles;\n disabled?: boolean;\n disableTooltip?: boolean;\n}): JSX.Element => {\n const reactionButtonProps = usePropsFor(ReactionButton) as unknown as ReactionButtonProps;\n const styles = useMemo(() => concatButtonBaseStyles(props.styles ?? {}), [props.styles]);\n\n const reactionButtonDisabled = isDisabled(props.option) || reactionButtonProps.disabled;\n\n return (\n <ReactionButton\n data-ui-id=\"call-composite-reaction-button\"\n {...reactionButtonProps}\n showLabel={props.displayType !== 'compact'}\n disabled={reactionButtonDisabled || props.disabled}\n styles={styles}\n disableTooltip={props.disableTooltip}\n persistMenu={true}\n reactionResources={props.reactionResource}\n />\n );\n};\n\n/* @conditional-compile-remove(reaction) */\nconst isDisabled = (option?: boolean | { disabled: boolean }): boolean => {\n if (option === undefined || option === true || option === false) {\n return false;\n }\n return option.disabled;\n};\n"]}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ControlBarButtonStyles } from "../../../../../../react-components/src";
2
3
  import { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';
3
4
  /** @private */
@@ -21,7 +21,9 @@ export const ScreenShare = (props) => {
21
21
  return (_a = screenShareButtonProps === null || screenShareButtonProps === void 0 ? void 0 : screenShareButtonProps.disabled) !== null && _a !== void 0 ? _a : isDisabled(props.option);
22
22
  return isDisabled(props.option);
23
23
  };
24
- return React.createElement(ScreenShareButton, Object.assign({ "data-ui-id": "call-composite-screenshare-button" }, screenShareButtonProps, { showLabel: props.displayType !== 'compact', disabled: screenShareButtonDisabled() || props.disabled || ( /* @conditional-compile-remove(rooms) */isRoomsCall && ((_a = adapter.getState().call) === null || _a === void 0 ? void 0 : _a.role) === 'Unknown'), styles: styles }));
24
+ return (React.createElement(ScreenShareButton, Object.assign({ "data-ui-id": "call-composite-screenshare-button" }, screenShareButtonProps, { showLabel: props.displayType !== 'compact', disabled: screenShareButtonDisabled() ||
25
+ props.disabled ||
26
+ /* @conditional-compile-remove(rooms) */ (isRoomsCall && ((_a = adapter.getState().call) === null || _a === void 0 ? void 0 : _a.role) === 'Unknown'), styles: styles })));
25
27
  };
26
28
  const isDisabled = (option) => {
27
29
  if (option === undefined || option === true || option === false) {
@@ -1 +1 @@
1
- {"version":3,"file":"ScreenShare.js","sourceRoot":"","sources":["../../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAA0B,iBAAiB,EAAE,+CAAmC;AACvF,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,wCAAwC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,eAAe;AACf,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAQ3B,EAAe,EAAE;;IAChB,MAAM,sBAAsB,GAAG,WAAW,CAAC,iBAAiB,CAAC,CAAC;IAC9D,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,WAAC,OAAA,sBAAsB,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAA,EAAA,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACzF,wCAAwC;IACxC,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,wCAAwC;IACxC,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC;IACnD,MAAM,yBAAyB,GAAG,GAAY,EAAE;;QAC9C,+CAA+C,CAAC,6CAA6C;QAC7F,OAAO,MAAA,sBAAsB,aAAtB,sBAAsB,uBAAtB,sBAAsB,CAAE,QAAQ,mCAAI,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACpE,OAAO,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC,CAAC;IACF,OAAO,oBAAC,iBAAiB,gCAAY,mCAAmC,IAAK,sBAAsB,IAAE,SAAS,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,EAAE,QAAQ,EAAE,yBAAyB,EAAE,IAAI,KAAK,CAAC,QAAQ,IAAI,EAAE,wCAAwC,WAAW,IAAI,CAAA,MAAA,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,0CAAE,IAAI,MAAK,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AACxU,CAAC,CAAC;AACF,MAAM,UAAU,GAAG,CAAC,MAEnB,EAAW,EAAE;IACZ,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;QAChE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,MAAM,CAAC,QAAQ,CAAC;AACzB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ControlBarButtonStyles, ScreenShareButton } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { concatButtonBaseStyles } from '../../styles/Buttons.styles';\n/* @conditional-compile-remove(rooms) */\nimport { useAdapter } from '../../adapter/CallAdapterProvider';\n\n/** @private */\nexport const ScreenShare = (props: {\n // The value of `CallControlOptions.screenShareButton`.\n option?: boolean | {\n disabled: boolean;\n };\n displayType?: CallControlDisplayType;\n styles?: ControlBarButtonStyles;\n disabled?: boolean;\n}): JSX.Element => {\n const screenShareButtonProps = usePropsFor(ScreenShareButton);\n const styles = useMemo(() => concatButtonBaseStyles(props.styles ?? {}), [props.styles]);\n /* @conditional-compile-remove(rooms) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(rooms) */\n const isRoomsCall = adapter.getState().isRoomsCall;\n const screenShareButtonDisabled = (): boolean => {\n /* @conditional-compile-remove(capabilities) */ /* @conditional-compile-remove(PSTN-calls) */\n return screenShareButtonProps?.disabled ?? isDisabled(props.option);\n return isDisabled(props.option);\n };\n return <ScreenShareButton data-ui-id=\"call-composite-screenshare-button\" {...screenShareButtonProps} showLabel={props.displayType !== 'compact'} disabled={screenShareButtonDisabled() || props.disabled || ( /* @conditional-compile-remove(rooms) */isRoomsCall && adapter.getState().call?.role === 'Unknown')} styles={styles} />;\n};\nconst isDisabled = (option?: boolean | {\n disabled: boolean;\n}): boolean => {\n if (option === undefined || option === true || option === false) {\n return false;\n }\n return option.disabled;\n};"]}
1
+ {"version":3,"file":"ScreenShare.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/buttons/ScreenShare.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAA0B,iBAAiB,EAAE,+CAAmC;AACvF,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,wCAAwC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,eAAe;AACf,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAM3B,EAAe,EAAE;;IAChB,MAAM,sBAAsB,GAAG,WAAW,CAAC,iBAAiB,CAAC,CAAC;IAC9D,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,WAAC,OAAA,sBAAsB,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAA,EAAA,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACzF,wCAAwC;IACxC,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,wCAAwC;IACxC,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC;IAEnD,MAAM,yBAAyB,GAAG,GAAY,EAAE;;QAC9C,+CAA+C,CAAC,6CAA6C;QAC7F,OAAO,MAAA,sBAAsB,aAAtB,sBAAsB,uBAAtB,sBAAsB,CAAE,QAAQ,mCAAI,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACpE,OAAO,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC,CAAC;IAEF,OAAO,CACL,oBAAC,iBAAiB,gCACL,mCAAmC,IAC1C,sBAAsB,IAC1B,SAAS,EAAE,KAAK,CAAC,WAAW,KAAK,SAAS,EAC1C,QAAQ,EACN,yBAAyB,EAAE;YAC3B,KAAK,CAAC,QAAQ;YACd,wCAAwC,CAAC,CAAC,WAAW,IAAI,CAAA,MAAA,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,0CAAE,IAAI,MAAK,SAAS,CAAC,EAEvG,MAAM,EAAE,MAAM,IACd,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,MAAwC,EAAW,EAAE;IACvE,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;QAChE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,MAAM,CAAC,QAAQ,CAAC;AACzB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ControlBarButtonStyles, ScreenShareButton } from '@internal/react-components';\nimport React, { useMemo } from 'react';\nimport { CallControlDisplayType } from '../../../common/types/CommonCallControlOptions';\nimport { usePropsFor } from '../../hooks/usePropsFor';\nimport { concatButtonBaseStyles } from '../../styles/Buttons.styles';\n/* @conditional-compile-remove(rooms) */\nimport { useAdapter } from '../../adapter/CallAdapterProvider';\n\n/** @private */\nexport const ScreenShare = (props: {\n // The value of `CallControlOptions.screenShareButton`.\n option?: boolean | { disabled: boolean };\n displayType?: CallControlDisplayType;\n styles?: ControlBarButtonStyles;\n disabled?: boolean;\n}): JSX.Element => {\n const screenShareButtonProps = usePropsFor(ScreenShareButton);\n const styles = useMemo(() => concatButtonBaseStyles(props.styles ?? {}), [props.styles]);\n /* @conditional-compile-remove(rooms) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(rooms) */\n const isRoomsCall = adapter.getState().isRoomsCall;\n\n const screenShareButtonDisabled = (): boolean => {\n /* @conditional-compile-remove(capabilities) */ /* @conditional-compile-remove(PSTN-calls) */\n return screenShareButtonProps?.disabled ?? isDisabled(props.option);\n return isDisabled(props.option);\n };\n\n return (\n <ScreenShareButton\n data-ui-id=\"call-composite-screenshare-button\"\n {...screenShareButtonProps}\n showLabel={props.displayType !== 'compact'}\n disabled={\n screenShareButtonDisabled() ||\n props.disabled ||\n /* @conditional-compile-remove(rooms) */ (isRoomsCall && adapter.getState().call?.role === 'Unknown')\n }\n styles={styles}\n />\n );\n};\n\nconst isDisabled = (option?: boolean | { disabled: boolean }): boolean => {\n if (option === undefined || option === true || option === false) {\n return false;\n }\n return option.disabled;\n};\n"]}
@@ -55,15 +55,15 @@ const memoizeState = memoizeOne((userId, deviceManager, calls, latestErrors, dis
55
55
  incomingCallsEnded: {},
56
56
  callsEnded: {},
57
57
  deviceManager,
58
- callAgent: {
59
- displayName
60
- },
58
+ callAgent: { displayName },
61
59
  calls,
62
- latestErrors
60
+ latestErrors,
61
+ /* @conditional-compile-remove(PSTN-calls) */
62
+ alternateCallerId,
63
+ /* @conditional-compile-remove(unsupported-browser) */
64
+ environmentInfo
63
65
  }));
64
- const memoizeCalls = memoizeOne((call) => call ? {
65
- [call.id]: call
66
- } : {});
66
+ const memoizeCalls = memoizeOne((call) => (call ? { [call.id]: call } : {}));
67
67
  const adaptCompositeState = (compositeState) => {
68
68
  return memoizeState(compositeState.userId, compositeState.devices, memoizeCalls(compositeState.call),
69
69
  // This is an unsafe type expansion.
@@ -79,6 +79,10 @@ const adaptCompositeState = (compositeState) => {
79
79
  // that are unknown to the UI component and data binding libraries. Generic handling of the errors (e.g.,
80
80
  // just displaying them in some UI surface) will continue to work for these operations. Handling of
81
81
  // specific operations (e.g., acting on errors related to permission issues) will ignore these operations.
82
- compositeState.latestErrors, compositeState.displayName);
82
+ compositeState.latestErrors, compositeState.displayName,
83
+ /* @conditional-compile-remove(PSTN-calls) */
84
+ compositeState.alternateCallerId,
85
+ /* @conditional-compile-remove(unsupported-browser) */
86
+ compositeState.environmentInfo);
83
87
  };
84
88
  //# sourceMappingURL=useAdaptedSelector.js.map