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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1110) hide show
  1. package/dist/communication-react.d.ts +1099 -140
  2. package/dist/dist-cjs/communication-react/index.js +8846 -5476
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/identifier.js +4 -1
  11. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  12. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  13. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  14. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  16. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  17. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  19. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  20. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +16 -5
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +20 -1
  22. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  23. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +15 -0
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +58 -12
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  26. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +5 -5
  27. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +13 -6
  28. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  29. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +25 -56
  30. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
  32. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
  33. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +13 -2
  34. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +113 -47
  35. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  36. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +2 -2
  37. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +15 -1
  39. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +4 -2
  40. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  41. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +2 -6
  42. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
  43. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  44. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  45. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +2 -1
  46. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +12 -0
  47. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  48. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  49. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +2 -0
  50. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  51. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +84 -11
  52. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  53. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  54. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  55. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
  56. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  57. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  58. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  59. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  60. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +11 -7
  61. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +20 -0
  63. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +50 -1
  64. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  65. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +11 -3
  66. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +74 -18
  67. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  68. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +2 -0
  69. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +85 -11
  70. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  71. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  72. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -1
  73. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  74. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +65 -75
  75. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  76. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +105 -2
  77. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  78. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +10 -1
  79. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +119 -17
  80. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  81. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
  82. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  83. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +114 -97
  84. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  85. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  86. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  87. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +3 -0
  88. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +20 -4
  89. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  90. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
  91. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  92. package/dist/dist-esm/calling-stateful-client/src/Converter.js +18 -13
  93. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  94. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +51 -57
  95. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  96. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
  97. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  98. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  99. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -15
  100. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  101. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  102. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  103. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -3
  104. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
  105. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.d.ts +17 -0
  106. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js +42 -0
  107. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js.map +1 -0
  108. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  109. package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -1
  110. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.d.ts +16 -0
  111. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +24 -0
  112. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -0
  113. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  114. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +0 -3
  115. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  116. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.d.ts +16 -0
  117. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +30 -0
  118. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -0
  119. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +1 -0
  120. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +65 -67
  121. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  122. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +32 -24
  123. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  124. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
  125. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  126. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +1 -1
  127. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
  128. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +7 -8
  129. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
  130. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  131. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  132. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
  133. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  134. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
  135. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  136. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +3 -0
  137. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  138. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  139. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  140. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  141. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  142. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  143. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +15 -15
  144. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  145. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  146. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
  147. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  148. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  149. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  150. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  151. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  152. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +52 -32
  153. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  154. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  155. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  156. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  157. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  158. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
  159. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  160. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
  161. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  162. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  163. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +10 -3
  164. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  165. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  166. package/dist/dist-esm/chat-stateful-client/src/ChatContext.d.ts +7 -3
  167. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +67 -17
  168. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  169. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  170. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +8 -11
  171. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  172. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  173. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.d.ts +11 -3
  174. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +41 -12
  175. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
  176. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.d.ts +20 -0
  177. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +74 -68
  178. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  179. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +114 -128
  180. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  181. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +4 -1
  182. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  183. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  184. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  185. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  186. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  187. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  188. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  189. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  190. package/dist/dist-esm/communication-react/src/index.d.ts +10 -5
  191. package/dist/dist-esm/communication-react/src/index.js +2 -2
  192. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  193. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  194. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +3 -6
  195. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  196. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  197. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  198. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +4 -10
  199. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  200. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  201. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  202. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  203. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  204. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/CameraButton.js +8 -19
  206. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  207. package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
  208. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
  209. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +9 -8
  210. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
  211. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +7 -7
  212. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +46 -30
  213. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  214. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +2 -5
  215. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  216. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +37 -22
  217. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  218. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +14 -8
  219. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  220. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +48 -46
  221. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  222. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +70 -31
  223. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  224. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +23 -25
  225. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  226. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +54 -36
  227. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  228. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +9 -5
  229. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
  230. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +70 -32
  231. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +1 -1
  232. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -1
  233. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  234. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  235. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
  236. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  237. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  238. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  239. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  240. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  241. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  242. package/dist/dist-esm/react-components/src/components/ControlBar.js +10 -14
  243. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  244. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  245. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  246. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +3 -14
  247. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  248. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +4 -10
  249. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -1
  250. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +14 -31
  251. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -1
  252. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
  253. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  254. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +24 -6
  255. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -1
  256. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +12 -20
  257. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -1
  258. package/dist/dist-esm/react-components/src/components/DevicesButton.js +19 -27
  259. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  260. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.d.ts +7 -0
  261. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js +12 -48
  262. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
  263. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +7 -7
  264. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +46 -52
  265. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  266. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  267. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  268. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  269. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  270. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
  271. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  272. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  273. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  274. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
  275. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  276. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  277. package/dist/dist-esm/react-components/src/components/EndCallButton.js +3 -7
  278. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  279. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +4 -0
  280. package/dist/dist-esm/react-components/src/components/ErrorBar.js +9 -5
  281. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  282. package/dist/dist-esm/react-components/src/components/FileCard.js +3 -4
  283. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  284. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  285. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  286. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +4 -14
  287. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +18 -16
  288. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  289. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +8 -7
  290. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  291. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  292. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  293. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  294. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  295. package/dist/dist-esm/react-components/src/components/HoldButton.js +1 -1
  296. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -1
  297. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +7 -9
  298. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  299. package/dist/dist-esm/react-components/src/components/ImageOverlay.d.ts +58 -0
  300. package/dist/dist-esm/react-components/src/components/ImageOverlay.js +53 -0
  301. package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -0
  302. package/dist/dist-esm/react-components/src/components/InputBoxButton.js +3 -10
  303. package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
  304. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +5 -7
  305. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  306. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
  307. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  308. package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +13 -0
  309. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +143 -12
  310. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  311. package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +1 -1
  312. package/dist/dist-esm/react-components/src/components/MentionPopover.js +17 -14
  313. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -1
  314. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.d.ts +19 -0
  315. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js +20 -0
  316. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js.map +1 -0
  317. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +4 -77
  318. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  319. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.d.ts +42 -0
  320. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js +73 -0
  321. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js.map +1 -0
  322. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +1 -1
  323. package/dist/dist-esm/react-components/src/components/MessageThread.js +117 -51
  324. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  325. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +17 -14
  326. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  327. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +94 -101
  328. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  329. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +2 -0
  330. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +15 -18
  331. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  332. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -5
  333. package/dist/dist-esm/react-components/src/components/ParticipantList.js +58 -37
  334. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  335. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +46 -32
  336. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  337. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  338. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  339. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  340. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  341. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.d.ts +24 -0
  342. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js +13 -0
  343. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js.map +1 -0
  344. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.d.ts +12 -0
  345. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js +86 -0
  346. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js.map +1 -0
  347. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.d.ts +88 -0
  348. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js +121 -0
  349. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +1 -0
  350. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.d.ts +16 -0
  351. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js +62 -0
  352. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js.map +1 -0
  353. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.d.ts +28 -0
  354. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js +81 -0
  355. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js.map +1 -0
  356. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +6 -12
  357. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
  358. package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +54 -0
  359. package/dist/dist-esm/react-components/src/components/ReactionButton.js +89 -0
  360. package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -0
  361. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +8 -1
  362. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +61 -37
  363. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  364. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  365. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  366. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +2 -2
  367. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  368. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
  369. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  370. package/dist/dist-esm/react-components/src/components/SendBox.js +27 -40
  371. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  372. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +3 -3
  373. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  374. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  375. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +2 -4
  376. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
  377. package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
  378. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  379. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.d.ts +64 -0
  380. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +55 -0
  381. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -0
  382. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +18 -0
  383. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +57 -0
  384. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -0
  385. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.d.ts +141 -0
  386. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js +4 -0
  387. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +1 -0
  388. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +61 -0
  389. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +132 -0
  390. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -0
  391. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +22 -0
  392. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +55 -0
  393. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -0
  394. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  395. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  396. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +67 -22
  397. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -1
  398. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +55 -49
  399. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -1
  400. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  401. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  402. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
  403. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  404. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +1 -1
  405. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  406. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +1 -1
  407. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  408. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +4 -8
  409. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  410. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +1 -1
  411. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  412. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +19 -34
  413. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  414. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +3 -1
  415. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  416. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +8 -12
  417. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  418. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +6 -12
  419. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  420. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -2
  421. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  422. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +49 -21
  423. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  424. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +14 -10
  425. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  426. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +69 -28
  427. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  428. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
  429. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
  430. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +17 -0
  431. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +132 -0
  432. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -0
  433. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +4 -0
  434. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  435. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  436. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  437. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +19 -7
  438. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  439. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
  440. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  441. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +2 -4
  442. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  443. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +60 -21
  444. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
  445. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
  446. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  447. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +9 -34
  448. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  449. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
  450. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  451. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  452. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  453. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  454. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  455. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +1 -3
  456. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  457. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
  458. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  459. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
  460. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  461. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
  462. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  463. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +13 -2
  464. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +82 -48
  465. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  466. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  467. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +5 -0
  468. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +78 -39
  469. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  470. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +35 -1
  471. package/dist/dist-esm/react-components/src/components/VideoGallery.js +182 -69
  472. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  473. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +17 -2
  474. package/dist/dist-esm/react-components/src/components/VideoTile.js +92 -87
  475. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  476. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +57 -57
  477. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  478. package/dist/dist-esm/react-components/src/components/index.d.ts +13 -5
  479. package/dist/dist-esm/react-components/src/components/index.js +12 -2
  480. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  481. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -1
  482. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
  483. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
  484. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +1 -1
  485. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +14 -11
  486. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  487. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  488. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  489. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.d.ts +1 -1
  490. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +5 -3
  491. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  492. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  493. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  494. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  495. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  496. package/dist/dist-esm/react-components/src/components/styles/{ImageGallery.style.d.ts → ImageOverlay.style.d.ts} +13 -9
  497. package/dist/dist-esm/react-components/src/components/styles/{ImageGallery.style.js → ImageOverlay.style.js} +37 -49
  498. package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js.map +1 -0
  499. package/dist/dist-esm/react-components/src/components/styles/InputBoxButton.style.js.map +1 -1
  500. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +2 -5
  501. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  502. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -1
  503. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  504. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +4 -10
  505. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  506. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +1 -2
  507. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  508. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  509. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.d.ts +24 -0
  510. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +76 -0
  511. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -0
  512. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +18 -0
  513. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +128 -0
  514. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -0
  515. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -10
  516. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  517. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -1
  518. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +1 -1
  519. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +3 -6
  520. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  521. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  522. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +1 -2
  523. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  524. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  525. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -1
  526. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +1 -2
  527. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  528. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +5 -19
  529. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  530. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +11 -0
  531. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +37 -0
  532. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  533. package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
  534. package/dist/dist-esm/react-components/src/components/utils/Datetime.js +1 -4
  535. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  536. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +12 -0
  537. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +25 -2
  538. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  539. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  540. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  541. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  542. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +4 -7
  543. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  544. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  545. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -1
  546. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  547. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  548. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  549. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
  550. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  551. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.d.ts +2 -2
  552. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
  553. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  554. package/dist/dist-esm/react-components/src/components/utils.d.ts +8 -1
  555. package/dist/dist-esm/react-components/src/components/utils.js +21 -10
  556. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  557. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +8 -6
  558. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  559. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  560. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  561. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  562. package/dist/dist-esm/react-components/src/index.d.ts +6 -1
  563. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  564. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +12 -3
  565. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  566. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  567. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js +1 -3
  568. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
  569. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +9 -3
  570. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js +1 -3
  571. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
  572. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +9 -3
  573. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js +1 -3
  574. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
  575. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +9 -3
  576. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js +1 -3
  577. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
  578. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +9 -3
  579. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +25 -6
  580. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js +1 -3
  581. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
  582. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +9 -3
  583. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js +1 -3
  584. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
  585. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +9 -3
  586. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js +1 -3
  587. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
  588. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +9 -3
  589. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js +1 -3
  590. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
  591. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +9 -3
  592. package/dist/dist-esm/react-components/src/localization/locales/index.js +1 -3
  593. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  594. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js +1 -3
  595. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
  596. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +9 -3
  597. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js +1 -3
  598. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
  599. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +9 -3
  600. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js +1 -3
  601. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
  602. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +9 -3
  603. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js +1 -3
  604. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
  605. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +9 -3
  606. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js +1 -3
  607. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
  608. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +9 -3
  609. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js +1 -3
  610. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
  611. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +9 -3
  612. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js +1 -3
  613. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
  614. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +9 -3
  615. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js +1 -3
  616. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
  617. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +9 -3
  618. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js +1 -3
  619. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
  620. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +9 -3
  621. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js +1 -3
  622. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
  623. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +9 -3
  624. package/dist/dist-esm/react-components/src/localization/locales/utils.js +5 -1
  625. package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
  626. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js +1 -3
  627. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
  628. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +9 -3
  629. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js +1 -3
  630. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
  631. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +9 -3
  632. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.d.ts +2 -0
  633. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +5 -6
  634. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  635. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
  636. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  637. package/dist/dist-esm/react-components/src/theming/generateTheme.js +15 -1
  638. package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
  639. package/dist/dist-esm/react-components/src/theming/icons.d.ts +15 -0
  640. package/dist/dist-esm/react-components/src/theming/icons.js +67 -37
  641. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  642. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -1
  643. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  644. package/dist/dist-esm/react-components/src/theming/themeDuplicates.js.map +1 -1
  645. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  646. package/dist/dist-esm/react-components/src/theming/themes.d.ts +8 -21
  647. package/dist/dist-esm/react-components/src/theming/themes.js +10 -16
  648. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  649. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -7
  650. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
  651. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.d.ts +4 -4
  652. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -1
  653. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +21 -0
  654. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  655. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  656. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  657. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  658. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  659. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  660. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +34 -0
  661. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  662. package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
  663. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  664. package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -1
  665. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
  666. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +16 -0
  667. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  668. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  669. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -1
  670. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +86 -1
  671. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +73 -43
  672. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  673. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +131 -1
  674. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  675. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +77 -15
  676. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +264 -164
  677. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  678. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +71 -14
  679. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +7 -1
  680. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  681. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  682. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +11 -4
  683. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
  684. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  685. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -3
  686. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  687. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  688. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +1 -1
  689. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +11 -5
  690. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  691. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +4 -3
  692. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  693. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +6 -0
  694. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +107 -38
  695. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  696. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +56 -59
  697. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  698. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +133 -141
  699. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -1
  700. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +10 -18
  701. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
  702. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +1 -7
  703. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  704. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +1 -1
  705. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  706. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +1 -7
  707. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  708. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  709. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  710. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +4 -4
  711. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -1
  712. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +4 -4
  713. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  714. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +35 -24
  715. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  716. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +37 -26
  717. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  718. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +26 -30
  719. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  720. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +4 -0
  721. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +86 -42
  722. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  723. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  724. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  725. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
  726. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  727. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.d.ts +73 -0
  728. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js +41 -0
  729. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js.map +1 -0
  730. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +29 -11
  731. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  732. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  733. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +6 -0
  734. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +97 -8
  735. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  736. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +13 -8
  737. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
  738. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  739. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  740. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +3 -5
  741. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
  742. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +9 -3
  743. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  744. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +19 -11
  745. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  746. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +5 -2
  747. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  748. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +14 -7
  749. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  750. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  751. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  752. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +1 -1
  753. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -1
  754. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -1
  755. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
  756. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.d.ts +16 -0
  757. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +26 -0
  758. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js.map +1 -0
  759. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +3 -1
  760. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  761. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +7 -7
  762. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  763. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts +2 -1
  764. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +172 -123
  765. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  766. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.d.ts +2 -1
  767. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  768. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  769. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  770. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +6 -5
  771. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  772. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +87 -16
  773. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  774. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +8 -0
  775. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +80 -32
  776. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  777. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.d.ts +26 -0
  778. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +72 -0
  779. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -0
  780. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +13 -7
  781. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
  782. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +18 -14
  783. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  784. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +13 -3
  785. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  786. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.d.ts +56 -0
  787. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js +29 -0
  788. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js.map +1 -0
  789. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.d.ts +14 -0
  790. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js +27 -0
  791. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js.map +1 -0
  792. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +23 -23
  793. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
  794. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +3 -3
  795. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -1
  796. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  797. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  798. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  799. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +2 -1
  800. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
  801. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  802. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  803. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  804. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
  805. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +1 -4
  806. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
  807. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +14 -0
  808. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +13 -0
  809. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +1 -0
  810. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  811. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  812. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -1
  813. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
  814. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  815. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  816. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  817. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
  818. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +7 -5
  819. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  820. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +4 -4
  821. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  822. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  823. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +10 -10
  824. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +7 -1
  825. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  826. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  827. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  828. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  829. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  830. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  831. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  832. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  833. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  834. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  835. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  836. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  837. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  838. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +5 -5
  839. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  840. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  841. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  842. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
  843. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  844. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +11 -11
  845. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  846. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  847. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  848. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.d.ts +8 -0
  849. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js +18 -0
  850. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js.map +1 -0
  851. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
  852. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  853. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -1
  854. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +2 -9
  855. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  856. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  857. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +1 -2
  858. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  859. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  860. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  861. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +1 -2
  862. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  863. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +6 -24
  864. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -1
  865. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +2 -2
  866. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  867. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
  868. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  869. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.d.ts +9 -0
  870. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +35 -11
  871. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  872. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +10 -10
  873. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
  874. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +2 -2
  875. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  876. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +15 -4
  877. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +63 -33
  878. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  879. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  880. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts +16 -0
  881. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +139 -0
  882. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -0
  883. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.d.ts +17 -0
  884. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js +30 -0
  885. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js.map +1 -0
  886. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/useConsoleErrors.js.map +1 -1
  887. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +85 -0
  888. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +102 -33
  889. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  890. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  891. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  892. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
  893. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  894. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +6 -9
  895. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  896. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +2 -2
  897. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
  898. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  899. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +19 -10
  900. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +89 -20
  901. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  902. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +41 -10
  903. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  904. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +12 -4
  905. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +30 -6
  906. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  907. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +3 -4
  908. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +6 -2
  909. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  910. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
  911. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  912. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  913. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  914. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  915. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  916. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +8 -0
  917. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +6 -1
  918. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  919. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  920. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +3 -2
  921. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  922. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  923. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  924. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +87 -62
  925. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  926. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +1 -1
  927. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -1
  928. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +3 -5
  929. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -1
  930. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  931. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +5 -19
  932. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +44 -89
  933. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  934. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +15 -20
  935. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  936. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +20 -6
  937. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  938. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  939. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  940. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +11 -6
  941. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  942. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  943. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  944. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +1 -3
  945. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  946. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +5 -2
  947. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  948. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  949. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +1 -1
  950. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -1
  951. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +1 -1
  952. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  953. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -1
  954. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +6 -6
  955. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +3 -5
  956. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -1
  957. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  958. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  959. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +9 -17
  960. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  961. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +23 -25
  962. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
  963. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -1
  964. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +10 -4
  965. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  966. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
  967. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  968. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +9 -23
  969. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
  970. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -1
  971. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +6 -8
  972. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
  973. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +12 -16
  974. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
  975. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +1 -1
  976. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
  977. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
  978. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  979. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +3 -0
  980. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +110 -39
  981. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  982. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +35 -33
  983. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  984. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +2 -0
  985. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +140 -61
  986. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  987. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.d.ts +18 -0
  988. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js +41 -0
  989. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js.map +1 -0
  990. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  991. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  992. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  993. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js +5 -7
  994. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -1
  995. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +8 -0
  996. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +114 -109
  997. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  998. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -1
  999. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +2 -0
  1000. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  1001. package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -1
  1002. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.d.ts +14 -0
  1003. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js +16 -0
  1004. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js.map +1 -0
  1005. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  1006. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  1007. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +22 -14
  1008. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  1009. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  1010. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  1011. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +12 -12
  1012. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  1013. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +19 -8
  1014. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  1015. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +7 -15
  1016. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  1017. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.d.ts +6 -0
  1018. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js +29 -0
  1019. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -0
  1020. package/dist/dist-esm/react-composites/src/composites/common/Survey.d.ts +20 -0
  1021. package/dist/dist-esm/react-composites/src/composites/common/Survey.js +129 -0
  1022. package/dist/dist-esm/react-composites/src/composites/common/Survey.js.map +1 -0
  1023. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.d.ts +13 -0
  1024. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js +44 -0
  1025. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js.map +1 -0
  1026. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +10 -8
  1027. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  1028. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +8 -0
  1029. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +23 -0
  1030. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -0
  1031. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +16 -13
  1032. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  1033. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  1034. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  1035. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +23 -0
  1036. package/dist/dist-esm/react-composites/src/composites/common/icons.js +13 -5
  1037. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  1038. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
  1039. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
  1040. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  1041. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  1042. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +4 -10
  1043. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  1044. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +12 -51
  1045. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  1046. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +6 -29
  1047. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  1048. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
  1049. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  1050. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.d.ts +10 -0
  1051. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js +36 -0
  1052. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js.map +1 -0
  1053. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +17 -0
  1054. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  1055. package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
  1056. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  1057. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  1058. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  1059. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  1060. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  1061. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/CompositeLocale.js.map +1 -1
  1062. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +29 -2
  1063. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
  1064. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +29 -2
  1065. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
  1066. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +29 -2
  1067. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
  1068. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +29 -2
  1069. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +23 -3
  1070. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
  1071. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +29 -2
  1072. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
  1073. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +29 -2
  1074. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
  1075. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +29 -2
  1076. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
  1077. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +29 -2
  1078. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  1079. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
  1080. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +29 -2
  1081. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
  1082. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +29 -2
  1083. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
  1084. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +29 -2
  1085. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
  1086. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +29 -2
  1087. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
  1088. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +29 -2
  1089. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
  1090. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +29 -2
  1091. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
  1092. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +29 -2
  1093. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
  1094. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +29 -2
  1095. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
  1096. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +29 -2
  1097. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
  1098. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +29 -2
  1099. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
  1100. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
  1101. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +29 -2
  1102. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
  1103. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +29 -2
  1104. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  1105. package/dist/tsdoc-metadata.json +1 -1
  1106. package/package.json +9 -9
  1107. package/dist/dist-esm/react-components/src/components/ImageGallery.d.ts +0 -71
  1108. package/dist/dist-esm/react-components/src/components/ImageGallery.js +0 -56
  1109. package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +0 -1
  1110. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +0 -1
@@ -19,7 +19,7 @@ export const FluentChatMessageComponentWrapper = (props) => {
19
19
  const { message, styles, shouldOverlapAvatarAndMessage, onRenderMessage, onRenderAvatar, showMessageStatus, onRenderMessageStatus, participantCount, readCount, onActionButtonClick,
20
20
  /* @conditional-compile-remove(date-time-customization) */
21
21
  onDisplayDateTimeString,
22
- /* @conditional-compile-remove(image-gallery) */
22
+ /* @conditional-compile-remove(image-overlay) */
23
23
  inlineImageOptions,
24
24
  /* @conditional-compile-remove(mention) */
25
25
  mentionOptions,
@@ -36,30 +36,49 @@ export const FluentChatMessageComponentWrapper = (props) => {
36
36
  // To rerender the defaultChatMessageRenderer if app running across days(every new day chat time stamp
37
37
  // needs to be regenerated), the dependency on "new Date().toDateString()"" is added.
38
38
  const defaultChatMessageRenderer = useCallback((messageProps) => {
39
- if (messageProps.message.messageType === 'chat' || /* @conditional-compile-remove(data-loss-prevention) */ messageProps.message.messageType === 'blocked') {
40
- return React.createElement(ChatMessageComponent, Object.assign({}, messageProps, {
41
- /* @conditional-compile-remove(file-sharing) */ onRenderFileDownloads: onRenderFileDownloadsMemo,
42
- /* @conditional-compile-remove(file-sharing) */ strings: messageProps.strings, message: messageProps.message, userId: userId, remoteParticipantsCount: participantCount ? participantCount - 1 : 0, shouldOverlapAvatarAndMessage: shouldOverlapAvatarAndMessage, onRenderAvatar: onRenderAvatar, showMessageStatus: showMessageStatus, messageStatus: messageProps.message.status, onActionButtonClick: onActionButtonClick,
43
- /* @conditional-compile-remove(date-time-customization) */ onDisplayDateTimeString: onDisplayDateTimeString,
44
- /* @conditional-compile-remove(image-gallery) */ inlineImageOptions: inlineImageOptions,
45
- /* @conditional-compile-remove(mention) */ mentionOptions: mentionOptions,
46
- /* @conditional-compile-remove(file-sharing) */ fileDownloadHandler: fileDownloadHandler }));
39
+ if (messageProps.message.messageType === 'chat' ||
40
+ /* @conditional-compile-remove(data-loss-prevention) */ messageProps.message.messageType === 'blocked') {
41
+ return (React.createElement(ChatMessageComponent, Object.assign({}, messageProps, {
42
+ /* @conditional-compile-remove(file-sharing) */
43
+ onRenderFileDownloads: onRenderFileDownloadsMemo,
44
+ /* @conditional-compile-remove(file-sharing) */
45
+ strings: messageProps.strings, message: messageProps.message, userId: userId, remoteParticipantsCount: participantCount ? participantCount - 1 : 0, shouldOverlapAvatarAndMessage: shouldOverlapAvatarAndMessage, onRenderAvatar: onRenderAvatar, showMessageStatus: showMessageStatus, messageStatus: messageProps.message.status, onActionButtonClick: onActionButtonClick,
46
+ /* @conditional-compile-remove(date-time-customization) */
47
+ onDisplayDateTimeString: onDisplayDateTimeString,
48
+ /* @conditional-compile-remove(image-overlay) */
49
+ inlineImageOptions: inlineImageOptions,
50
+ /* @conditional-compile-remove(mention) */
51
+ mentionOptions: mentionOptions,
52
+ /* @conditional-compile-remove(file-sharing) */
53
+ fileDownloadHandler: fileDownloadHandler })));
47
54
  }
48
55
  return React.createElement(React.Fragment, null);
49
- }, [onActionButtonClick, onRenderAvatar, onRenderFileDownloadsMemo, participantCount, shouldOverlapAvatarAndMessage, showMessageStatus, userId, /* @conditional-compile-remove(date-time-customization) */
50
- onDisplayDateTimeString, /* @conditional-compile-remove(image-gallery) */
51
- inlineImageOptions, /* @conditional-compile-remove(mention) */
52
- mentionOptions, /* @conditional-compile-remove(file-sharing) */
56
+ }, [
57
+ onActionButtonClick,
58
+ onRenderAvatar,
59
+ onRenderFileDownloadsMemo,
60
+ participantCount,
61
+ shouldOverlapAvatarAndMessage,
62
+ showMessageStatus,
63
+ userId,
64
+ /* @conditional-compile-remove(date-time-customization) */
65
+ onDisplayDateTimeString,
66
+ /* @conditional-compile-remove(image-overlay) */
67
+ inlineImageOptions,
68
+ /* @conditional-compile-remove(mention) */
69
+ mentionOptions,
70
+ /* @conditional-compile-remove(file-sharing) */
53
71
  fileDownloadHandler,
54
72
  // eslint-disable-next-line react-hooks/exhaustive-deps
55
- new Date().toDateString()]);
73
+ new Date().toDateString()
74
+ ]);
56
75
  const messageRenderer = useCallback((messageProps) => {
57
- return onRenderMessage === undefined ? defaultChatMessageRenderer(Object.assign({}, messageProps)) : onRenderMessage(messageProps, defaultChatMessageRenderer);
76
+ return onRenderMessage === undefined
77
+ ? defaultChatMessageRenderer(Object.assign({}, messageProps))
78
+ : onRenderMessage(messageProps, defaultChatMessageRenderer);
58
79
  }, [defaultChatMessageRenderer, onRenderMessage]);
59
80
  const messageStatusRenderer = useCallback((onRenderMessageStatus, defaultStatusRenderer, showMessageStatus, participantCount, readCount) => {
60
- return showMessageStatus && statusToRender ? onRenderMessageStatus ? onRenderMessageStatus({
61
- status: message.status
62
- }) : defaultStatusRenderer(message, participantCount !== null && participantCount !== void 0 ? participantCount : 0, readCount !== null && readCount !== void 0 ? readCount : 0, message.status) : React.createElement("div", { className: mergeStyles(noMessageStatusStyle) });
81
+ return showMessageStatus && statusToRender ? (onRenderMessageStatus ? (onRenderMessageStatus({ status: message.status })) : (defaultStatusRenderer(message, participantCount !== null && participantCount !== void 0 ? participantCount : 0, readCount !== null && readCount !== void 0 ? readCount : 0, message.status))) : (React.createElement("div", { className: mergeStyles(noMessageStatusStyle) }));
63
82
  }, [message, statusToRender]);
64
83
  const shouldShowAvatar = useMemo(() => {
65
84
  return message.attached === 'top' || message.attached === false;
@@ -71,7 +90,9 @@ export const FluentChatMessageComponentWrapper = (props) => {
71
90
  return {
72
91
  // myChatItemMessageContainer used in className and style prop as style prop can't handle CSS selectors
73
92
  className: mergeClasses(chatMessageRenderStyles.rootMyMessage, chatMessageRenderStyles.rootCommon, mergeStyles(styles === null || styles === void 0 ? void 0 : styles.myChatItemMessageContainer)),
74
- style: (styles === null || styles === void 0 ? void 0 : styles.myChatItemMessageContainer) !== undefined ? createStyleFromV8Style(styles === null || styles === void 0 ? void 0 : styles.myChatItemMessageContainer) : {},
93
+ style: (styles === null || styles === void 0 ? void 0 : styles.myChatItemMessageContainer) !== undefined
94
+ ? createStyleFromV8Style(styles === null || styles === void 0 ? void 0 : styles.myChatItemMessageContainer)
95
+ : {},
75
96
  role: 'none'
76
97
  };
77
98
  }, [chatMessageRenderStyles.rootCommon, chatMessageRenderStyles.rootMyMessage, styles === null || styles === void 0 ? void 0 : styles.myChatItemMessageContainer]);
@@ -86,14 +107,22 @@ export const FluentChatMessageComponentWrapper = (props) => {
86
107
  }, [chatMessageRenderStyles.bodyCommon, chatMessageRenderStyles.bodyMyMessage]);
87
108
  const myMessageStatusIcon = useMemo(() => {
88
109
  var _a;
89
- return React.createElement("div", { className: mergeStyles({
90
- paddingLeft: '0.25rem'
91
- }, (styles === null || styles === void 0 ? void 0 : styles.messageStatusContainer) ? styles.messageStatusContainer((_a = message.mine) !== null && _a !== void 0 ? _a : false) : '') }, message.status ? messageStatusRenderer(onRenderMessageStatus, defaultStatusRenderer, showMessageStatus, participantCount, readCount) : undefined);
92
- }, [defaultStatusRenderer, message.mine, message.status, messageStatusRenderer, onRenderMessageStatus, participantCount, readCount, showMessageStatus, styles]);
110
+ return (React.createElement("div", { className: mergeStyles({ paddingLeft: '0.25rem' }, (styles === null || styles === void 0 ? void 0 : styles.messageStatusContainer) ? styles.messageStatusContainer((_a = message.mine) !== null && _a !== void 0 ? _a : false) : '') }, message.status
111
+ ? messageStatusRenderer(onRenderMessageStatus, defaultStatusRenderer, showMessageStatus, participantCount, readCount)
112
+ : undefined));
113
+ }, [
114
+ defaultStatusRenderer,
115
+ message.mine,
116
+ message.status,
117
+ messageStatusRenderer,
118
+ onRenderMessageStatus,
119
+ participantCount,
120
+ readCount,
121
+ showMessageStatus,
122
+ styles
123
+ ]);
93
124
  const messageRootProps = useMemo(() => {
94
- return {
95
- className: mergeClasses(chatMessageRenderStyles.rootMessage, chatMessageRenderStyles.rootCommon)
96
- };
125
+ return { className: mergeClasses(chatMessageRenderStyles.rootMessage, chatMessageRenderStyles.rootCommon) };
97
126
  }, [chatMessageRenderStyles.rootCommon, chatMessageRenderStyles.rootMessage]);
98
127
  const messageBodyProps = useMemo(() => {
99
128
  return {
@@ -105,7 +134,16 @@ export const FluentChatMessageComponentWrapper = (props) => {
105
134
  tabIndex: -1,
106
135
  role: 'none'
107
136
  };
108
- }, [chatMessageRenderStyles.avatarNoOverlap, chatMessageRenderStyles.avatarOverlap, chatMessageRenderStyles.bodyCommon, chatMessageRenderStyles.bodyWithAvatar, chatMessageRenderStyles.bodyWithoutAvatar, shouldOverlapAvatarAndMessage, shouldShowAvatar, styles === null || styles === void 0 ? void 0 : styles.chatItemMessageContainer]);
137
+ }, [
138
+ chatMessageRenderStyles.avatarNoOverlap,
139
+ chatMessageRenderStyles.avatarOverlap,
140
+ chatMessageRenderStyles.bodyCommon,
141
+ chatMessageRenderStyles.bodyWithAvatar,
142
+ chatMessageRenderStyles.bodyWithoutAvatar,
143
+ shouldOverlapAvatarAndMessage,
144
+ shouldShowAvatar,
145
+ styles === null || styles === void 0 ? void 0 : styles.chatItemMessageContainer
146
+ ]);
109
147
  const avatar = useMemo(() => {
110
148
  const chatAvatarStyle = shouldShowAvatar ? gutterWithAvatar : gutterWithHiddenAvatar;
111
149
  const personaOptions = {
@@ -114,19 +152,19 @@ export const FluentChatMessageComponentWrapper = (props) => {
114
152
  text: message.senderDisplayName,
115
153
  showOverflowTooltip: false
116
154
  };
117
- return React.createElement("div", { className: mergeStyles(chatAvatarStyle) }, onRenderAvatar ? onRenderAvatar === null || onRenderAvatar === void 0 ? void 0 : onRenderAvatar(message.senderId, personaOptions) : React.createElement(Persona, Object.assign({}, personaOptions)));
155
+ return (React.createElement("div", { className: mergeStyles(chatAvatarStyle) }, onRenderAvatar ? onRenderAvatar === null || onRenderAvatar === void 0 ? void 0 : onRenderAvatar(message.senderId, personaOptions) : React.createElement(Persona, Object.assign({}, personaOptions))));
118
156
  }, [message.senderDisplayName, message.senderId, onRenderAvatar, shouldShowAvatar]);
119
157
  // Fluent UI message components are used here as for default message renderer,
120
158
  // timestamp and author name should be shown but they aren't shown for custom renderer.
121
159
  // More investigations are needed to check if this can be simplified with states.
122
160
  // Status and avatar should be shown for both custom and default renderers.
123
161
  if (message.mine === true) {
124
- return React.createElement("div", null,
125
- React.createElement(FluentChatMyMessage, { attached: attached, root: myMessageRootProps, body: myMessageBodyProps, statusIcon: myMessageStatusIcon }, messageRenderer(Object.assign({}, props))));
162
+ return (React.createElement("div", null,
163
+ React.createElement(FluentChatMyMessage, { attached: attached, root: myMessageRootProps, body: myMessageBodyProps, statusIcon: myMessageStatusIcon }, messageRenderer(Object.assign({}, props)))));
126
164
  }
127
165
  else {
128
- return React.createElement("div", null,
129
- React.createElement(FluentChatMessage, { attached: attached, root: messageRootProps, body: messageBodyProps, avatar: avatar }, messageRenderer(Object.assign({}, props))));
166
+ return (React.createElement("div", null,
167
+ React.createElement(FluentChatMessage, { attached: attached, root: messageRootProps, body: messageBodyProps, avatar: avatar }, messageRenderer(Object.assign({}, props)))));
130
168
  }
131
169
  };
132
170
  //# sourceMappingURL=FluentChatMessageComponentWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FluentChatMessageComponentWrapper.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKpD,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5I,OAAO,EAAY,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,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BAAkB,EAAE,IAAI;YACxB,IAAI,EAAE,WAAW,CAAC,MAAM;YACxB,IAAI,EAAE,OAAO,CAAC,iBAAiB;YAC/B,mBAAmB,EAAE,KAAK;SAC3B,CAAC;QACF,OAAO,6BAAK,SAAS,EAAE,WAAW,CAAC,eAAe,CAAC,IAC9C,cAAc,CAAC,CAAC,CAAC,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAG,OAAO,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,oBAAC,OAAO,oBAAK,cAAc,EAAI,CAClG,CAAC;IACX,CAAC,EAAE,CAAC,OAAO,CAAC,iBAAiB,EAAE,OAAO,CAAC,QAAQ,EAAE,cAAc,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAEpF,8EAA8E;IAC9E,uFAAuF;IACvF,iFAAiF;IACjF,2EAA2E;IAC3E,IAAI,OAAO,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;QAC1B,OAAO;YACH,oBAAC,mBAAmB,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,kBAAkB,EAAE,UAAU,EAAE,mBAAmB,IACzH,eAAe,mBACb,KAAK,EACR,CACoB,CAClB,CAAC;IACX,CAAC;SAAM,CAAC;QACN,OAAO;YACH,oBAAC,iBAAiB,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,IAClG,eAAe,mBACb,KAAK,EACR,CACkB,CAChB,CAAC;IACX,CAAC;AACH,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { MessageStatus, _formatString } from '@internal/acs-ui-common';\nimport React, { useCallback, useMemo } from 'react';\nimport { MessageProps, _ChatMessageProps } from '../MessageThread';\nimport { ChatMessage } from '../../types';\n/* @conditional-compile-remove(data-loss-prevention) */\nimport { BlockedMessage } from '../../types';\nimport { gutterWithAvatar, gutterWithHiddenAvatar, noMessageStatusStyle, useChatMessageRenderStyles } from '../styles/MessageThread.styles';\nimport { IPersona, PersonaSize, mergeStyles, Persona } from '@fluentui/react';\nimport { mergeClasses } from '@fluentui/react-components';\nimport { createStyleFromV8Style } from '../styles/v8StyleShim';\nimport { MessageStatusIndicatorProps } from '../MessageStatusIndicator';\nimport { ChatMessageComponentWrapperProps } from './ChatMessageComponentWrapper';\nimport { ChatMessageComponent } from './ChatMessageComponent';\nimport { ChatMessage as FluentChatMessage, ChatMyMessage as FluentChatMyMessage } from '@fluentui-contrib/react-chat';\n\n/**\n * Props for {@link FluentChatMessageComponentWrapper}\n *\n * @private\n */\ntype FluentChatMessageComponentWrapperProps = ChatMessageComponentWrapperProps & {\n message: ChatMessage | /* @conditional-compile-remove(data-loss-prevention) */BlockedMessage;\n};\n\n/**\n * The component for rendering a chat message using Fluent UI components\n * and handling default and custom renderers.\n * This component handles rendering for chat message body, avatar and message status.\n * The chat message body, avatar and message status should be shown for both default and custom renderers.\n *\n * @private\n */\nexport const FluentChatMessageComponentWrapper = (props: FluentChatMessageComponentWrapperProps): JSX.Element => {\n const {\n message,\n styles,\n shouldOverlapAvatarAndMessage,\n onRenderMessage,\n onRenderAvatar,\n showMessageStatus,\n onRenderMessageStatus,\n participantCount,\n readCount,\n onActionButtonClick,\n /* @conditional-compile-remove(date-time-customization) */\n onDisplayDateTimeString,\n /* @conditional-compile-remove(image-gallery) */\n inlineImageOptions,\n /* @conditional-compile-remove(mention) */\n mentionOptions,\n /* @conditional-compile-remove(file-sharing) */\n fileDownloadHandler,\n userId,\n /* @conditional-compile-remove(file-sharing) */\n onRenderFileDownloads,\n defaultStatusRenderer,\n statusToRender\n } = props;\n const chatMessageRenderStyles = useChatMessageRenderStyles();\n const onRenderFileDownloadsMemo = useMemo(() => {\n /* @conditional-compile-remove(file-sharing) */\n return onRenderFileDownloads;\n return undefined;\n }, [/* @conditional-compile-remove(file-sharing) */onRenderFileDownloads]);\n\n // To rerender the defaultChatMessageRenderer if app running across days(every new day chat time stamp\n // needs to be regenerated), the dependency on \"new Date().toDateString()\"\" is added.\n const defaultChatMessageRenderer = useCallback((messageProps: MessageProps) => {\n if (messageProps.message.messageType === 'chat' || /* @conditional-compile-remove(data-loss-prevention) */messageProps.message.messageType === 'blocked') {\n return <ChatMessageComponent {...messageProps}\n /* @conditional-compile-remove(file-sharing) */ onRenderFileDownloads={onRenderFileDownloadsMemo}\n /* @conditional-compile-remove(file-sharing) */ strings={messageProps.strings} message={messageProps.message} userId={userId} remoteParticipantsCount={participantCount ? participantCount - 1 : 0} shouldOverlapAvatarAndMessage={shouldOverlapAvatarAndMessage} onRenderAvatar={onRenderAvatar} showMessageStatus={showMessageStatus} messageStatus={messageProps.message.status} onActionButtonClick={onActionButtonClick}\n /* @conditional-compile-remove(date-time-customization) */ onDisplayDateTimeString={onDisplayDateTimeString}\n /* @conditional-compile-remove(image-gallery) */ inlineImageOptions={inlineImageOptions}\n /* @conditional-compile-remove(mention) */ mentionOptions={mentionOptions}\n /* @conditional-compile-remove(file-sharing) */ fileDownloadHandler={fileDownloadHandler} />;\n }\n return <></>;\n }, [onActionButtonClick, onRenderAvatar, onRenderFileDownloadsMemo, participantCount, shouldOverlapAvatarAndMessage, showMessageStatus, userId, /* @conditional-compile-remove(date-time-customization) */\n onDisplayDateTimeString, /* @conditional-compile-remove(image-gallery) */\n inlineImageOptions, /* @conditional-compile-remove(mention) */\n mentionOptions, /* @conditional-compile-remove(file-sharing) */\n fileDownloadHandler,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n new Date().toDateString()]);\n const messageRenderer = useCallback((messageProps: MessageProps) => {\n return onRenderMessage === undefined ? defaultChatMessageRenderer({\n ...messageProps\n }) : onRenderMessage(messageProps, defaultChatMessageRenderer);\n }, [defaultChatMessageRenderer, onRenderMessage]);\n const messageStatusRenderer = useCallback((onRenderMessageStatus: ((messageStatusIndicatorProps: MessageStatusIndicatorProps) => JSX.Element | null) | undefined, defaultStatusRenderer: (message: ChatMessage | /* @conditional-compile-remove(data-loss-prevention) */BlockedMessage, participantCount: number, readCount: number, status?: MessageStatus) => JSX.Element, showMessageStatus?: boolean, participantCount?: number, readCount?: number) => {\n return showMessageStatus && statusToRender ? onRenderMessageStatus ? onRenderMessageStatus({\n status: message.status\n }) : defaultStatusRenderer(message, participantCount ?? 0, readCount ?? 0, message.status) : <div className={mergeStyles(noMessageStatusStyle)} />;\n }, [message, statusToRender]);\n const shouldShowAvatar = useMemo(() => {\n return message.attached === 'top' || message.attached === false;\n }, [message.attached]);\n const attached = useMemo(() => {\n return shouldShowAvatar ? 'top' : 'center';\n }, [shouldShowAvatar]);\n const myMessageRootProps = useMemo(() => {\n return {\n // myChatItemMessageContainer used in className and style prop as style prop can't handle CSS selectors\n className: mergeClasses(chatMessageRenderStyles.rootMyMessage, chatMessageRenderStyles.rootCommon, mergeStyles(styles?.myChatItemMessageContainer)),\n style: styles?.myChatItemMessageContainer !== undefined ? createStyleFromV8Style(styles?.myChatItemMessageContainer) : {},\n role: 'none'\n };\n }, [chatMessageRenderStyles.rootCommon, chatMessageRenderStyles.rootMyMessage, styles?.myChatItemMessageContainer]);\n const myMessageBodyProps = useMemo(() => {\n return {\n className: mergeClasses(chatMessageRenderStyles.bodyCommon, chatMessageRenderStyles.bodyMyMessage),\n // make body not focusable to remove repetitions from narrators.\n // inner components are already focusable\n tabIndex: -1,\n role: 'none'\n };\n }, [chatMessageRenderStyles.bodyCommon, chatMessageRenderStyles.bodyMyMessage]);\n const myMessageStatusIcon = useMemo(() => {\n return <div className={mergeStyles({\n paddingLeft: '0.25rem'\n }, styles?.messageStatusContainer ? styles.messageStatusContainer(message.mine ?? false) : '')}>\n {message.status ? messageStatusRenderer(onRenderMessageStatus, defaultStatusRenderer, showMessageStatus, participantCount, readCount) : undefined}\n </div>;\n }, [defaultStatusRenderer, message.mine, message.status, messageStatusRenderer, onRenderMessageStatus, participantCount, readCount, showMessageStatus, styles]);\n const messageRootProps = useMemo(() => {\n return {\n className: mergeClasses(chatMessageRenderStyles.rootMessage, chatMessageRenderStyles.rootCommon)\n };\n }, [chatMessageRenderStyles.rootCommon, chatMessageRenderStyles.rootMessage]);\n const messageBodyProps = useMemo(() => {\n return {\n // chatItemMessageContainer used in className and style prop as style prop can't handle CSS selectors\n className: mergeClasses(chatMessageRenderStyles.bodyCommon, !shouldShowAvatar ? chatMessageRenderStyles.bodyWithoutAvatar : chatMessageRenderStyles.bodyWithAvatar, shouldOverlapAvatarAndMessage ? chatMessageRenderStyles.avatarOverlap : chatMessageRenderStyles.avatarNoOverlap, mergeStyles(styles?.chatItemMessageContainer)),\n style: styles?.chatItemMessageContainer !== undefined ? createStyleFromV8Style(styles?.chatItemMessageContainer) : {},\n // make body not focusable to remove repetitions from narrators.\n // inner components are already focusable\n tabIndex: -1,\n role: 'none'\n };\n }, [chatMessageRenderStyles.avatarNoOverlap, chatMessageRenderStyles.avatarOverlap, chatMessageRenderStyles.bodyCommon, chatMessageRenderStyles.bodyWithAvatar, chatMessageRenderStyles.bodyWithoutAvatar, shouldOverlapAvatarAndMessage, shouldShowAvatar, styles?.chatItemMessageContainer]);\n const avatar = useMemo(() => {\n const chatAvatarStyle = shouldShowAvatar ? gutterWithAvatar : gutterWithHiddenAvatar;\n const personaOptions: IPersona = {\n hidePersonaDetails: true,\n size: PersonaSize.size32,\n text: message.senderDisplayName,\n showOverflowTooltip: false\n };\n return <div className={mergeStyles(chatAvatarStyle)}>\n {onRenderAvatar ? onRenderAvatar?.(message.senderId, personaOptions) : <Persona {...personaOptions} />}\n </div>;\n }, [message.senderDisplayName, message.senderId, onRenderAvatar, shouldShowAvatar]);\n\n // Fluent UI message components are used here as for default message renderer,\n // timestamp and author name should be shown but they aren't shown for custom renderer.\n // More investigations are needed to check if this can be simplified with states.\n // Status and avatar should be shown for both custom and default renderers.\n if (message.mine === true) {\n return <div>\n <FluentChatMyMessage attached={attached} root={myMessageRootProps} body={myMessageBodyProps} statusIcon={myMessageStatusIcon}>\n {messageRenderer({\n ...props\n })}\n </FluentChatMyMessage>\n </div>;\n } else {\n return <div>\n <FluentChatMessage attached={attached} root={messageRootProps} body={messageBodyProps} avatar={avatar}>\n {messageRenderer({\n ...props\n })}\n </FluentChatMessage>\n </div>;\n }\n};"]}
1
+ {"version":3,"file":"FluentChatMessageComponentWrapper.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKpD,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAY,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAWtH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,KAA6C,EAAe,EAAE;IAC9G,MAAM,EACJ,OAAO,EACP,MAAM,EACN,6BAA6B,EAC7B,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,SAAS,EACT,mBAAmB;IACnB,0DAA0D;IAC1D,uBAAuB;IACvB,gDAAgD;IAChD,kBAAkB;IAClB,0CAA0C;IAC1C,cAAc;IACd,+CAA+C;IAC/C,mBAAmB,EACnB,MAAM;IACN,+CAA+C;IAC/C,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,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AuF;IACvF,iFAAiF;IACjF,2EAA2E;IAC3E,IAAI,OAAO,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;QAC1B,OAAO,CACL;YACE,oBAAC,mBAAmB,IAClB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,kBAAkB,EACxB,IAAI,EAAE,kBAAkB,EACxB,UAAU,EAAE,mBAAmB,IAE9B,eAAe,mBAAM,KAAK,EAAG,CACV,CAClB,CACP,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO,CACL;YACE,oBAAC,iBAAiB,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,IAClG,eAAe,mBAAM,KAAK,EAAG,CACZ,CAChB,CACP,CAAC;IACJ,CAAC;AACH,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { MessageStatus, _formatString } from '@internal/acs-ui-common';\nimport React, { useCallback, useMemo } from 'react';\nimport { MessageProps, _ChatMessageProps } from '../MessageThread';\nimport { ChatMessage } from '../../types';\n/* @conditional-compile-remove(data-loss-prevention) */\nimport { BlockedMessage } from '../../types';\nimport {\n gutterWithAvatar,\n gutterWithHiddenAvatar,\n noMessageStatusStyle,\n useChatMessageRenderStyles\n} from '../styles/MessageThread.styles';\nimport { IPersona, PersonaSize, mergeStyles, Persona } from '@fluentui/react';\nimport { mergeClasses } from '@fluentui/react-components';\nimport { createStyleFromV8Style } from '../styles/v8StyleShim';\nimport { MessageStatusIndicatorProps } from '../MessageStatusIndicator';\nimport { ChatMessageComponentWrapperProps } from './ChatMessageComponentWrapper';\nimport { ChatMessageComponent } from './ChatMessageComponent';\nimport { ChatMessage as FluentChatMessage, ChatMyMessage as FluentChatMyMessage } from '@fluentui-contrib/react-chat';\n\n/**\n * Props for {@link FluentChatMessageComponentWrapper}\n *\n * @private\n */\ntype FluentChatMessageComponentWrapperProps = ChatMessageComponentWrapperProps & {\n message: ChatMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;\n};\n\n/**\n * The component for rendering a chat message using Fluent UI components\n * and handling default and custom renderers.\n * This component handles rendering for chat message body, avatar and message status.\n * The chat message body, avatar and message status should be shown for both default and custom renderers.\n *\n * @private\n */\nexport const FluentChatMessageComponentWrapper = (props: FluentChatMessageComponentWrapperProps): JSX.Element => {\n const {\n message,\n styles,\n shouldOverlapAvatarAndMessage,\n onRenderMessage,\n onRenderAvatar,\n showMessageStatus,\n onRenderMessageStatus,\n participantCount,\n readCount,\n onActionButtonClick,\n /* @conditional-compile-remove(date-time-customization) */\n onDisplayDateTimeString,\n /* @conditional-compile-remove(image-overlay) */\n inlineImageOptions,\n /* @conditional-compile-remove(mention) */\n mentionOptions,\n /* @conditional-compile-remove(file-sharing) */\n fileDownloadHandler,\n userId,\n /* @conditional-compile-remove(file-sharing) */\n onRenderFileDownloads,\n defaultStatusRenderer,\n statusToRender\n } = props;\n const chatMessageRenderStyles = useChatMessageRenderStyles();\n\n const onRenderFileDownloadsMemo = useMemo(() => {\n /* @conditional-compile-remove(file-sharing) */\n return onRenderFileDownloads;\n return undefined;\n }, [/* @conditional-compile-remove(file-sharing) */ onRenderFileDownloads]);\n\n // To rerender the defaultChatMessageRenderer if app running across days(every new day chat time stamp\n // needs to be regenerated), the dependency on \"new Date().toDateString()\"\" is added.\n const defaultChatMessageRenderer = useCallback(\n (messageProps: MessageProps) => {\n if (\n messageProps.message.messageType === 'chat' ||\n /* @conditional-compile-remove(data-loss-prevention) */ messageProps.message.messageType === 'blocked'\n ) {\n return (\n <ChatMessageComponent\n {...messageProps}\n /* @conditional-compile-remove(file-sharing) */\n onRenderFileDownloads={onRenderFileDownloadsMemo}\n /* @conditional-compile-remove(file-sharing) */\n strings={messageProps.strings}\n message={messageProps.message}\n userId={userId}\n remoteParticipantsCount={participantCount ? participantCount - 1 : 0}\n shouldOverlapAvatarAndMessage={shouldOverlapAvatarAndMessage}\n onRenderAvatar={onRenderAvatar}\n showMessageStatus={showMessageStatus}\n messageStatus={messageProps.message.status}\n onActionButtonClick={onActionButtonClick}\n /* @conditional-compile-remove(date-time-customization) */\n onDisplayDateTimeString={onDisplayDateTimeString}\n /* @conditional-compile-remove(image-overlay) */\n inlineImageOptions={inlineImageOptions}\n /* @conditional-compile-remove(mention) */\n mentionOptions={mentionOptions}\n /* @conditional-compile-remove(file-sharing) */\n fileDownloadHandler={fileDownloadHandler}\n />\n );\n }\n return <></>;\n },\n [\n onActionButtonClick,\n onRenderAvatar,\n onRenderFileDownloadsMemo,\n participantCount,\n shouldOverlapAvatarAndMessage,\n showMessageStatus,\n userId,\n /* @conditional-compile-remove(date-time-customization) */\n onDisplayDateTimeString,\n /* @conditional-compile-remove(image-overlay) */\n inlineImageOptions,\n /* @conditional-compile-remove(mention) */\n mentionOptions,\n /* @conditional-compile-remove(file-sharing) */\n fileDownloadHandler,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n new Date().toDateString()\n ]\n );\n\n const messageRenderer = useCallback(\n (messageProps: MessageProps) => {\n return onRenderMessage === undefined\n ? defaultChatMessageRenderer({ ...messageProps })\n : onRenderMessage(messageProps, defaultChatMessageRenderer);\n },\n [defaultChatMessageRenderer, onRenderMessage]\n );\n\n const messageStatusRenderer = useCallback(\n (\n onRenderMessageStatus:\n | ((messageStatusIndicatorProps: MessageStatusIndicatorProps) => JSX.Element | null)\n | undefined,\n defaultStatusRenderer: (\n message: ChatMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage,\n participantCount: number,\n readCount: number,\n status?: MessageStatus\n ) => JSX.Element,\n showMessageStatus?: boolean,\n participantCount?: number,\n readCount?: number\n ) => {\n return showMessageStatus && statusToRender ? (\n onRenderMessageStatus ? (\n onRenderMessageStatus({ status: message.status })\n ) : (\n defaultStatusRenderer(message, participantCount ?? 0, readCount ?? 0, message.status)\n )\n ) : (\n <div className={mergeStyles(noMessageStatusStyle)} />\n );\n },\n [message, statusToRender]\n );\n\n const shouldShowAvatar = useMemo(() => {\n return message.attached === 'top' || message.attached === false;\n }, [message.attached]);\n\n const attached = useMemo(() => {\n return shouldShowAvatar ? 'top' : 'center';\n }, [shouldShowAvatar]);\n\n const myMessageRootProps = useMemo(() => {\n return {\n // myChatItemMessageContainer used in className and style prop as style prop can't handle CSS selectors\n className: mergeClasses(\n chatMessageRenderStyles.rootMyMessage,\n chatMessageRenderStyles.rootCommon,\n mergeStyles(styles?.myChatItemMessageContainer)\n ),\n style:\n styles?.myChatItemMessageContainer !== undefined\n ? createStyleFromV8Style(styles?.myChatItemMessageContainer)\n : {},\n role: 'none'\n };\n }, [chatMessageRenderStyles.rootCommon, chatMessageRenderStyles.rootMyMessage, styles?.myChatItemMessageContainer]);\n\n const myMessageBodyProps = useMemo(() => {\n return {\n className: mergeClasses(chatMessageRenderStyles.bodyCommon, chatMessageRenderStyles.bodyMyMessage),\n // make body not focusable to remove repetitions from narrators.\n // inner components are already focusable\n tabIndex: -1,\n role: 'none'\n };\n }, [chatMessageRenderStyles.bodyCommon, chatMessageRenderStyles.bodyMyMessage]);\n\n const myMessageStatusIcon = useMemo(() => {\n return (\n <div\n className={mergeStyles(\n { paddingLeft: '0.25rem' },\n styles?.messageStatusContainer ? styles.messageStatusContainer(message.mine ?? false) : ''\n )}\n >\n {message.status\n ? messageStatusRenderer(\n onRenderMessageStatus,\n defaultStatusRenderer,\n showMessageStatus,\n participantCount,\n readCount\n )\n : undefined}\n </div>\n );\n }, [\n defaultStatusRenderer,\n message.mine,\n message.status,\n messageStatusRenderer,\n onRenderMessageStatus,\n participantCount,\n readCount,\n showMessageStatus,\n styles\n ]);\n\n const messageRootProps = useMemo(() => {\n return { className: mergeClasses(chatMessageRenderStyles.rootMessage, chatMessageRenderStyles.rootCommon) };\n }, [chatMessageRenderStyles.rootCommon, chatMessageRenderStyles.rootMessage]);\n\n const messageBodyProps = useMemo(() => {\n return {\n // chatItemMessageContainer used in className and style prop as style prop can't handle CSS selectors\n className: mergeClasses(\n chatMessageRenderStyles.bodyCommon,\n !shouldShowAvatar ? chatMessageRenderStyles.bodyWithoutAvatar : chatMessageRenderStyles.bodyWithAvatar,\n shouldOverlapAvatarAndMessage ? chatMessageRenderStyles.avatarOverlap : chatMessageRenderStyles.avatarNoOverlap,\n mergeStyles(styles?.chatItemMessageContainer)\n ),\n style:\n styles?.chatItemMessageContainer !== undefined ? createStyleFromV8Style(styles?.chatItemMessageContainer) : {},\n // make body not focusable to remove repetitions from narrators.\n // inner components are already focusable\n tabIndex: -1,\n role: 'none'\n };\n }, [\n chatMessageRenderStyles.avatarNoOverlap,\n chatMessageRenderStyles.avatarOverlap,\n chatMessageRenderStyles.bodyCommon,\n chatMessageRenderStyles.bodyWithAvatar,\n chatMessageRenderStyles.bodyWithoutAvatar,\n shouldOverlapAvatarAndMessage,\n shouldShowAvatar,\n styles?.chatItemMessageContainer\n ]);\n\n const avatar = useMemo(() => {\n const chatAvatarStyle = shouldShowAvatar ? gutterWithAvatar : gutterWithHiddenAvatar;\n const personaOptions: IPersona = {\n hidePersonaDetails: true,\n size: PersonaSize.size32,\n text: message.senderDisplayName,\n showOverflowTooltip: false\n };\n return (\n <div className={mergeStyles(chatAvatarStyle)}>\n {onRenderAvatar ? onRenderAvatar?.(message.senderId, personaOptions) : <Persona {...personaOptions} />}\n </div>\n );\n }, [message.senderDisplayName, message.senderId, onRenderAvatar, shouldShowAvatar]);\n\n // Fluent UI message components are used here as for default message renderer,\n // timestamp and author name should be shown but they aren't shown for custom renderer.\n // More investigations are needed to check if this can be simplified with states.\n // Status and avatar should be shown for both custom and default renderers.\n if (message.mine === true) {\n return (\n <div>\n <FluentChatMyMessage\n attached={attached}\n root={myMessageRootProps}\n body={myMessageBodyProps}\n statusIcon={myMessageStatusIcon}\n >\n {messageRenderer({ ...props })}\n </FluentChatMyMessage>\n </div>\n );\n } else {\n return (\n <div>\n <FluentChatMessage attached={attached} root={messageRootProps} body={messageBodyProps} avatar={avatar}>\n {messageRenderer({ ...props })}\n </FluentChatMessage>\n </div>\n );\n }\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MentionRenderer.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/ChatMessage/MentionRenderer.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,OAAgB,EAAe,EAAE;IACtE,8DAA8D;IAC9D,MAAM,WAAW,GAAI,cAAsB,CAAC;IAC5C,OAAO,oBAAC,WAAW,IAAC,EAAE,EAAE,OAAO,CAAC,EAAE,IAAG,OAAO,CAAC,WAAW,CAAe,CAAC;AAC1E,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport React from 'react';\nimport { Mention } from '../MentionPopover';\n\n/**\n * Provides the default implementation for rendering an Mention in a message thread\n * @param mention - The mention to render\n *\n * @private\n */\nexport const defaultOnMentionRender = (mention: Mention): JSX.Element => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const MsftMention = ('msft-mention' as any);\n return <MsftMention id={mention.id}>{mention.displayText}</MsftMention>;\n};"]}
1
+ {"version":3,"file":"MentionRenderer.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ChatMessage/MentionRenderer.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,OAAgB,EAAe,EAAE;IACtE,8DAA8D;IAC9D,MAAM,WAAW,GAAG,cAAqB,CAAC;IAC1C,OAAO,oBAAC,WAAW,IAAC,EAAE,EAAE,OAAO,CAAC,EAAE,IAAG,OAAO,CAAC,WAAW,CAAe,CAAC;AAC1E,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport React from 'react';\nimport { Mention } from '../MentionPopover';\n\n/**\n * Provides the default implementation for rendering an Mention in a message thread\n * @param mention - The mention to render\n *\n * @private\n */\nexport const defaultOnMentionRender = (mention: Mention): JSX.Element => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const MsftMention = 'msft-mention' as any;\n return <MsftMention id={mention.id}>{mention.displayText}</MsftMention>;\n};\n"]}
@@ -7,52 +7,52 @@ export function BannerMessage(props) {
7
7
  const { variant, strings } = props;
8
8
  switch (variant) {
9
9
  case 'TRANSCRIPTION_STOPPED_STILL_RECORDING':
10
- return React.createElement(React.Fragment, null,
10
+ return (React.createElement(React.Fragment, null,
11
11
  React.createElement("b", null, strings.complianceBannerTranscriptionStopped),
12
12
  ` ${strings.complianceBannerNowOnlyRecording}`,
13
- React.createElement(PrivacyPolicy, { linkText: strings.privacyPolicy }));
13
+ React.createElement(PrivacyPolicy, { linkText: strings.privacyPolicy })));
14
14
  case 'RECORDING_STOPPED_STILL_TRANSCRIBING':
15
- return React.createElement(React.Fragment, null,
15
+ return (React.createElement(React.Fragment, null,
16
16
  React.createElement("b", null, strings.complianceBannerRecordingStopped),
17
17
  ` ${strings.complianceBannerNowOnlyTranscription}`,
18
- React.createElement(PrivacyPolicy, { linkText: strings.privacyPolicy }));
18
+ React.createElement(PrivacyPolicy, { linkText: strings.privacyPolicy })));
19
19
  case 'RECORDING_AND_TRANSCRIPTION_STOPPED':
20
- return React.createElement(React.Fragment, null,
20
+ return (React.createElement(React.Fragment, null,
21
21
  React.createElement("b", null, strings.complianceBannerRecordingAndTranscriptionSaved),
22
22
  ` ${strings.complianceBannerRecordingAndTranscriptionStopped}`,
23
- React.createElement(LearnMore, { linkText: strings.learnMore }));
23
+ React.createElement(LearnMore, { linkText: strings.learnMore })));
24
24
  case 'RECORDING_AND_TRANSCRIPTION_STARTED':
25
- return React.createElement(React.Fragment, null,
25
+ return (React.createElement(React.Fragment, null,
26
26
  React.createElement("b", null, strings.complianceBannerRecordingAndTranscriptionStarted),
27
27
  ` ${strings.complianceBannerTranscriptionConsent}`,
28
- React.createElement(PrivacyPolicy, { linkText: strings.privacyPolicy }));
28
+ React.createElement(PrivacyPolicy, { linkText: strings.privacyPolicy })));
29
29
  case 'TRANSCRIPTION_STARTED':
30
- return React.createElement(React.Fragment, null,
30
+ return (React.createElement(React.Fragment, null,
31
31
  React.createElement("b", null, strings.complianceBannerTranscriptionStarted),
32
32
  ` ${strings.complianceBannerTranscriptionConsent}`,
33
- React.createElement(PrivacyPolicy, { linkText: strings.privacyPolicy }));
33
+ React.createElement(PrivacyPolicy, { linkText: strings.privacyPolicy })));
34
34
  case 'RECORDING_STOPPED':
35
- return React.createElement(React.Fragment, null,
35
+ return (React.createElement(React.Fragment, null,
36
36
  React.createElement("b", null, strings.complianceBannerRecordingSaving),
37
37
  ` ${strings.complianceBannerRecordingStopped}`,
38
- React.createElement(LearnMore, { linkText: strings.learnMore }));
38
+ React.createElement(LearnMore, { linkText: strings.learnMore })));
39
39
  case 'RECORDING_STARTED':
40
- return React.createElement(React.Fragment, null,
40
+ return (React.createElement(React.Fragment, null,
41
41
  React.createElement("b", null, strings.complianceBannerRecordingStarted),
42
42
  ` ${strings.complianceBannerTranscriptionConsent}`,
43
- React.createElement(PrivacyPolicy, { linkText: strings.privacyPolicy }));
43
+ React.createElement(PrivacyPolicy, { linkText: strings.privacyPolicy })));
44
44
  case 'TRANSCRIPTION_STOPPED':
45
- return React.createElement(React.Fragment, null,
45
+ return (React.createElement(React.Fragment, null,
46
46
  React.createElement("b", null, strings.complianceBannerTranscriptionSaving),
47
47
  ` ${strings.complianceBannerTranscriptionStopped}`,
48
- React.createElement(LearnMore, { linkText: strings.learnMore }));
48
+ React.createElement(LearnMore, { linkText: strings.learnMore })));
49
49
  }
50
50
  return React.createElement(React.Fragment, null);
51
51
  }
52
52
  function PrivacyPolicy(props) {
53
- return React.createElement(Link, { href: "https://privacy.microsoft.com/privacystatement#mainnoticetoendusersmodule", target: "_blank", underline: true }, props.linkText);
53
+ return (React.createElement(Link, { href: "https://privacy.microsoft.com/privacystatement#mainnoticetoendusersmodule", target: "_blank", underline: true }, props.linkText));
54
54
  }
55
55
  function LearnMore(props) {
56
- return React.createElement(Link, { href: "https://support.microsoft.com/office/record-a-meeting-in-teams-34dfbe7f-b07d-4a27-b4c6-de62f1348c24", target: "_blank", underline: true }, props.linkText);
56
+ return (React.createElement(Link, { href: "https://support.microsoft.com/office/record-a-meeting-in-teams-34dfbe7f-b07d-4a27-b4c6-de62f1348c24", target: "_blank", underline: true }, props.linkText));
57
57
  }
58
58
  //# sourceMappingURL=BannerMessage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BannerMessage.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/ComplianceBanner/BannerMessage.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAe;AACf,MAAM,UAAU,aAAa,CAAC,KAG7B;IACC,MAAM,EACJ,OAAO,EACP,OAAO,EACR,GAAG,KAAK,CAAC;IACV,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,uCAAuC;YAC1C,OAAO;gBACH,+BAAI,OAAO,CAAC,oCAAoC,CAAK;gBACpD,IAAI,OAAO,CAAC,gCAAgC,EAAE;gBAC/C,oBAAC,aAAa,IAAC,QAAQ,EAAE,OAAO,CAAC,aAAa,GAAI,CACjD,CAAC;QACR,KAAK,sCAAsC;YACzC,OAAO;gBACH,+BAAI,OAAO,CAAC,gCAAgC,CAAK;gBAChD,IAAI,OAAO,CAAC,oCAAoC,EAAE;gBACnD,oBAAC,aAAa,IAAC,QAAQ,EAAE,OAAO,CAAC,aAAa,GAAI,CACjD,CAAC;QACR,KAAK,qCAAqC;YACxC,OAAO;gBACH,+BAAI,OAAO,CAAC,8CAA8C,CAAK;gBAC9D,IA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,CACV,CAAC;AACZ,CAAC;AACD,SAAS,SAAS,CAAC,KAElB;IACC,OAAO,oBAAC,IAAI,IAAC,IAAI,EAAC,qGAAqG,EAAC,MAAM,EAAC,QAAQ,EAAC,SAAS,UAC5I,KAAK,CAAC,QAAQ,CACV,CAAC;AACZ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Link } from '@fluentui/react';\nimport React from 'react';\nimport { _ComplianceBannerStrings } from './types';\nimport { ComplianceBannerVariant } from './Utils';\n\n/** @private */\nexport function BannerMessage(props: {\n variant: ComplianceBannerVariant;\n strings: _ComplianceBannerStrings;\n}): JSX.Element {\n const {\n variant,\n strings\n } = props;\n switch (variant) {\n case 'TRANSCRIPTION_STOPPED_STILL_RECORDING':\n return <>\n <b>{strings.complianceBannerTranscriptionStopped}</b>\n {` ${strings.complianceBannerNowOnlyRecording}`}\n <PrivacyPolicy linkText={strings.privacyPolicy} />\n </>;\n case 'RECORDING_STOPPED_STILL_TRANSCRIBING':\n return <>\n <b>{strings.complianceBannerRecordingStopped}</b>\n {` ${strings.complianceBannerNowOnlyTranscription}`}\n <PrivacyPolicy linkText={strings.privacyPolicy} />\n </>;\n case 'RECORDING_AND_TRANSCRIPTION_STOPPED':\n return <>\n <b>{strings.complianceBannerRecordingAndTranscriptionSaved}</b>\n {` ${strings.complianceBannerRecordingAndTranscriptionStopped}`}\n <LearnMore linkText={strings.learnMore} />\n </>;\n case 'RECORDING_AND_TRANSCRIPTION_STARTED':\n return <>\n <b>{strings.complianceBannerRecordingAndTranscriptionStarted}</b>\n {` ${strings.complianceBannerTranscriptionConsent}`}\n <PrivacyPolicy linkText={strings.privacyPolicy} />\n </>;\n case 'TRANSCRIPTION_STARTED':\n return <>\n <b>{strings.complianceBannerTranscriptionStarted}</b>\n {` ${strings.complianceBannerTranscriptionConsent}`}\n <PrivacyPolicy linkText={strings.privacyPolicy} />\n </>;\n case 'RECORDING_STOPPED':\n return <>\n <b>{strings.complianceBannerRecordingSaving}</b>\n {` ${strings.complianceBannerRecordingStopped}`}\n <LearnMore linkText={strings.learnMore} />\n </>;\n case 'RECORDING_STARTED':\n return <>\n <b>{strings.complianceBannerRecordingStarted}</b>\n {` ${strings.complianceBannerTranscriptionConsent}`}\n <PrivacyPolicy linkText={strings.privacyPolicy} />\n </>;\n case 'TRANSCRIPTION_STOPPED':\n return <>\n <b>{strings.complianceBannerTranscriptionSaving}</b>\n {` ${strings.complianceBannerTranscriptionStopped}`}\n <LearnMore linkText={strings.learnMore} />\n </>;\n }\n return <></>;\n}\nfunction PrivacyPolicy(props: {\n linkText: string;\n}): JSX.Element {\n return <Link href=\"https://privacy.microsoft.com/privacystatement#mainnoticetoendusersmodule\" target=\"_blank\" underline>\n {props.linkText}\n </Link>;\n}\nfunction LearnMore(props: {\n linkText: string;\n}): JSX.Element {\n return <Link href=\"https://support.microsoft.com/office/record-a-meeting-in-teams-34dfbe7f-b07d-4a27-b4c6-de62f1348c24\" target=\"_blank\" underline>\n {props.linkText}\n </Link>;\n}"]}
1
+ {"version":3,"file":"BannerMessage.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ComplianceBanner/BannerMessage.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAe;AACf,MAAM,UAAU,aAAa,CAAC,KAG7B;IACC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IACnC,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,uCAAuC;YAC1C,OAAO,CACL;gBACE,+BAAI,OAAO,CAAC,oCAAoC,CAAK;gBACpD,IAAI,OAAO,CAAC,gCAAgC,EAAE;gBAC/C,oBAAC,aAAa,IAAC,QAAQ,EAAE,OAAO,CAAC,aAAa,GAAI,CACjD,CACJ,CAAC;QACJ,KAAK,sCAAsC;YACzC,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C,mCAAmC,CAAK;gBACnD,IAAI,OAAO,CAAC,oCAAoC,EAAE;gBACnD,oBAAC,SAAS,IAAC,QAAQ,EAAE,OAAO,CAAC,SAAS,GAAI,CACzC,CACJ,CAAC;IACN,CAAC;IACD,OAAO,yCAAK,CAAC;AACf,CAAC;AAED,SAAS,aAAa,CAAC,KAA2B;IAChD,OAAO,CACL,oBAAC,IAAI,IAAC,IAAI,EAAC,2EAA2E,EAAC,MAAM,EAAC,QAAQ,EAAC,SAAS,UAC7G,KAAK,CAAC,QAAQ,CACV,CACR,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAC,KAA2B;IAC5C,OAAO,CACL,oBAAC,IAAI,IACH,IAAI,EAAC,qGAAqG,EAC1G,MAAM,EAAC,QAAQ,EACf,SAAS,UAER,KAAK,CAAC,QAAQ,CACV,CACR,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Link } from '@fluentui/react';\nimport React from 'react';\nimport { _ComplianceBannerStrings } from './types';\nimport { ComplianceBannerVariant } from './Utils';\n\n/** @private */\nexport function BannerMessage(props: {\n variant: ComplianceBannerVariant;\n strings: _ComplianceBannerStrings;\n}): JSX.Element {\n const { variant, strings } = props;\n switch (variant) {\n case 'TRANSCRIPTION_STOPPED_STILL_RECORDING':\n return (\n <>\n <b>{strings.complianceBannerTranscriptionStopped}</b>\n {` ${strings.complianceBannerNowOnlyRecording}`}\n <PrivacyPolicy linkText={strings.privacyPolicy} />\n </>\n );\n case 'RECORDING_STOPPED_STILL_TRANSCRIBING':\n return (\n <>\n <b>{strings.complianceBannerRecordingStopped}</b>\n {` ${strings.complianceBannerNowOnlyTranscription}`}\n <PrivacyPolicy linkText={strings.privacyPolicy} />\n </>\n );\n case 'RECORDING_AND_TRANSCRIPTION_STOPPED':\n return (\n <>\n <b>{strings.complianceBannerRecordingAndTranscriptionSaved}</b>\n {` ${strings.complianceBannerRecordingAndTranscriptionStopped}`}\n <LearnMore linkText={strings.learnMore} />\n </>\n );\n case 'RECORDING_AND_TRANSCRIPTION_STARTED':\n return (\n <>\n <b>{strings.complianceBannerRecordingAndTranscriptionStarted}</b>\n {` ${strings.complianceBannerTranscriptionConsent}`}\n <PrivacyPolicy linkText={strings.privacyPolicy} />\n </>\n );\n case 'TRANSCRIPTION_STARTED':\n return (\n <>\n <b>{strings.complianceBannerTranscriptionStarted}</b>\n {` ${strings.complianceBannerTranscriptionConsent}`}\n <PrivacyPolicy linkText={strings.privacyPolicy} />\n </>\n );\n case 'RECORDING_STOPPED':\n return (\n <>\n <b>{strings.complianceBannerRecordingSaving}</b>\n {` ${strings.complianceBannerRecordingStopped}`}\n <LearnMore linkText={strings.learnMore} />\n </>\n );\n case 'RECORDING_STARTED':\n return (\n <>\n <b>{strings.complianceBannerRecordingStarted}</b>\n {` ${strings.complianceBannerTranscriptionConsent}`}\n <PrivacyPolicy linkText={strings.privacyPolicy} />\n </>\n );\n case 'TRANSCRIPTION_STOPPED':\n return (\n <>\n <b>{strings.complianceBannerTranscriptionSaving}</b>\n {` ${strings.complianceBannerTranscriptionStopped}`}\n <LearnMore linkText={strings.learnMore} />\n </>\n );\n }\n return <></>;\n}\n\nfunction PrivacyPolicy(props: { linkText: string }): JSX.Element {\n return (\n <Link href=\"https://privacy.microsoft.com/privacystatement#mainnoticetoendusersmodule\" target=\"_blank\" underline>\n {props.linkText}\n </Link>\n );\n}\n\nfunction LearnMore(props: { linkText: string }): JSX.Element {\n return (\n <Link\n href=\"https://support.microsoft.com/office/record-a-meeting-in-teams-34dfbe7f-b07d-4a27-b4c6-de62f1348c24\"\n target=\"_blank\"\n underline\n >\n {props.linkText}\n </Link>\n );\n}\n"]}
@@ -26,7 +26,8 @@ export const _ComplianceBanner = (props) => {
26
26
  });
27
27
  // Only update cached props and variant if there is _some_ change in the latest props.
28
28
  // This ensures that state machine is only updated if there is an actual change in the props.
29
- const shouldUpdateCached = props.callRecordState !== cachedProps.current.latestBooleanState.callRecordState || props.callTranscribeState !== cachedProps.current.latestBooleanState.callTranscribeState;
29
+ const shouldUpdateCached = props.callRecordState !== cachedProps.current.latestBooleanState.callRecordState ||
30
+ props.callTranscribeState !== cachedProps.current.latestBooleanState.callTranscribeState;
30
31
  // The following three operations must be performed in this exact order:
31
32
  // [1]: Update cached state to transition the state machine.
32
33
  if (shouldUpdateCached) {
@@ -42,12 +43,14 @@ export const _ComplianceBanner = (props) => {
42
43
  // [2]: Compute the variant, using the transitioned state machine.
43
44
  const variant = computeVariant(cachedProps.current.latestStringState.callRecordState, cachedProps.current.latestStringState.callTranscribeState);
44
45
  // [3]: Transition the state machine again to deal with some end-states.
45
- if (shouldUpdateCached && cachedProps.current.latestStringState.callRecordState === 'stopped' && cachedProps.current.latestStringState.callTranscribeState === 'stopped') {
46
+ if (shouldUpdateCached &&
47
+ cachedProps.current.latestStringState.callRecordState === 'stopped' &&
48
+ cachedProps.current.latestStringState.callTranscribeState === 'stopped') {
46
49
  // When both states are stopped, after displaying message "RECORDING_AND_TRANSCRIPTION_STOPPED", change both states to off (going back to the default state).
47
50
  cachedProps.current.latestStringState.callRecordState = 'off';
48
51
  cachedProps.current.latestStringState.callTranscribeState = 'off';
49
52
  }
50
- return React.createElement(DelayedUpdateBanner, { variant: {
53
+ return (React.createElement(DelayedUpdateBanner, { variant: {
51
54
  variant,
52
55
  lastUpdated: cachedProps.current.lastUpdated
53
56
  }, strings: props.strings, onDismiss: () => {
@@ -57,7 +60,7 @@ export const _ComplianceBanner = (props) => {
57
60
  if (cachedProps.current.latestStringState.callTranscribeState === 'stopped') {
58
61
  cachedProps.current.latestStringState.callTranscribeState = 'off';
59
62
  }
60
- } });
63
+ } }));
61
64
  };
62
65
  function determineStates(previous, current) {
63
66
  // if current state is on, then return on
@@ -1 +1 @@
1
- {"version":3,"file":"ComplianceBanner.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/ComplianceBanner/ComplianceBanner.tsx"],"names":[],"mappings":"AAAA,uCAAuC;A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;aACvC,CAAC;YACJ,OAAO,QAAQ,CAAC;QAClB,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { useRef } from 'react';\nimport { ComplianceState, computeVariant } from './Utils';\nimport { _ComplianceBannerProps } from './types';\nimport { DelayedUpdateBanner } from './DelayedUpdateBanner';\n\n// latestBooleanState so we can compare with props.callRecordState and props.callTranscribeState easily\n// latestStringState is on, off, stopped state generated by function determineStates using previous and current state values, this is used for computeVariants later\ntype CachedComplianceBannerProps = {\n latestBooleanState: {\n callTranscribeState?: boolean;\n callRecordState?: boolean;\n };\n latestStringState: {\n callTranscribeState: ComplianceState;\n callRecordState: ComplianceState;\n };\n // Timestamp for the last time cached state was updated.\n // Represented as milliseconds since epoch (i.e., the value returned by Date.now()).\n lastUpdated: number;\n};\n\n/**\n * A component that displays banners to notify the user when call recording and\n * transcription is enabled or disabled in a call.\n *\n * This component implements a state machine that tracks the changes to call\n * recording and transcription state and shows the corresponding message.\n *\n * @internal\n */\nexport const _ComplianceBanner = (props: _ComplianceBannerProps): JSX.Element => {\n const cachedProps = useRef<CachedComplianceBannerProps>({\n latestBooleanState: {\n callTranscribeState: false,\n callRecordState: false\n },\n latestStringState: {\n callTranscribeState: 'off',\n callRecordState: 'off'\n },\n lastUpdated: Date.now()\n });\n\n // Only update cached props and variant if there is _some_ change in the latest props.\n // This ensures that state machine is only updated if there is an actual change in the props.\n const shouldUpdateCached = props.callRecordState !== cachedProps.current.latestBooleanState.callRecordState || props.callTranscribeState !== cachedProps.current.latestBooleanState.callTranscribeState;\n\n // The following three operations must be performed in this exact order:\n\n // [1]: Update cached state to transition the state machine.\n if (shouldUpdateCached) {\n cachedProps.current = {\n latestBooleanState: props,\n latestStringState: {\n callRecordState: determineStates(cachedProps.current.latestStringState.callRecordState, props.callRecordState),\n callTranscribeState: determineStates(cachedProps.current.latestStringState.callTranscribeState, props.callTranscribeState)\n },\n lastUpdated: Date.now()\n };\n }\n\n // [2]: Compute the variant, using the transitioned state machine.\n const variant = computeVariant(cachedProps.current.latestStringState.callRecordState, cachedProps.current.latestStringState.callTranscribeState);\n\n // [3]: Transition the state machine again to deal with some end-states.\n if (shouldUpdateCached && cachedProps.current.latestStringState.callRecordState === 'stopped' && cachedProps.current.latestStringState.callTranscribeState === 'stopped') {\n // When both states are stopped, after displaying message \"RECORDING_AND_TRANSCRIPTION_STOPPED\", change both states to off (going back to the default state).\n cachedProps.current.latestStringState.callRecordState = 'off';\n cachedProps.current.latestStringState.callTranscribeState = 'off';\n }\n return <DelayedUpdateBanner variant={{\n variant,\n lastUpdated: cachedProps.current.lastUpdated\n }} strings={props.strings} onDismiss={() => {\n if (cachedProps.current.latestStringState.callRecordState === 'stopped') {\n cachedProps.current.latestStringState.callRecordState = 'off';\n }\n if (cachedProps.current.latestStringState.callTranscribeState === 'stopped') {\n cachedProps.current.latestStringState.callTranscribeState = 'off';\n }\n }} />;\n};\nfunction determineStates(previous: ComplianceState, current: boolean | undefined): ComplianceState {\n // if current state is on, then return on\n if (current) {\n return 'on';\n }\n // if current state is off\n else {\n // if previous state is on and current state is off, return stopped (on -> off)\n if (previous === 'on') {\n return 'stopped';\n }\n // otherwise remain previous state unchanged\n else {\n return previous;\n }\n }\n}"]}
1
+ {"version":3,"file":"ComplianceBanner.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ComplianceBanner/ComplianceBanner.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAmB,cAAc,EAAE,MAAM,SAAS,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAkB5D;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAA6B,EAAe,EAAE;IAC9E,MAAM,WAAW,GAAG,MAAM,CAA8B;QACtD,kBAAk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CAAC,eAAe,GAAG,KAAK,CAAC;QAC9D,WAAW,CAAC,OAAO,CAAC,iBAAiB,CAAC,mBAAmB,GAAG,KAAK,CAAC;IACpE,CAAC;IAED,OAAO,CACL,oBAAC,mBAAmB,IAClB,OAAO,EAAE;YACP,OAAO;YACP,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,WAAW;SAC7C,EACD,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,SAAS,EAAE,GAAG,EAAE;YACd,IAAI,WAAW,CAAC,OAAO,CAAC,iBAAiB,CAAC,eAAe,KAAK,SAAS,EAAE,CAAC;gBACxE,WAAW,CAAC,OAAO,CAAC,iBAAiB,CAAC,eAAe,GAAG,KAAK,CAAC;YAChE,CAAC;YACD,IAAI,WAAW,CAAC,OAAO,CAAC,iBAAiB,CAAC,mBAAmB,KAAK,SAAS,EAAE,CAAC;gBAC5E,WAAW,CAAC,OAAO,CAAC,iBAAiB,CAAC,mBAAmB,GAAG,KAAK,CAAC;YACpE,CAAC;QACH,CAAC,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,SAAS,eAAe,CAAC,QAAyB,EAAE,OAA4B;IAC9E,yCAAyC;IACzC,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,IAAI,CAAC;IACd,CAAC;IACD,0BAA0B;SACrB,CAAC;QACJ,+EAA+E;QAC/E,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;YACtB,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,4CAA4C;aACvC,CAAC;YACJ,OAAO,QAAQ,CAAC;QAClB,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { useRef } from 'react';\nimport { ComplianceState, computeVariant } from './Utils';\nimport { _ComplianceBannerProps } from './types';\nimport { DelayedUpdateBanner } from './DelayedUpdateBanner';\n\n// latestBooleanState so we can compare with props.callRecordState and props.callTranscribeState easily\n// latestStringState is on, off, stopped state generated by function determineStates using previous and current state values, this is used for computeVariants later\ntype CachedComplianceBannerProps = {\n latestBooleanState: {\n callTranscribeState?: boolean;\n callRecordState?: boolean;\n };\n latestStringState: {\n callTranscribeState: ComplianceState;\n callRecordState: ComplianceState;\n };\n // Timestamp for the last time cached state was updated.\n // Represented as milliseconds since epoch (i.e., the value returned by Date.now()).\n lastUpdated: number;\n};\n\n/**\n * A component that displays banners to notify the user when call recording and\n * transcription is enabled or disabled in a call.\n *\n * This component implements a state machine that tracks the changes to call\n * recording and transcription state and shows the corresponding message.\n *\n * @internal\n */\nexport const _ComplianceBanner = (props: _ComplianceBannerProps): JSX.Element => {\n const cachedProps = useRef<CachedComplianceBannerProps>({\n latestBooleanState: {\n callTranscribeState: false,\n callRecordState: false\n },\n latestStringState: {\n callTranscribeState: 'off',\n callRecordState: 'off'\n },\n lastUpdated: Date.now()\n });\n\n // Only update cached props and variant if there is _some_ change in the latest props.\n // This ensures that state machine is only updated if there is an actual change in the props.\n const shouldUpdateCached =\n props.callRecordState !== cachedProps.current.latestBooleanState.callRecordState ||\n props.callTranscribeState !== cachedProps.current.latestBooleanState.callTranscribeState;\n\n // The following three operations must be performed in this exact order:\n\n // [1]: Update cached state to transition the state machine.\n if (shouldUpdateCached) {\n cachedProps.current = {\n latestBooleanState: props,\n latestStringState: {\n callRecordState: determineStates(cachedProps.current.latestStringState.callRecordState, props.callRecordState),\n callTranscribeState: determineStates(\n cachedProps.current.latestStringState.callTranscribeState,\n props.callTranscribeState\n )\n },\n lastUpdated: Date.now()\n };\n }\n\n // [2]: Compute the variant, using the transitioned state machine.\n const variant = computeVariant(\n cachedProps.current.latestStringState.callRecordState,\n cachedProps.current.latestStringState.callTranscribeState\n );\n\n // [3]: Transition the state machine again to deal with some end-states.\n if (\n shouldUpdateCached &&\n cachedProps.current.latestStringState.callRecordState === 'stopped' &&\n cachedProps.current.latestStringState.callTranscribeState === 'stopped'\n ) {\n // When both states are stopped, after displaying message \"RECORDING_AND_TRANSCRIPTION_STOPPED\", change both states to off (going back to the default state).\n cachedProps.current.latestStringState.callRecordState = 'off';\n cachedProps.current.latestStringState.callTranscribeState = 'off';\n }\n\n return (\n <DelayedUpdateBanner\n variant={{\n variant,\n lastUpdated: cachedProps.current.lastUpdated\n }}\n strings={props.strings}\n onDismiss={() => {\n if (cachedProps.current.latestStringState.callRecordState === 'stopped') {\n cachedProps.current.latestStringState.callRecordState = 'off';\n }\n if (cachedProps.current.latestStringState.callTranscribeState === 'stopped') {\n cachedProps.current.latestStringState.callTranscribeState = 'off';\n }\n }}\n />\n );\n};\n\nfunction determineStates(previous: ComplianceState, current: boolean | undefined): ComplianceState {\n // if current state is on, then return on\n if (current) {\n return 'on';\n }\n // if current state is off\n else {\n // if previous state is on and current state is off, return stopped (on -> off)\n if (previous === 'on') {\n return 'stopped';\n }\n // otherwise remain previous state unchanged\n else {\n return previous;\n }\n }\n}\n"]}
@@ -53,7 +53,7 @@ export function DelayedUpdateBanner(props) {
53
53
  if (visible.variant === 'NO_STATE') {
54
54
  return React.createElement(React.Fragment, null);
55
55
  }
56
- return React.createElement(MessageBar, { messageBarType: MessageBarType.warning, onDismiss: () => {
56
+ return (React.createElement(MessageBar, { messageBarType: MessageBarType.warning, onDismiss: () => {
57
57
  // when closing the banner, change variant to nostate and change stopped state to off state.
58
58
  // Reason: on banner close, going back to the default state.
59
59
  setVisible({
@@ -62,6 +62,6 @@ export function DelayedUpdateBanner(props) {
62
62
  });
63
63
  props.onDismiss();
64
64
  }, dismissButtonAriaLabel: props.strings.close },
65
- React.createElement(BannerMessage, { variant: visible.variant, strings: props.strings }));
65
+ React.createElement(BannerMessage, { variant: visible.variant, strings: props.strings })));
66
66
  }
67
67
  //# sourceMappingURL=DelayedUpdateBanner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DelayedUpdateBanner.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAk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T,OAAO;oBACP,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE;iBACxB,CAAC,CAAC;YACL,CAAC,EAAE,gBAAgB,CAAC,CAAC;QACvB,CAAC;IACH,CAAC;IACD,IAAI,OAAO,CAAC,OAAO,KAAK,UAAU,EAAE,CAAC;QACnC,OAAO,yCAAK,CAAC;IACf,CAAC;IACD,OAAO,oBAAC,UAAU,IAAC,cAAc,EAAE,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE;YACzE,4FAA4F;YAC5F,4DAA4D;YAC5D,UAAU,CAAC;gBACT,OAAO,EAAE,UAAU;gBACnB,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE;aACxB,CAAC,CAAC;YACH,KAAK,CAAC,SAAS,EAAE,CAAC;QACpB,CAAC,EAAE,sBAAsB,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;QAC1C,oBAAC,aAAa,IAAC,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,GAAI,CACxD,CAAC;AAClB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { MessageBar, MessageBarType } from '@fluentui/react';\nimport React, { useRef, useState } from 'react';\nimport { BannerMessage } from './BannerMessage';\nimport { _ComplianceBannerStrings } from './types';\nimport { ComplianceBannerVariant } from './Utils';\nconst BANNER_OVERWRITE_DELAY_MS = 3000;\n\n/** @private */\nexport interface TimestampedVariant {\n variant: ComplianceBannerVariant;\n // Milliseconds since epoch (i.e., return value of Date.now()).\n lastUpdated: number;\n}\n\n/**\n * Shows a {@link BannerMessage} in a {@link MessageBar} tracking `variant` internally.\n *\n * This component delays and combines frequent updates to `variant` such that:\n * - Updates that happen within {@link BANNER_OVERWRITE_DELAY_MS} are delayed.\n * - Once {@link BANNER_OVERWRITE_DELAY_MS} has passed since the last update, the _latest_ pending update is shown.\n *\n * This ensures that there is enough time for the user to see a banner message before it is overwritten.\n * In case of multiple delayed messages, the user always sees the final message as it reflects the final state\n * of recording and transcription.\n *\n * @private\n */\nexport function DelayedUpdateBanner(props: {\n variant: TimestampedVariant;\n onDismiss: () => void;\n strings: _ComplianceBannerStrings;\n}): JSX.Element {\n const {\n variant,\n lastUpdated: variantLastUpdated\n } = props.variant;\n\n // Tracks the variant that is currently visible in the UI.\n const [visible, setVisible] = useState<TimestampedVariant>({\n variant,\n lastUpdated: Date.now()\n });\n const pendingUpdateHandle = useRef<ReturnType<typeof setTimeout> | null>(null);\n if (variant !== visible.variant && variantLastUpdated > visible.lastUpdated) {\n // Always clear pending updates.\n // We'll either update now, or schedule an update for later.\n if (pendingUpdateHandle.current) {\n clearTimeout(pendingUpdateHandle.current);\n }\n const now = Date.now();\n const timeToNextUpdate = BANNER_OVERWRITE_DELAY_MS - (now - visible.lastUpdated);\n if (variant === 'NO_STATE' || timeToNextUpdate <= 0) {\n setVisible({\n variant,\n lastUpdated: now\n });\n } else {\n pendingUpdateHandle.current = setTimeout(() => {\n // Set the actual update time, not the computed time when the update should happen.\n // The actual update might be later than we planned.\n setVisible({\n variant,\n lastUpdated: Date.now()\n });\n }, timeToNextUpdate);\n }\n }\n if (visible.variant === 'NO_STATE') {\n return <></>;\n }\n return <MessageBar messageBarType={MessageBarType.warning} onDismiss={() => {\n // when closing the banner, change variant to nostate and change stopped state to off state.\n // Reason: on banner close, going back to the default state.\n setVisible({\n variant: 'NO_STATE',\n lastUpdated: Date.now()\n });\n props.onDismiss();\n }} dismissButtonAriaLabel={props.strings.close}>\n <BannerMessage variant={visible.variant} strings={props.strings} />\n </MessageBar>;\n}"]}
1
+ {"version":3,"file":"DelayedUpdateBanner.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ComplianceBanner/DelayedUpdateBanner.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,KAAK,EAAE,EAAE,MAA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AC,CAAC;QACvB,CAAC;IACH,CAAC;IAED,IAAI,OAAO,CAAC,OAAO,KAAK,UAAU,EAAE,CAAC;QACnC,OAAO,yCAAK,CAAC;IACf,CAAC;IAED,OAAO,CACL,oBAAC,UAAU,IACT,cAAc,EAAE,cAAc,CAAC,OAAO,EACtC,SAAS,EAAE,GAAG,EAAE;YACd,4FAA4F;YAC5F,4DAA4D;YAC5D,UAAU,CAAC;gBACT,OAAO,EAAE,UAAU;gBACnB,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE;aACxB,CAAC,CAAC;YACH,KAAK,CAAC,SAAS,EAAE,CAAC;QACpB,CAAC,EACD,sBAAsB,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;QAE3C,oBAAC,aAAa,IAAC,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,GAAI,CACxD,CACd,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { MessageBar, MessageBarType } from '@fluentui/react';\nimport React, { useRef, useState } from 'react';\nimport { BannerMessage } from './BannerMessage';\nimport { _ComplianceBannerStrings } from './types';\nimport { ComplianceBannerVariant } from './Utils';\n\nconst BANNER_OVERWRITE_DELAY_MS = 3000;\n\n/** @private */\nexport interface TimestampedVariant {\n variant: ComplianceBannerVariant;\n // Milliseconds since epoch (i.e., return value of Date.now()).\n lastUpdated: number;\n}\n\n/**\n * Shows a {@link BannerMessage} in a {@link MessageBar} tracking `variant` internally.\n *\n * This component delays and combines frequent updates to `variant` such that:\n * - Updates that happen within {@link BANNER_OVERWRITE_DELAY_MS} are delayed.\n * - Once {@link BANNER_OVERWRITE_DELAY_MS} has passed since the last update, the _latest_ pending update is shown.\n *\n * This ensures that there is enough time for the user to see a banner message before it is overwritten.\n * In case of multiple delayed messages, the user always sees the final message as it reflects the final state\n * of recording and transcription.\n *\n * @private\n */\nexport function DelayedUpdateBanner(props: {\n variant: TimestampedVariant;\n onDismiss: () => void;\n strings: _ComplianceBannerStrings;\n}): JSX.Element {\n const { variant, lastUpdated: variantLastUpdated } = props.variant;\n\n // Tracks the variant that is currently visible in the UI.\n const [visible, setVisible] = useState<TimestampedVariant>({\n variant,\n lastUpdated: Date.now()\n });\n const pendingUpdateHandle = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n if (variant !== visible.variant && variantLastUpdated > visible.lastUpdated) {\n // Always clear pending updates.\n // We'll either update now, or schedule an update for later.\n if (pendingUpdateHandle.current) {\n clearTimeout(pendingUpdateHandle.current);\n }\n\n const now = Date.now();\n const timeToNextUpdate = BANNER_OVERWRITE_DELAY_MS - (now - visible.lastUpdated);\n if (variant === 'NO_STATE' || timeToNextUpdate <= 0) {\n setVisible({\n variant,\n lastUpdated: now\n });\n } else {\n pendingUpdateHandle.current = setTimeout(() => {\n // Set the actual update time, not the computed time when the update should happen.\n // The actual update might be later than we planned.\n setVisible({\n variant,\n lastUpdated: Date.now()\n });\n }, timeToNextUpdate);\n }\n }\n\n if (visible.variant === 'NO_STATE') {\n return <></>;\n }\n\n return (\n <MessageBar\n messageBarType={MessageBarType.warning}\n onDismiss={() => {\n // when closing the banner, change variant to nostate and change stopped state to off state.\n // Reason: on banner close, going back to the default state.\n setVisible({\n variant: 'NO_STATE',\n lastUpdated: Date.now()\n });\n props.onDismiss();\n }}\n dismissButtonAriaLabel={props.strings.close}\n >\n <BannerMessage variant={visible.variant} strings={props.strings} />\n </MessageBar>\n );\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Utils.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/ComplianceBanner/Utils.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAOlC;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,eAAgC,EAAE,mBAAoC,EAA2B,EAAE;IAChI,IAAI,eAAe,KAAK,IAAI,IAAI,mBAAmB,KAAK,IAAI,EAAE,CAAC;QAC7D,OAAO,qCAAqC,CAAC;IAC/C,CAAC;SAAM,IAAI,eAAe,KAAK,IAAI,IAAI,mBAAmB,KAAK,KAAK,EAAE,CAAC;QACrE,OAAO,mBAAmB,CAAC;IAC7B,CAAC;SAAM,IAAI,eAAe,KAAK,KAAK,IAAI,mBAAmB,KAAK,IAAI,EAAE,CAAC;QACrE,OAAO,uBAAuB,CAAC;IACjC,CAAC;SAAM,IAAI,eAAe,KAAK,IAAI,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;QACzE,OAAO,uCAAuC,CAAC;IACjD,CAAC;SAAM,IAAI,eAAe,KAAK,SAAS,IAAI,mBAAmB,KAAK,IAAI,EAAE,CAAC;QACzE,OAAO,sCAAsC,CAAC;IAChD,CAAC;SAAM,IAAI,eAAe,KAAK,KAAK,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;QAC1E,OAAO,uBAAuB,CAAC;IACjC,CAAC;SAAM,IAAI,eAAe,KAAK,SAAS,IAAI,mBAAmB,KAAK,KAAK,EAAE,CAAC;QAC1E,OAAO,mBAAmB,CAAC;IAC7B,CAAC;SAAM,IAAI,eAAe,KAAK,SAAS,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;QAC9E,OAAO,qCAAqC,CAAC;IAC/C,CAAC;SAAM,CAAC;QACN,OAAO,UAAU,CAAC;IACpB,CAAC;AACH,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * @private\n */\nexport type ComplianceState = 'on' | 'off' | 'stopped';\n\n/**\n * Return different conditions based on the current and previous state of recording and transcribing\n *\n * @param callRecordState - The current call record state: on, off, stopped\n * @param callTranscribeState - The current call transcribe state: on, off, stopped\n *\n * @remarks - The stopped state means: previously on but currently off\n *\n * @private\n */\nexport const computeVariant = (callRecordState: ComplianceState, callTranscribeState: ComplianceState): ComplianceBannerVariant => {\n if (callRecordState === 'on' && callTranscribeState === 'on') {\n return 'RECORDING_AND_TRANSCRIPTION_STARTED';\n } else if (callRecordState === 'on' && callTranscribeState === 'off') {\n return 'RECORDING_STARTED';\n } else if (callRecordState === 'off' && callTranscribeState === 'on') {\n return 'TRANSCRIPTION_STARTED';\n } else if (callRecordState === 'on' && callTranscribeState === 'stopped') {\n return 'TRANSCRIPTION_STOPPED_STILL_RECORDING';\n } else if (callRecordState === 'stopped' && callTranscribeState === 'on') {\n return 'RECORDING_STOPPED_STILL_TRANSCRIBING';\n } else if (callRecordState === 'off' && callTranscribeState === 'stopped') {\n return 'TRANSCRIPTION_STOPPED';\n } else if (callRecordState === 'stopped' && callTranscribeState === 'off') {\n return 'RECORDING_STOPPED';\n } else if (callRecordState === 'stopped' && callTranscribeState === 'stopped') {\n return 'RECORDING_AND_TRANSCRIPTION_STOPPED';\n } else {\n return 'NO_STATE';\n }\n};\n\n/**\n * @private\n */\nexport type ComplianceBannerVariant = 'NO_STATE' | 'TRANSCRIPTION_STOPPED_STILL_RECORDING' | 'RECORDING_STOPPED_STILL_TRANSCRIBING' | 'RECORDING_AND_TRANSCRIPTION_STOPPED' | 'RECORDING_AND_TRANSCRIPTION_STARTED' | 'TRANSCRIPTION_STARTED' | 'RECORDING_STOPPED' | 'RECORDING_STARTED' | 'TRANSCRIPTION_STOPPED';"]}
1
+ {"version":3,"file":"Utils.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ComplianceBanner/Utils.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAOlC;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,eAAgC,EAChC,mBAAoC,EACX,EAAE;IAC3B,IAAI,eAAe,KAAK,IAAI,IAAI,mBAAmB,KAAK,IAAI,EAAE,CAAC;QAC7D,OAAO,qCAAqC,CAAC;IAC/C,CAAC;SAAM,IAAI,eAAe,KAAK,IAAI,IAAI,mBAAmB,KAAK,KAAK,EAAE,CAAC;QACrE,OAAO,mBAAmB,CAAC;IAC7B,CAAC;SAAM,IAAI,eAAe,KAAK,KAAK,IAAI,mBAAmB,KAAK,IAAI,EAAE,CAAC;QACrE,OAAO,uBAAuB,CAAC;IACjC,CAAC;SAAM,IAAI,eAAe,KAAK,IAAI,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;QACzE,OAAO,uCAAuC,CAAC;IACjD,CAAC;SAAM,IAAI,eAAe,KAAK,SAAS,IAAI,mBAAmB,KAAK,IAAI,EAAE,CAAC;QACzE,OAAO,sCAAsC,CAAC;IAChD,CAAC;SAAM,IAAI,eAAe,KAAK,KAAK,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;QAC1E,OAAO,uBAAuB,CAAC;IACjC,CAAC;SAAM,IAAI,eAAe,KAAK,SAAS,IAAI,mBAAmB,KAAK,KAAK,EAAE,CAAC;QAC1E,OAAO,mBAAmB,CAAC;IAC7B,CAAC;SAAM,IAAI,eAAe,KAAK,SAAS,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;QAC9E,OAAO,qCAAqC,CAAC;IAC/C,CAAC;SAAM,CAAC;QACN,OAAO,UAAU,CAAC;IACpB,CAAC;AACH,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * @private\n */\nexport type ComplianceState = 'on' | 'off' | 'stopped';\n\n/**\n * Return different conditions based on the current and previous state of recording and transcribing\n *\n * @param callRecordState - The current call record state: on, off, stopped\n * @param callTranscribeState - The current call transcribe state: on, off, stopped\n *\n * @remarks - The stopped state means: previously on but currently off\n *\n * @private\n */\nexport const computeVariant = (\n callRecordState: ComplianceState,\n callTranscribeState: ComplianceState\n): ComplianceBannerVariant => {\n if (callRecordState === 'on' && callTranscribeState === 'on') {\n return 'RECORDING_AND_TRANSCRIPTION_STARTED';\n } else if (callRecordState === 'on' && callTranscribeState === 'off') {\n return 'RECORDING_STARTED';\n } else if (callRecordState === 'off' && callTranscribeState === 'on') {\n return 'TRANSCRIPTION_STARTED';\n } else if (callRecordState === 'on' && callTranscribeState === 'stopped') {\n return 'TRANSCRIPTION_STOPPED_STILL_RECORDING';\n } else if (callRecordState === 'stopped' && callTranscribeState === 'on') {\n return 'RECORDING_STOPPED_STILL_TRANSCRIBING';\n } else if (callRecordState === 'off' && callTranscribeState === 'stopped') {\n return 'TRANSCRIPTION_STOPPED';\n } else if (callRecordState === 'stopped' && callTranscribeState === 'off') {\n return 'RECORDING_STOPPED';\n } else if (callRecordState === 'stopped' && callTranscribeState === 'stopped') {\n return 'RECORDING_AND_TRANSCRIPTION_STOPPED';\n } else {\n return 'NO_STATE';\n }\n};\n\n/**\n * @private\n */\nexport type ComplianceBannerVariant =\n | 'NO_STATE'\n | 'TRANSCRIPTION_STOPPED_STILL_RECORDING'\n | 'RECORDING_STOPPED_STILL_TRANSCRIBING'\n | 'RECORDING_AND_TRANSCRIPTION_STOPPED'\n | 'RECORDING_AND_TRANSCRIPTION_STARTED'\n | 'TRANSCRIPTION_STARTED'\n | 'RECORDING_STOPPED'\n | 'RECORDING_STARTED'\n | 'TRANSCRIPTION_STOPPED';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/ComplianceBanner/index.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { _ComplianceBanner } from './ComplianceBanner';\nexport type { _ComplianceBannerProps, _ComplianceBannerStrings } from './types';"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ComplianceBanner/index.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { _ComplianceBanner } from './ComplianceBanner';\nexport type { _ComplianceBannerProps, _ComplianceBannerStrings } from './types';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/ComplianceBanner/types.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Subset of `CallCompositeStrings` needed by the ComplianceBanner component.\n * @internal\n */\nexport interface _ComplianceBannerStrings {\n close: string;\n complianceBannerNowOnlyRecording: string;\n complianceBannerNowOnlyTranscription: string;\n complianceBannerRecordingAndTranscriptionSaved: string;\n complianceBannerRecordingAndTranscriptionStarted: string;\n complianceBannerRecordingAndTranscriptionStopped: string;\n complianceBannerRecordingSaving: string;\n complianceBannerRecordingStarted: string;\n complianceBannerRecordingStopped: string;\n complianceBannerTranscriptionConsent: string;\n complianceBannerTranscriptionSaving: string;\n complianceBannerTranscriptionStarted: string;\n complianceBannerTranscriptionStopped: string;\n learnMore: string;\n privacyPolicy: string;\n}\n\n/**\n * @internal\n */\nexport type _ComplianceBannerProps = {\n callTranscribeState?: boolean;\n callRecordState?: boolean;\n strings: _ComplianceBannerStrings;\n};"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ComplianceBanner/types.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Subset of `CallCompositeStrings` needed by the ComplianceBanner component.\n * @internal\n */\nexport interface _ComplianceBannerStrings {\n close: string;\n complianceBannerNowOnlyRecording: string;\n complianceBannerNowOnlyTranscription: string;\n complianceBannerRecordingAndTranscriptionSaved: string;\n complianceBannerRecordingAndTranscriptionStarted: string;\n complianceBannerRecordingAndTranscriptionStopped: string;\n complianceBannerRecordingSaving: string;\n complianceBannerRecordingStarted: string;\n complianceBannerRecordingStopped: string;\n complianceBannerTranscriptionConsent: string;\n complianceBannerTranscriptionSaving: string;\n complianceBannerTranscriptionStarted: string;\n complianceBannerTranscriptionStopped: string;\n learnMore: string;\n privacyPolicy: string;\n}\n\n/**\n * @internal\n */\nexport type _ComplianceBannerProps = {\n callTranscribeState?: boolean;\n callRecordState?: boolean;\n strings: _ComplianceBannerStrings;\n};\n"]}
@@ -5,11 +5,7 @@ import React, { useMemo } from 'react';
5
5
  import { controlBarStyles } from './styles/ControlBar.styles';
6
6
  import { useTheme } from '../theming';
7
7
  import { isDarkThemed } from '../theming/themeUtils';
8
- const mainDivStyle = {
9
- position: 'relative',
10
- height: '100%',
11
- width: '100%'
12
- };
8
+ const mainDivStyle = { position: 'relative', height: '100%', width: '100%' };
13
9
  /**
14
10
  * A container for various buttons for call controls.
15
11
  *
@@ -27,18 +23,18 @@ export const ControlBar = (props) => {
27
23
  const backgroundStyle = {
28
24
  background: isDarkThemed(theme) && (layout === null || layout === void 0 ? void 0 : layout.startsWith('floating')) ? theme.palette.neutralQuaternaryAlt : theme.palette.white
29
25
  };
30
- const borderAndBoxShadowStyle = (layout === null || layout === void 0 ? void 0 : layout.startsWith('floating')) ? {
31
- boxShadow: theme.effects.elevation16,
32
- borderRadius: theme.effects.roundedCorner6
33
- } : {};
26
+ const borderAndBoxShadowStyle = (layout === null || layout === void 0 ? void 0 : layout.startsWith('floating'))
27
+ ? {
28
+ boxShadow: theme.effects.elevation16,
29
+ borderRadius: theme.effects.roundedCorner6
30
+ }
31
+ : {};
34
32
  // if rtl is true and layout is either floatingTop or floatingBottom then we need to override the transform-style property
35
33
  // to translate 50% to right instead of the left
36
- const transformOverrideStyle = theme.rtl && (layout === 'floatingTop' || layout === 'floatingBottom') ? {
37
- transform: 'translateX(50%)'
38
- } : {};
34
+ const transformOverrideStyle = theme.rtl && (layout === 'floatingTop' || layout === 'floatingBottom') ? { transform: 'translateX(50%)' } : {};
39
35
  return mergeStyles(controlBarStyle, backgroundStyle, borderAndBoxShadowStyle, transformOverrideStyle, styles === null || styles === void 0 ? void 0 : styles.root);
40
36
  }, [layout, styles === null || styles === void 0 ? void 0 : styles.root, theme]);
41
- return React.createElement("div", { className: mergeStyles(mainDivStyle) },
42
- React.createElement(Stack, { className: controlBarClassName }, props.children));
37
+ return (React.createElement("div", { className: mergeStyles(mainDivStyle) },
38
+ React.createElement(Stack, { className: controlBarClassName }, props.children)));
43
39
  };
44
40
  //# sourceMappingURL=ControlBar.js.map