@azure/communication-react 1.14.0-beta.2 → 1.14.1-alpha-202403210013

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 (1177) hide show
  1. package/dist/communication-react.d.ts +1020 -89
  2. package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-BgK9tOAk.js +51 -0
  3. package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-BgK9tOAk.js.map +1 -0
  4. package/dist/dist-cjs/communication-react/index-B_kqOVlM.js +38230 -0
  5. package/dist/dist-cjs/communication-react/index-B_kqOVlM.js.map +1 -0
  6. package/dist/dist-cjs/communication-react/index.js +157 -34568
  7. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/common.d.ts +5 -0
  11. package/dist/dist-esm/acs-ui-common/src/common.js +7 -0
  12. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  13. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  14. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  16. package/dist/dist-esm/acs-ui-common/src/identifier.js +4 -1
  17. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/index.d.ts +1 -1
  19. package/dist/dist-esm/acs-ui-common/src/index.js +1 -1
  20. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  21. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  22. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  23. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  24. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  25. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  26. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  27. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  28. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +10 -0
  29. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +19 -3
  30. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +15 -0
  32. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +57 -14
  33. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  34. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +12 -5
  35. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  36. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +25 -56
  37. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
  39. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
  40. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +12 -1
  41. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +119 -54
  42. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  43. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +2 -2
  44. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  45. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +15 -1
  46. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +4 -2
  47. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  48. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +2 -6
  49. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
  50. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  51. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  52. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +2 -1
  53. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +13 -9
  54. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  55. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.d.ts +1 -1
  56. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  57. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +1 -0
  58. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  59. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +80 -13
  60. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  61. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  63. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
  64. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  65. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  66. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  67. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  68. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +11 -7
  69. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  70. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +20 -0
  71. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +50 -1
  72. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  73. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +9 -3
  74. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +86 -18
  75. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  76. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +3 -1
  77. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +77 -14
  78. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  79. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  80. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -1
  81. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  82. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +65 -75
  83. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  84. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +145 -1
  85. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  86. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +18 -2
  87. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +166 -25
  88. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  89. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
  90. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  91. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +150 -84
  92. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  93. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  94. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  95. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +6 -1
  96. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +42 -16
  97. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  98. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
  99. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +16 -1
  100. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +38 -2
  101. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  102. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +6 -1
  103. package/dist/dist-esm/calling-stateful-client/src/Converter.js +29 -18
  104. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  105. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +51 -57
  106. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  107. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
  108. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  109. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  110. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -15
  111. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  112. package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.d.ts +17 -0
  113. package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js +36 -0
  114. package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js.map +1 -0
  115. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  116. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  117. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -4
  118. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
  119. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.d.ts +18 -0
  120. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js +49 -0
  121. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js.map +1 -0
  122. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  123. package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js +0 -2
  124. package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -1
  125. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.d.ts +16 -0
  126. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +24 -0
  127. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -0
  128. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.d.ts +1 -0
  129. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js +11 -0
  130. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  131. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  132. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.d.ts +16 -0
  133. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +30 -0
  134. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -0
  135. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +2 -0
  136. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +65 -67
  137. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  138. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +32 -24
  139. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  140. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
  141. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  142. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +1 -1
  143. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
  144. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +7 -8
  145. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
  146. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  147. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  148. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
  149. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  150. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
  151. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  152. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +4 -0
  153. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  154. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  155. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  156. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  157. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  158. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  159. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +15 -15
  160. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  161. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  162. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
  163. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  164. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  165. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +2 -1
  166. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +5 -0
  167. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  168. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.d.ts +1 -1
  169. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  170. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  171. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +72 -77
  172. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  173. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  174. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  175. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  176. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  177. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
  178. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  179. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
  180. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  181. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  182. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +10 -3
  183. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  184. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  185. package/dist/dist-esm/chat-stateful-client/src/ChatContext.d.ts +1 -1
  186. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +36 -32
  187. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  188. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  189. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +8 -12
  190. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  191. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  192. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.d.ts +23 -14
  193. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +80 -73
  194. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
  195. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +58 -71
  196. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  197. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +114 -128
  198. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  199. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +4 -1
  200. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  201. package/dist/dist-esm/chat-stateful-client/src/index.d.ts +1 -0
  202. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  203. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.d.ts +2 -2
  204. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  205. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  206. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  207. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  208. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  209. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +9 -1
  210. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  211. package/dist/dist-esm/communication-react/src/index.d.ts +9 -2
  212. package/dist/dist-esm/communication-react/src/index.js +2 -2
  213. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  214. package/dist/dist-esm/communication-react/src/mergedHooks.d.ts +1 -1
  215. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  216. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +3 -6
  217. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  218. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  219. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  220. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +4 -10
  221. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  222. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  223. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  224. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  225. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  226. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  227. package/dist/dist-esm/react-components/src/components/CameraButton.js +8 -19
  228. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  229. package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
  230. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
  231. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +9 -8
  232. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
  233. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +43 -24
  234. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  235. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +2 -5
  236. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  237. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +37 -22
  238. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  239. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +2 -2
  240. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +49 -65
  241. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  242. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.d.ts +18 -0
  243. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.js +102 -0
  244. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.js.map +1 -0
  245. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +33 -26
  246. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  247. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +3 -3
  248. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +41 -48
  249. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  250. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +9 -5
  251. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
  252. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +1 -1
  253. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -1
  254. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.d.ts +46 -0
  255. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +86 -0
  256. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -0
  257. package/dist/dist-esm/react-components/src/components/ChatMessage/{FluentChatMessageComponentWrapper.d.ts → MessageComponents/FluentChatMessageComponent.d.ts} +6 -7
  258. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +117 -0
  259. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js.map +1 -0
  260. package/dist/dist-esm/react-components/src/components/ChatMessage/{ChatMessageComponent.d.ts → MyMessageComponents/ChatMyMessageComponent.d.ts} +9 -9
  261. package/dist/dist-esm/react-components/src/components/ChatMessage/{ChatMessageComponent.js → MyMessageComponents/ChatMyMessageComponent.js} +16 -12
  262. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -0
  263. package/dist/dist-esm/react-components/src/components/ChatMessage/{ChatMessageComponentAsMessageBubble.d.ts → MyMessageComponents/ChatMyMessageComponentAsMessageBubble.d.ts} +10 -19
  264. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +158 -0
  265. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -0
  266. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.d.ts +12 -0
  267. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +123 -0
  268. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -0
  269. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  270. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  271. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
  272. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  273. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  274. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  275. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  276. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  277. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  278. package/dist/dist-esm/react-components/src/components/ControlBar.js +10 -14
  279. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  280. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  281. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  282. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +3 -14
  283. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  284. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +4 -10
  285. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -1
  286. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +14 -31
  287. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -1
  288. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
  289. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  290. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +24 -6
  291. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -1
  292. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +12 -20
  293. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -1
  294. package/dist/dist-esm/react-components/src/components/DevicesButton.js +19 -27
  295. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  296. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js +12 -48
  297. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
  298. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +45 -51
  299. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  300. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  301. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  302. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  303. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  304. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +20 -9
  305. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  306. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.d.ts +4 -0
  307. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  308. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  309. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
  310. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  311. package/dist/dist-esm/react-components/src/components/Drawer/ReactionDrawerMenuItem.d.ts +29 -0
  312. package/dist/dist-esm/react-components/src/components/Drawer/ReactionDrawerMenuItem.js +60 -0
  313. package/dist/dist-esm/react-components/src/components/Drawer/ReactionDrawerMenuItem.js.map +1 -0
  314. package/dist/dist-esm/react-components/src/components/Drawer/index.d.ts +2 -0
  315. package/dist/dist-esm/react-components/src/components/Drawer/index.js +2 -0
  316. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  317. package/dist/dist-esm/react-components/src/components/EndCallButton.js +3 -7
  318. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  319. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +4 -0
  320. package/dist/dist-esm/react-components/src/components/ErrorBar.js +9 -5
  321. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  322. package/dist/dist-esm/react-components/src/components/FileCard.js +3 -4
  323. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  324. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  325. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  326. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +3 -30
  327. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +12 -26
  328. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  329. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +8 -7
  330. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  331. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  332. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  333. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  334. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  335. package/dist/dist-esm/react-components/src/components/HoldButton.js +1 -1
  336. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -1
  337. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +7 -9
  338. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  339. package/dist/dist-esm/react-components/src/components/ImageOverlay.d.ts +3 -3
  340. package/dist/dist-esm/react-components/src/components/ImageOverlay.js +21 -29
  341. package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
  342. package/dist/dist-esm/react-components/src/components/InputBoxButton.d.ts +1 -0
  343. package/dist/dist-esm/react-components/src/components/InputBoxButton.js +4 -11
  344. package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
  345. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +5 -7
  346. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  347. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
  348. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  349. package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +13 -0
  350. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +136 -18
  351. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  352. package/dist/dist-esm/react-components/src/components/MentionPopover.js +17 -14
  353. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -1
  354. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js +2 -2
  355. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js.map +1 -1
  356. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  357. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js +20 -33
  358. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js.map +1 -1
  359. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +1 -1
  360. package/dist/dist-esm/react-components/src/components/MessageThread.js +82 -52
  361. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  362. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +17 -14
  363. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  364. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +94 -101
  365. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  366. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +2 -0
  367. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +15 -21
  368. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  369. package/dist/dist-esm/react-components/src/components/ParticipantList.js +51 -44
  370. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  371. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +46 -32
  372. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  373. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  374. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  375. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  376. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  377. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +6 -19
  378. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
  379. package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +56 -0
  380. package/dist/dist-esm/react-components/src/components/ReactionButton.js +89 -0
  381. package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -0
  382. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +7 -0
  383. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +53 -14
  384. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  385. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  386. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  387. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +2 -2
  388. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  389. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.d.ts +41 -0
  390. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +83 -0
  391. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +1 -0
  392. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.d.ts +29 -0
  393. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +60 -0
  394. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +1 -0
  395. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextRibbonButtons.d.ts +12 -0
  396. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextRibbonButtons.js +86 -0
  397. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextRibbonButtons.js.map +1 -0
  398. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.d.ts +92 -0
  399. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +129 -0
  400. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -0
  401. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.d.ts +16 -0
  402. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js +68 -0
  403. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js.map +1 -0
  404. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
  405. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  406. package/dist/dist-esm/react-components/src/components/SendBox.js +26 -22
  407. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  408. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +3 -3
  409. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  410. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  411. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +2 -4
  412. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
  413. package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
  414. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  415. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.d.ts +64 -0
  416. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +55 -0
  417. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -0
  418. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +18 -0
  419. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +57 -0
  420. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -0
  421. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.d.ts +141 -0
  422. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js +4 -0
  423. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +1 -0
  424. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +61 -0
  425. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +128 -0
  426. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -0
  427. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +22 -0
  428. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +55 -0
  429. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -0
  430. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  431. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  432. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +70 -25
  433. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -1
  434. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +55 -49
  435. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -1
  436. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  437. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  438. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
  439. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  440. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +1 -1
  441. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  442. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +1 -1
  443. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  444. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +4 -8
  445. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  446. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +1 -1
  447. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  448. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +16 -42
  449. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  450. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +3 -1
  451. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  452. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +8 -12
  453. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  454. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +6 -12
  455. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  456. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -2
  457. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  458. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +29 -23
  459. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  460. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +14 -10
  461. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  462. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +55 -36
  463. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  464. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
  465. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
  466. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +17 -0
  467. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +111 -0
  468. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -0
  469. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +4 -0
  470. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  471. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  472. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  473. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +9 -17
  474. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  475. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts +1 -0
  476. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +15 -7
  477. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  478. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +2 -4
  479. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  480. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +48 -32
  481. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
  482. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
  483. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  484. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +9 -34
  485. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  486. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
  487. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  488. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  489. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  490. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  491. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  492. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +1 -3
  493. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  494. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
  495. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  496. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
  497. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  498. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
  499. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  500. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +11 -0
  501. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +72 -34
  502. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  503. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  504. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +8 -1
  505. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +122 -100
  506. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  507. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +44 -2
  508. package/dist/dist-esm/react-components/src/components/VideoGallery.js +178 -43
  509. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  510. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +16 -0
  511. package/dist/dist-esm/react-components/src/components/VideoTile.js +91 -64
  512. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  513. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +2 -4
  514. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  515. package/dist/dist-esm/react-components/src/components/index.d.ts +11 -0
  516. package/dist/dist-esm/react-components/src/components/index.js +13 -2
  517. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  518. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -1
  519. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
  520. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
  521. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +4 -0
  522. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +12 -6
  523. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  524. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  525. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  526. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  527. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.d.ts +10 -4
  528. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js +17 -4
  529. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  530. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  531. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  532. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  533. package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js +2 -6
  534. package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js.map +1 -1
  535. package/dist/dist-esm/react-components/src/components/styles/InputBoxButton.style.js.map +1 -1
  536. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +2 -5
  537. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  538. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -1
  539. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  540. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +4 -10
  541. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  542. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.d.ts +0 -1
  543. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +2 -3
  544. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  545. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  546. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.d.ts +36 -0
  547. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +120 -0
  548. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -0
  549. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +54 -0
  550. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +156 -0
  551. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -0
  552. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.d.ts +17 -0
  553. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js +30 -0
  554. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js.map +1 -0
  555. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +15 -0
  556. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +24 -21
  557. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  558. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -1
  559. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +1 -1
  560. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +3 -6
  561. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  562. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  563. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +1 -2
  564. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  565. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  566. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -1
  567. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +1 -2
  568. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  569. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +5 -19
  570. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  571. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +11 -0
  572. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +37 -0
  573. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  574. package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
  575. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +23 -0
  576. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +44 -0
  577. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -0
  578. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.d.ts +29 -0
  579. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +88 -0
  580. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -0
  581. package/dist/dist-esm/react-components/src/components/utils/Datetime.js +1 -4
  582. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  583. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +1 -1
  584. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +4 -3
  585. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  586. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  587. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  588. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  589. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +4 -7
  590. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  591. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  592. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -1
  593. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  594. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  595. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  596. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
  597. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  598. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
  599. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  600. package/dist/dist-esm/react-components/src/components/utils.d.ts +0 -6
  601. package/dist/dist-esm/react-components/src/components/utils.js +13 -18
  602. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  603. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.d.ts +2 -3
  604. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +9 -7
  605. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  606. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  607. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +0 -2
  608. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  609. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  610. package/dist/dist-esm/react-components/src/index.d.ts +5 -0
  611. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  612. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +9 -0
  613. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  614. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  615. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js +1 -3
  616. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
  617. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +23 -4
  618. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js +1 -3
  619. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
  620. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +23 -4
  621. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js +1 -3
  622. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
  623. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +23 -4
  624. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js +1 -3
  625. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
  626. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +23 -4
  627. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +3 -1
  628. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js +1 -3
  629. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
  630. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +23 -4
  631. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js +1 -3
  632. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
  633. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +23 -4
  634. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js +1 -3
  635. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
  636. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +23 -4
  637. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js +1 -3
  638. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
  639. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +23 -4
  640. package/dist/dist-esm/react-components/src/localization/locales/index.js +1 -3
  641. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  642. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js +1 -3
  643. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
  644. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +23 -4
  645. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js +1 -3
  646. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
  647. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +25 -6
  648. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js +1 -3
  649. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
  650. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +23 -4
  651. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js +1 -3
  652. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
  653. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +23 -4
  654. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js +1 -3
  655. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
  656. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +23 -4
  657. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js +1 -3
  658. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
  659. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +23 -4
  660. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js +1 -3
  661. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
  662. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +23 -4
  663. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js +1 -3
  664. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
  665. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +23 -4
  666. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js +1 -3
  667. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
  668. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +23 -4
  669. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js +1 -3
  670. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
  671. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +23 -4
  672. package/dist/dist-esm/react-components/src/localization/locales/utils.js +2 -2
  673. package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
  674. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js +1 -3
  675. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
  676. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +23 -4
  677. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js +1 -3
  678. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
  679. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +23 -4
  680. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +8 -10
  681. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  682. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
  683. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  684. package/dist/dist-esm/react-components/src/theming/generateTheme.js +15 -1
  685. package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
  686. package/dist/dist-esm/react-components/src/theming/icons.d.ts +17 -0
  687. package/dist/dist-esm/react-components/src/theming/icons.js +67 -34
  688. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  689. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -1
  690. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  691. package/dist/dist-esm/react-components/src/theming/themeDuplicates.js.map +1 -1
  692. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  693. package/dist/dist-esm/react-components/src/theming/themes.d.ts +1 -1
  694. package/dist/dist-esm/react-components/src/theming/themes.js +2 -4
  695. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  696. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +8 -7
  697. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
  698. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -1
  699. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  700. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +3 -10
  701. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  702. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  703. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  704. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  705. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  706. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +34 -0
  707. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  708. package/dist/dist-esm/react-components/src/types/ReactionTypes.d.ts +44 -1
  709. package/dist/dist-esm/react-components/src/types/ReactionTypes.js +2 -1
  710. package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
  711. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  712. package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -1
  713. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
  714. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +16 -0
  715. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  716. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  717. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -1
  718. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +46 -0
  719. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +60 -43
  720. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  721. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +110 -0
  722. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  723. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +20 -2
  724. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +229 -97
  725. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  726. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +54 -0
  727. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +7 -1
  728. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  729. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  730. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +14 -7
  731. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
  732. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  733. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -3
  734. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  735. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  736. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +1 -1
  737. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +11 -5
  738. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  739. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +1 -0
  740. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  741. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +4 -0
  742. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +147 -43
  743. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  744. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +55 -72
  745. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  746. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +2 -2
  747. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +133 -141
  748. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -1
  749. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +10 -18
  750. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
  751. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +1 -7
  752. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  753. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +1 -1
  754. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  755. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +1 -7
  756. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  757. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  758. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  759. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +4 -4
  760. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -1
  761. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +4 -4
  762. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  763. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +33 -24
  764. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  765. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +37 -26
  766. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  767. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +26 -30
  768. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  769. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +4 -0
  770. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +80 -50
  771. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  772. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  773. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  774. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
  775. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  776. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.d.ts +73 -0
  777. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js +41 -0
  778. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js.map +1 -0
  779. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.d.ts +1 -0
  780. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +30 -11
  781. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  782. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  783. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +7 -0
  784. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +119 -8
  785. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  786. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +13 -8
  787. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
  788. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  789. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  790. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +3 -5
  791. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
  792. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +9 -3
  793. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  794. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +19 -11
  795. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  796. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +5 -2
  797. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  798. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +7 -11
  799. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  800. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  801. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  802. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +1 -1
  803. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -1
  804. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -9
  805. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
  806. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.d.ts +16 -0
  807. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +26 -0
  808. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js.map +1 -0
  809. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +3 -1
  810. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  811. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.d.ts +2 -2
  812. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +7 -7
  813. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  814. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts +2 -1
  815. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +72 -14
  816. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  817. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.d.ts +2 -1
  818. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  819. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.d.ts +1 -1
  820. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  821. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  822. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +2 -0
  823. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  824. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +32 -37
  825. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  826. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +75 -32
  827. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  828. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +5 -14
  829. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -1
  830. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +13 -7
  831. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
  832. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +15 -7
  833. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  834. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +3 -3
  835. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  836. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.d.ts +56 -0
  837. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js +29 -0
  838. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js.map +1 -0
  839. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.d.ts +14 -0
  840. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js +27 -0
  841. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js.map +1 -0
  842. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +23 -23
  843. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
  844. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +3 -3
  845. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -1
  846. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  847. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  848. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  849. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +2 -1
  850. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
  851. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +0 -1
  852. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  853. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  854. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  855. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
  856. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +1 -4
  857. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
  858. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +14 -0
  859. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +13 -0
  860. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +1 -0
  861. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  862. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  863. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -1
  864. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
  865. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  866. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  867. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  868. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
  869. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +7 -5
  870. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  871. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +4 -4
  872. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  873. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  874. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +10 -10
  875. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +1 -3
  876. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  877. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  878. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  879. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  880. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  881. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  882. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  883. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  884. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  885. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  886. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  887. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  888. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  889. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +5 -5
  890. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  891. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  892. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  893. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
  894. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  895. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +11 -11
  896. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  897. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  898. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  899. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js.map +1 -1
  900. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
  901. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  902. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -1
  903. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +2 -9
  904. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  905. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  906. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +1 -2
  907. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  908. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  909. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  910. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +1 -2
  911. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  912. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +6 -24
  913. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -1
  914. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +2 -2
  915. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  916. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
  917. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  918. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +11 -15
  919. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  920. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +17 -11
  921. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
  922. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +2 -2
  923. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  924. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +1 -1
  925. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +44 -28
  926. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  927. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  928. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts +16 -0
  929. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +136 -0
  930. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -0
  931. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js +2 -2
  932. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js.map +1 -1
  933. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/useConsoleErrors.js.map +1 -1
  934. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +46 -0
  935. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +89 -38
  936. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  937. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  938. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  939. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
  940. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  941. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +6 -9
  942. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  943. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +2 -2
  944. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
  945. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  946. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +10 -0
  947. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +77 -21
  948. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  949. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +33 -3
  950. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  951. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +8 -1
  952. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +30 -5
  953. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  954. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +0 -2
  955. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  956. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
  957. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  958. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  959. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  960. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  961. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  962. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +8 -0
  963. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +6 -1
  964. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  965. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  966. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +14 -0
  967. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +9 -3
  968. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  969. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  970. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  971. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +0 -1
  972. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +88 -78
  973. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  974. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +1 -1
  975. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -1
  976. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +3 -5
  977. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -1
  978. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  979. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +35 -45
  980. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  981. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +15 -20
  982. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  983. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -2
  984. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  985. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  986. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  987. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +11 -6
  988. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  989. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  990. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  991. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.d.ts +2 -2
  992. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +1 -3
  993. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  994. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +8 -3
  995. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  996. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  997. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +1 -1
  998. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +1 -1
  999. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -1
  1000. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +1 -0
  1001. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  1002. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -1
  1003. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +6 -6
  1004. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +3 -5
  1005. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -1
  1006. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  1007. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  1008. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +9 -17
  1009. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  1010. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +23 -25
  1011. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
  1012. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -1
  1013. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +8 -7
  1014. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  1015. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
  1016. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  1017. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +9 -23
  1018. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
  1019. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -1
  1020. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +1 -0
  1021. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +6 -8
  1022. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
  1023. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +12 -16
  1024. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
  1025. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +1 -1
  1026. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
  1027. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
  1028. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  1029. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +2 -0
  1030. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +83 -46
  1031. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  1032. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.d.ts +10 -1
  1033. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +39 -33
  1034. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  1035. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +108 -86
  1036. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  1037. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js +1 -8
  1038. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js.map +1 -1
  1039. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  1040. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  1041. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  1042. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.d.ts +21 -0
  1043. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.js +43 -0
  1044. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.js.map +1 -0
  1045. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +4 -0
  1046. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +107 -151
  1047. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  1048. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -1
  1049. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +3 -0
  1050. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js +0 -1
  1051. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  1052. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageSettingsDrawer.d.ts +21 -0
  1053. package/dist/dist-esm/react-composites/src/composites/common/Drawer/{CaptionSettingsDrawer.js → SpokenLanguageSettingsDrawer.js} +8 -9
  1054. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageSettingsDrawer.js.map +1 -0
  1055. package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -1
  1056. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.d.ts +14 -0
  1057. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js +16 -0
  1058. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js.map +1 -0
  1059. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  1060. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  1061. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +20 -14
  1062. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  1063. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  1064. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  1065. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +11 -13
  1066. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  1067. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +2 -2
  1068. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +19 -8
  1069. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  1070. package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.d.ts +9 -0
  1071. package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js +20 -0
  1072. package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js.map +1 -0
  1073. package/dist/dist-esm/react-composites/src/composites/common/SendBox.d.ts +17 -0
  1074. package/dist/dist-esm/react-composites/src/composites/common/SendBox.js +45 -0
  1075. package/dist/dist-esm/react-composites/src/composites/common/SendBox.js.map +1 -0
  1076. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +3 -0
  1077. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +13 -16
  1078. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  1079. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.d.ts +6 -0
  1080. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js +29 -0
  1081. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -0
  1082. package/dist/dist-esm/react-composites/src/composites/common/Survey.d.ts +20 -0
  1083. package/dist/dist-esm/react-composites/src/composites/common/Survey.js +129 -0
  1084. package/dist/dist-esm/react-composites/src/composites/common/Survey.js.map +1 -0
  1085. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.d.ts +13 -0
  1086. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js +44 -0
  1087. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js.map +1 -0
  1088. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +1 -0
  1089. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +14 -8
  1090. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  1091. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +8 -0
  1092. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +23 -0
  1093. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -0
  1094. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +16 -13
  1095. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  1096. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  1097. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  1098. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +28 -0
  1099. package/dist/dist-esm/react-composites/src/composites/common/icons.js +12 -16
  1100. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  1101. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
  1102. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
  1103. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  1104. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  1105. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +4 -10
  1106. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  1107. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +12 -44
  1108. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  1109. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +6 -29
  1110. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  1111. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
  1112. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  1113. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.d.ts +10 -0
  1114. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js +36 -0
  1115. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js.map +1 -0
  1116. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +11 -0
  1117. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  1118. package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
  1119. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  1120. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  1121. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  1122. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  1123. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  1124. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/CompositeLocale.js.map +1 -1
  1125. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +11 -7
  1126. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
  1127. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +11 -7
  1128. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
  1129. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +11 -7
  1130. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
  1131. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +11 -7
  1132. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +7 -5
  1133. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
  1134. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +11 -7
  1135. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
  1136. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +11 -7
  1137. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
  1138. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +11 -7
  1139. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
  1140. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +11 -7
  1141. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  1142. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
  1143. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +11 -7
  1144. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
  1145. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +11 -7
  1146. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
  1147. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +11 -7
  1148. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
  1149. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +11 -7
  1150. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
  1151. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +11 -7
  1152. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
  1153. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +11 -7
  1154. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
  1155. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +11 -7
  1156. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
  1157. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +11 -7
  1158. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
  1159. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +11 -7
  1160. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
  1161. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +11 -7
  1162. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js +5 -1
  1163. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
  1164. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
  1165. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +11 -7
  1166. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
  1167. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +11 -7
  1168. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  1169. package/dist/tsdoc-metadata.json +1 -1
  1170. package/package.json +11 -12
  1171. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +0 -1
  1172. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +0 -179
  1173. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +0 -1
  1174. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +0 -132
  1175. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +0 -1
  1176. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.d.ts +0 -21
  1177. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +0 -1
@@ -0,0 +1,117 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import React, { useCallback, useMemo } from 'react';
4
+ import { gutterWithAvatar, gutterWithHiddenAvatar, useChatMessageRenderStyles } from '../../styles/MessageThread.styles';
5
+ import { PersonaSize, mergeStyles, Persona } from '@fluentui/react';
6
+ import { mergeClasses } from '@fluentui/react-components';
7
+ import { createStyleFromV8Style } from '../../styles/v8StyleShim';
8
+ import { ChatMessage as FluentChatMessage } from '@fluentui-contrib/react-chat';
9
+ import { getFluentUIAttachedValue } from '../../utils/ChatMessageComponentUtils';
10
+ import { ChatMessageComponentAsMessageBubble } from './ChatMessageComponentAsMessageBubble';
11
+ /**
12
+ * The component for rendering a chat message using Fluent UI components
13
+ * and handling default and custom renderers.
14
+ * This component handles rendering for chat message body, avatar and message status.
15
+ * The chat message body, avatar and message status should be shown for both default and custom renderers.
16
+ *
17
+ * @private
18
+ */
19
+ export const FluentChatMessageComponent = (props) => {
20
+ const { message, styles, shouldOverlapAvatarAndMessage, onRenderMessage, onRenderAvatar,
21
+ /* @conditional-compile-remove(date-time-customization) */
22
+ onDisplayDateTimeString, inlineImageOptions,
23
+ /* @conditional-compile-remove(file-sharing) */
24
+ fileDownloadHandler, userId,
25
+ /* @conditional-compile-remove(file-sharing) */
26
+ onRenderFileDownloads,
27
+ /* @conditional-compile-remove(mention) */
28
+ mentionOptions } = props;
29
+ const chatMessageRenderStyles = useChatMessageRenderStyles();
30
+ const onRenderFileDownloadsMemo = useMemo(() => {
31
+ /* @conditional-compile-remove(file-sharing) */
32
+ return onRenderFileDownloads;
33
+ return undefined;
34
+ }, [/* @conditional-compile-remove(file-sharing) */ onRenderFileDownloads]);
35
+ // To rerender the defaultChatMessageRenderer if app running across days(every new day chat time stamp
36
+ // needs to be regenerated), the dependency on "new Date().toDateString()"" is added.
37
+ const defaultChatMessageRenderer = useCallback((messageProps) => {
38
+ if (messageProps.message.messageType === 'chat' ||
39
+ /* @conditional-compile-remove(data-loss-prevention) */ messageProps.message.messageType === 'blocked') {
40
+ return (React.createElement(ChatMessageComponentAsMessageBubble, Object.assign({}, messageProps, {
41
+ /* @conditional-compile-remove(file-sharing) */
42
+ onRenderFileDownloads: onRenderFileDownloadsMemo,
43
+ /* @conditional-compile-remove(file-sharing) */
44
+ strings: messageProps.strings, message: messageProps.message, userId: userId, shouldOverlapAvatarAndMessage: shouldOverlapAvatarAndMessage,
45
+ /* @conditional-compile-remove(date-time-customization) */
46
+ onDisplayDateTimeString: onDisplayDateTimeString, inlineImageOptions: inlineImageOptions,
47
+ /* @conditional-compile-remove(file-sharing) */
48
+ fileDownloadHandler: fileDownloadHandler,
49
+ /* @conditional-compile-remove(mention) */
50
+ mentionDisplayOptions: mentionOptions === null || mentionOptions === void 0 ? void 0 : mentionOptions.displayOptions })));
51
+ }
52
+ return React.createElement(React.Fragment, null);
53
+ }, [
54
+ onRenderFileDownloadsMemo,
55
+ shouldOverlapAvatarAndMessage,
56
+ userId,
57
+ /* @conditional-compile-remove(date-time-customization) */
58
+ onDisplayDateTimeString,
59
+ inlineImageOptions,
60
+ /* @conditional-compile-remove(file-sharing) */
61
+ fileDownloadHandler,
62
+ /* @conditional-compile-remove(mention) */
63
+ mentionOptions,
64
+ // eslint-disable-next-line react-hooks/exhaustive-deps
65
+ new Date().toDateString()
66
+ ]);
67
+ const messageRenderer = useCallback((messageProps) => {
68
+ return onRenderMessage === undefined
69
+ ? defaultChatMessageRenderer(Object.assign({}, messageProps))
70
+ : onRenderMessage(messageProps, defaultChatMessageRenderer);
71
+ }, [defaultChatMessageRenderer, onRenderMessage]);
72
+ const shouldShowAvatar = useMemo(() => {
73
+ return message.attached === 'top' || message.attached === false;
74
+ }, [message.attached]);
75
+ const attached = useMemo(() => {
76
+ return getFluentUIAttachedValue(message.attached);
77
+ }, [message.attached]);
78
+ const messageRootProps = useMemo(() => {
79
+ return { className: mergeClasses(chatMessageRenderStyles.rootMessage, chatMessageRenderStyles.rootCommon) };
80
+ }, [chatMessageRenderStyles.rootCommon, chatMessageRenderStyles.rootMessage]);
81
+ const messageBodyProps = useMemo(() => {
82
+ return {
83
+ // chatItemMessageContainer used in className and style prop as style prop can't handle CSS selectors
84
+ className: mergeClasses(chatMessageRenderStyles.bodyCommon, !shouldShowAvatar ? chatMessageRenderStyles.bodyWithoutAvatar : chatMessageRenderStyles.bodyWithAvatar, shouldOverlapAvatarAndMessage ? chatMessageRenderStyles.avatarOverlap : chatMessageRenderStyles.avatarNoOverlap, mergeStyles(styles === null || styles === void 0 ? void 0 : styles.chatItemMessageContainer)),
85
+ style: (styles === null || styles === void 0 ? void 0 : styles.chatItemMessageContainer) !== undefined ? createStyleFromV8Style(styles === null || styles === void 0 ? void 0 : styles.chatItemMessageContainer) : {},
86
+ // make body not focusable to remove repetitions from narrators.
87
+ // inner components are already focusable
88
+ tabIndex: -1,
89
+ role: 'none'
90
+ };
91
+ }, [
92
+ chatMessageRenderStyles.avatarNoOverlap,
93
+ chatMessageRenderStyles.avatarOverlap,
94
+ chatMessageRenderStyles.bodyCommon,
95
+ chatMessageRenderStyles.bodyWithAvatar,
96
+ chatMessageRenderStyles.bodyWithoutAvatar,
97
+ shouldOverlapAvatarAndMessage,
98
+ shouldShowAvatar,
99
+ styles === null || styles === void 0 ? void 0 : styles.chatItemMessageContainer
100
+ ]);
101
+ const avatar = useMemo(() => {
102
+ const chatAvatarStyle = shouldShowAvatar ? gutterWithAvatar : gutterWithHiddenAvatar;
103
+ const personaOptions = {
104
+ hidePersonaDetails: true,
105
+ size: PersonaSize.size32,
106
+ text: message.senderDisplayName,
107
+ showOverflowTooltip: false
108
+ };
109
+ 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))));
110
+ }, [message.senderDisplayName, message.senderId, onRenderAvatar, shouldShowAvatar]);
111
+ // Fluent UI message components are used here as for default message renderer,
112
+ // timestamp and author name should be shown but they aren't shown for custom renderer.
113
+ // More investigations are needed to check if this can be simplified with states.
114
+ // Avatar should be shown for both custom and default renderers.
115
+ return (React.createElement(FluentChatMessage, { attached: attached, root: messageRootProps, body: messageBodyProps, avatar: avatar }, messageRenderer(Object.assign({}, props))));
116
+ };
117
+ //# sourceMappingURL=FluentChatMessageComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FluentChatMessageComponent.js","sourceRoot":"","sources":["../../../../../../../../react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EACL,gBA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M,CAAE,wBAAwB;KACjC,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE;QAC1B,MAAM,eAAe,GAAG,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,sBAAsB,CAAC;QACrF,MAAM,cAAc,GAAa;YAC/B,kBAAkB,EAAE,IAAI;YACxB,IAAI,EAAE,WAAW,CAAC,MAAM;YACxB,IAAI,EAAE,OAAO,CAAC,iBAAiB;YAC/B,mBAAmB,EAAE,KAAK;SAC3B,CAAC;QACF,OAAO,CACL,6BAAK,SAAS,EAAE,WAAW,CAAC,eAAe,CAAC,IACzC,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,CACP,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,CAAC,iBAAiB,EAAE,OAAO,CAAC,QAAQ,EAAE,cAAc,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAEpF,8EAA8E;IAC9E,uFAAuF;IACvF,iFAAiF;IACjF,gEAAgE;IAChE,OAAO,CACL,oBAAC,iBAAiB,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,IAClG,eAAe,mBAAM,KAAK,EAAG,CACZ,CACrB,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { _formatString } from '@internal/acs-ui-common';\nimport React, { useCallback, useMemo } from 'react';\nimport { MessageProps, _ChatMessageProps } from '../../MessageThread';\nimport {\n gutterWithAvatar,\n gutterWithHiddenAvatar,\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 { ChatMessage as FluentChatMessage } from '@fluentui-contrib/react-chat';\nimport { getFluentUIAttachedValue } from '../../utils/ChatMessageComponentUtils';\nimport { ChatMessageComponentWrapperProps } from '../ChatMessageComponentWrapper';\n/* @conditional-compile-remove(data-loss-prevention) */\nimport { BlockedMessage } from '../../../types/ChatMessage';\nimport { ChatMessage } from '../../../types/ChatMessage';\nimport { ChatMessageComponentAsMessageBubble } from './ChatMessageComponentAsMessageBubble';\n\n/**\n * Props for {@link FluentChatMessageComponentWrapper}\n *\n * @private\n */\nexport type 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 FluentChatMessageComponent = (props: FluentChatMessageComponentWrapperProps): JSX.Element => {\n const {\n message,\n styles,\n shouldOverlapAvatarAndMessage,\n onRenderMessage,\n onRenderAvatar,\n /* @conditional-compile-remove(date-time-customization) */\n onDisplayDateTimeString,\n inlineImageOptions,\n /* @conditional-compile-remove(file-sharing) */\n fileDownloadHandler,\n userId,\n /* @conditional-compile-remove(file-sharing) */\n onRenderFileDownloads,\n /* @conditional-compile-remove(mention) */\n mentionOptions\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 <ChatMessageComponentAsMessageBubble\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 shouldOverlapAvatarAndMessage={shouldOverlapAvatarAndMessage}\n /* @conditional-compile-remove(date-time-customization) */\n onDisplayDateTimeString={onDisplayDateTimeString}\n inlineImageOptions={inlineImageOptions}\n /* @conditional-compile-remove(file-sharing) */\n fileDownloadHandler={fileDownloadHandler}\n /* @conditional-compile-remove(mention) */\n mentionDisplayOptions={mentionOptions?.displayOptions}\n />\n );\n }\n return <></>;\n },\n [\n onRenderFileDownloadsMemo,\n shouldOverlapAvatarAndMessage,\n userId,\n /* @conditional-compile-remove(date-time-customization) */\n onDisplayDateTimeString,\n inlineImageOptions,\n /* @conditional-compile-remove(file-sharing) */\n fileDownloadHandler,\n /* @conditional-compile-remove(mention) */\n mentionOptions,\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 shouldShowAvatar = useMemo(() => {\n return message.attached === 'top' || message.attached === false;\n }, [message.attached]);\n\n const attached = useMemo(() => {\n return getFluentUIAttachedValue(message.attached);\n }, [message.attached]);\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 // Avatar should be shown for both custom and default renderers.\n return (\n <FluentChatMessage attached={attached} root={messageRootProps} body={messageBodyProps} avatar={avatar}>\n {messageRenderer({ ...props })}\n </FluentChatMessage>\n );\n};\n"]}
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
- import { MessageThreadStrings } from '../MessageThread';
3
- import { ChatMessage, ComponentSlotStyle, OnRenderAvatarCallback } from '../../types';
4
- import { BlockedMessage } from '../../types';
5
- import { FileDownloadHandler, AttachmentMetadata } from '../FileDownloadCards';
6
- import { MentionOptions } from '../MentionPopover';
7
- import { InlineImageOptions } from './ChatMessageContent';
8
- type ChatMessageComponentProps = {
2
+ import { MessageThreadStrings } from '../../MessageThread';
3
+ import { ChatMessage, ComponentSlotStyle, OnRenderAvatarCallback } from '../../../types';
4
+ import { BlockedMessage } from '../../../types';
5
+ import { FileDownloadHandler, AttachmentMetadata } from '../../FileDownloadCards';
6
+ import { MentionOptions } from '../../MentionPopover';
7
+ import { InlineImageOptions } from '../ChatMessageContent';
8
+ type ChatMyMessageComponentProps = {
9
9
  message: ChatMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
10
10
  userId: string;
11
11
  messageContainerStyle?: ComponentSlotStyle;
@@ -77,6 +77,6 @@ type ChatMessageComponentProps = {
77
77
  /**
78
78
  * @private
79
79
  */
80
- export declare const ChatMessageComponent: (props: ChatMessageComponentProps) => JSX.Element;
80
+ export declare const ChatMyMessageComponent: (props: ChatMyMessageComponentProps) => JSX.Element;
81
81
  export {};
82
- //# sourceMappingURL=ChatMessageComponent.d.ts.map
82
+ //# sourceMappingURL=ChatMyMessageComponent.d.ts.map
@@ -10,12 +10,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  });
11
11
  };
12
12
  import React, { useCallback, useState } from 'react';
13
- import { ChatMessageComponentAsEditBox } from './ChatMessageComponentAsEditBox';
14
- import { ChatMessageComponentAsMessageBubble } from './ChatMessageComponentAsMessageBubble';
13
+ import { ChatMessageComponentAsEditBox } from '../ChatMessageComponentAsEditBox';
14
+ import { ChatMyMessageComponentAsMessageBubble } from './ChatMyMessageComponentAsMessageBubble';
15
15
  /**
16
16
  * @private
17
17
  */
18
- export const ChatMessageComponent = (props) => {
18
+ export const ChatMyMessageComponent = (props) => {
19
19
  var _a, _b;
20
20
  const { onDeleteMessage, onSendMessage, message } = props;
21
21
  const [isEditing, setIsEditing] = useState(false);
@@ -36,20 +36,24 @@ export const ChatMessageComponent = (props) => {
36
36
  onSendMessage && onSendMessage(content !== undefined ? content : '');
37
37
  }, [clientMessageId, content, onSendMessage, onDeleteMessage]);
38
38
  if (isEditing && message.messageType === 'chat') {
39
- return React.createElement(ChatMessageComponentAsEditBox, { message: message, strings: props.strings, onSubmit: (text, metadata, options) => __awaiter(void 0, void 0, void 0, function* () {
40
- props.onUpdateMessage && message.messageId && (yield props.onUpdateMessage(message.messageId, text, metadata, options));
39
+ return (React.createElement(ChatMessageComponentAsEditBox, { message: message, strings: props.strings, onSubmit: (text, metadata, options) => __awaiter(void 0, void 0, void 0, function* () {
40
+ props.onUpdateMessage &&
41
+ message.messageId &&
42
+ (yield props.onUpdateMessage(message.messageId, text, metadata, options));
41
43
  setIsEditing(false);
42
- }), onCancel: messageId => {
44
+ }), onCancel: (messageId) => {
43
45
  props.onCancelEditMessage && props.onCancelEditMessage(messageId);
44
46
  setIsEditing(false);
45
47
  },
46
- /* @conditional-compile-remove(mention) */ mentionLookupOptions: (_a = props.mentionOptions) === null || _a === void 0 ? void 0 : _a.lookupOptions });
48
+ /* @conditional-compile-remove(mention) */
49
+ mentionLookupOptions: (_a = props.mentionOptions) === null || _a === void 0 ? void 0 : _a.lookupOptions }));
47
50
  }
48
51
  else {
49
- return React.createElement(ChatMessageComponentAsMessageBubble, Object.assign({}, props, { onRemoveClick: onRemoveClick, onEditClick: onEditClick, onResendClick: onResendClick, onRenderAvatar: props.onRenderAvatar,
50
- /* @conditional-compile-remove(date-time-customization) */ onDisplayDateTimeString: props.onDisplayDateTimeString, strings: props.strings,
51
- /* @conditional-compile-remove(image-overlay) */ inlineImageOptions: props.inlineImageOptions,
52
- /* @conditional-compile-remove(mention) */ mentionDisplayOptions: (_b = props.mentionOptions) === null || _b === void 0 ? void 0 : _b.displayOptions }));
52
+ return (React.createElement(ChatMyMessageComponentAsMessageBubble, Object.assign({}, props, { onRemoveClick: onRemoveClick, onEditClick: onEditClick, onResendClick: onResendClick, onRenderAvatar: props.onRenderAvatar,
53
+ /* @conditional-compile-remove(date-time-customization) */
54
+ onDisplayDateTimeString: props.onDisplayDateTimeString, strings: props.strings, inlineImageOptions: props.inlineImageOptions,
55
+ /* @conditional-compile-remove(mention) */
56
+ mentionDisplayOptions: (_b = props.mentionOptions) === null || _b === void 0 ? void 0 : _b.displayOptions })));
53
57
  }
54
58
  };
55
- //# sourceMappingURL=ChatMessageComponent.js.map
59
+ //# sourceMappingURL=ChatMyMessageComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatMyMessageComponent.js","sourceRoot":"","sources":["../../../../../../../../react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAGlC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AASjF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AA+EhG;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAAkC,EAAe,EAAE;;IACxF,MAAM,EAAE,eAAe,EAAE,aAAa,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC1D,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAElD,MAAM,WAAW,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAE1E,MAAM,eAAe,GAAG,iBAAiB,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;IAC3F,MAAM,OAAO,GAAG,SAAS,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;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AmB,IAAI,KAAK,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;gBAClE,YAAY,CAAC,KAAK,CAAC,CAAC;YACtB,CAAC;YACD,0CAA0C;YAC1C,oBAAoB,EAAE,MAAA,KAAK,CAAC,cAAc,0CAAE,aAAa,GACzD,CACH,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO,CACL,oBAAC,qCAAqC,oBAChC,KAAK,IACT,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,KAAK,CAAC,cAAc;YACpC,0DAA0D;YAC1D,uBAAuB,EAAE,KAAK,CAAC,uBAAuB,EACtD,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,kBAAkB,EAAE,KAAK,CAAC,kBAAkB;YAC5C,0CAA0C;YAC1C,qBAAqB,EAAE,MAAA,KAAK,CAAC,cAAc,0CAAE,cAAc,IAC3D,CACH,CAAC;IACJ,CAAC;AACH,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { _formatString } from '@internal/acs-ui-common';\nimport React, { useCallback, useState } from 'react';\nimport { ChatMessageComponentAsEditBox } from '../ChatMessageComponentAsEditBox';\nimport { MessageThreadStrings } from '../../MessageThread';\nimport { ChatMessage, ComponentSlotStyle, OnRenderAvatarCallback } from '../../../types';\n/* @conditional-compile-remove(data-loss-prevention) */\nimport { BlockedMessage } from '../../../types';\nimport { FileDownloadHandler, AttachmentMetadata } from '../../FileDownloadCards';\n/* @conditional-compile-remove(mention) */\nimport { MentionOptions } from '../../MentionPopover';\nimport { InlineImageOptions } from '../ChatMessageContent';\nimport { ChatMyMessageComponentAsMessageBubble } from './ChatMyMessageComponentAsMessageBubble';\n\ntype ChatMyMessageComponentProps = {\n message: ChatMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;\n userId: string;\n messageContainerStyle?: ComponentSlotStyle;\n showDate?: boolean;\n disableEditing?: boolean;\n onUpdateMessage?: (\n messageId: string,\n content: string,\n metadata?: Record<string, string>,\n options?: {\n attachmentMetadata?: AttachmentMetadata[];\n }\n ) => Promise<void>;\n onCancelEditMessage?: (messageId: string) => void;\n /**\n * Callback to delete a message. Also called before resending a message that failed to send.\n * @param messageId ID of the message to delete\n */\n onDeleteMessage?: (messageId: string) => Promise<void>;\n /**\n * Callback to send a message\n * @param content The message content to send\n */\n onSendMessage?: (content: string) => Promise<void>;\n strings: MessageThreadStrings;\n messageStatus?: string;\n /**\n * Optional text to display when the message status is 'failed'.\n */\n failureReason?: string;\n /**\n * Whether the status indicator for each message is displayed or not.\n */\n showMessageStatus?: boolean;\n /**\n * Whether to overlap avatar and message when the view is width constrained.\n */\n shouldOverlapAvatarAndMessage: boolean;\n /**\n * Optional callback to render uploaded files in the message component.\n */\n onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;\n /**\n * Optional function called when someone clicks on the file download icon.\n */\n fileDownloadHandler?: FileDownloadHandler;\n remoteParticipantsCount?: number;\n onActionButtonClick: (\n message: ChatMessage,\n setMessageReadBy: (readBy: { id: string; displayName: string }[]) => void\n ) => void;\n /**\n * Optional callback to override render of the avatar.\n *\n * @param userId - user Id\n */\n onRenderAvatar?: OnRenderAvatarCallback;\n /* @conditional-compile-remove(date-time-customization) */\n /**\n * Optional function to provide customized date format.\n * @beta\n */\n onDisplayDateTimeString?: (messageDate: Date) => string;\n /* @conditional-compile-remove(mention) */\n /**\n * Optional props needed to lookup suggestions and display mentions in the mention scenario.\n * @beta\n */\n mentionOptions?: MentionOptions;\n /**\n * Optional callback called when an inline image is clicked.\n * @beta\n */\n inlineImageOptions?: InlineImageOptions;\n};\n\n/**\n * @private\n */\nexport const ChatMyMessageComponent = (props: ChatMyMessageComponentProps): JSX.Element => {\n const { onDeleteMessage, onSendMessage, message } = props;\n const [isEditing, setIsEditing] = useState(false);\n\n const onEditClick = useCallback(() => setIsEditing(true), [setIsEditing]);\n\n const clientMessageId = 'clientMessageId' in message ? message.clientMessageId : undefined;\n const content = 'content' in message ? message.content : undefined;\n const onRemoveClick = useCallback(() => {\n if (onDeleteMessage && message.messageId) {\n onDeleteMessage(message.messageId);\n }\n // when fail to send, message does not have message id, delete message using clientMessageId\n else if (onDeleteMessage && message.messageType === 'chat' && clientMessageId) {\n onDeleteMessage(clientMessageId);\n }\n }, [onDeleteMessage, message.messageId, message.messageType, clientMessageId]);\n const onResendClick = useCallback(() => {\n onDeleteMessage && clientMessageId && onDeleteMessage(clientMessageId);\n onSendMessage && onSendMessage(content !== undefined ? content : '');\n }, [clientMessageId, content, onSendMessage, onDeleteMessage]);\n\n if (isEditing && message.messageType === 'chat') {\n return (\n <ChatMessageComponentAsEditBox\n message={message}\n strings={props.strings}\n onSubmit={async (text, metadata, options) => {\n props.onUpdateMessage &&\n message.messageId &&\n (await props.onUpdateMessage(message.messageId, text, metadata, options));\n setIsEditing(false);\n }}\n onCancel={(messageId) => {\n props.onCancelEditMessage && props.onCancelEditMessage(messageId);\n setIsEditing(false);\n }}\n /* @conditional-compile-remove(mention) */\n mentionLookupOptions={props.mentionOptions?.lookupOptions}\n />\n );\n } else {\n return (\n <ChatMyMessageComponentAsMessageBubble\n {...props}\n onRemoveClick={onRemoveClick}\n onEditClick={onEditClick}\n onResendClick={onResendClick}\n onRenderAvatar={props.onRenderAvatar}\n /* @conditional-compile-remove(date-time-customization) */\n onDisplayDateTimeString={props.onDisplayDateTimeString}\n strings={props.strings}\n inlineImageOptions={props.inlineImageOptions}\n /* @conditional-compile-remove(mention) */\n mentionDisplayOptions={props.mentionOptions?.displayOptions}\n />\n );\n }\n};\n"]}
@@ -1,18 +1,14 @@
1
- import { IStyle } from '@fluentui/react';
2
1
  import React from 'react';
3
- import { InlineImageOptions } from './ChatMessageContent';
4
- import { ChatMessage } from '../../types/ChatMessage';
5
- import { BlockedMessage } from '../../types/ChatMessage';
6
- import { MessageThreadStrings } from '../MessageThread';
7
- import { ComponentSlotStyle, OnRenderAvatarCallback } from '../../types';
8
- import { FileDownloadHandler } from '../FileDownloadCards';
9
- import { MentionDisplayOptions } from '../MentionPopover';
10
- import { MessageStatus } from "../../../../acs-ui-common/src";
11
- type ChatMessageComponentAsMessageBubbleProps = {
2
+ import { InlineImageOptions } from '../ChatMessageContent';
3
+ import { ChatMessage } from '../../../types/ChatMessage';
4
+ import { BlockedMessage } from '../../../types/ChatMessage';
5
+ import { MessageThreadStrings } from '../../MessageThread';
6
+ import { ComponentSlotStyle, OnRenderAvatarCallback } from '../../../types';
7
+ import { FileDownloadHandler } from '../../FileDownloadCards';
8
+ import { MentionDisplayOptions } from '../../MentionPopover';
9
+ type ChatMyMessageComponentAsMessageBubbleProps = {
12
10
  message: ChatMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
13
11
  messageContainerStyle?: ComponentSlotStyle;
14
- /** Styles for message status indicator container. */
15
- messageStatusContainer?: (mine: boolean) => IStyle;
16
12
  showDate?: boolean;
17
13
  disableEditing?: boolean;
18
14
  onEditClick: () => void;
@@ -25,11 +21,6 @@ type ChatMessageComponentAsMessageBubbleProps = {
25
21
  * Whether the status indicator for each message is displayed or not.
26
22
  */
27
23
  showMessageStatus?: boolean;
28
- messageStatusRenderer?: (status: MessageStatus) => JSX.Element | null;
29
- /**
30
- * Whether to overlap avatar and message when the view is width constrained.
31
- */
32
- shouldOverlapAvatarAndMessage: boolean;
33
24
  /**
34
25
  * Optional callback to render uploaded files in the message component.
35
26
  */
@@ -66,6 +57,6 @@ type ChatMessageComponentAsMessageBubbleProps = {
66
57
  inlineImageOptions?: InlineImageOptions;
67
58
  };
68
59
  /** @private */
69
- export declare const ChatMessageComponentAsMessageBubble: React.MemoExoticComponent<(props: ChatMessageComponentAsMessageBubbleProps) => JSX.Element>;
60
+ export declare const ChatMyMessageComponentAsMessageBubble: React.MemoExoticComponent<(props: ChatMyMessageComponentAsMessageBubbleProps) => JSX.Element>;
70
61
  export {};
71
- //# sourceMappingURL=ChatMessageComponentAsMessageBubble.d.ts.map
62
+ //# sourceMappingURL=ChatMyMessageComponentAsMessageBubble.d.ts.map
@@ -0,0 +1,158 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { Text, mergeStyles } from '@fluentui/react';
4
+ import { ChatMyMessage } from '@fluentui-contrib/react-chat';
5
+ import React, { useCallback, useMemo, useRef, useState } from 'react';
6
+ import { chatMessageDateStyle, chatMessageFailedTagStyle } from '../../styles/ChatMessageComponent.styles';
7
+ import { useIdentifiers } from '../../../identifiers/IdentifierProvider';
8
+ import { useTheme } from '../../../theming';
9
+ import { ChatMessageActionFlyout } from '../ChatMessageActionsFlyout';
10
+ import { chatMessageActionMenuProps } from '../ChatMessageActionMenu';
11
+ import { useLocale } from '../../../localization';
12
+ import { createStyleFromV8Style } from '../../styles/v8StyleShim';
13
+ import { mergeClasses } from '@fluentui/react-components';
14
+ import { useChatMyMessageStyles, useChatMessageCommonStyles } from '../../styles/MessageThread.styles';
15
+ import { generateCustomizedTimestamp, generateDefaultTimestamp, getMessageBubbleContent, getMessageEditedDetails } from '../../utils/ChatMessageComponentUtils';
16
+ /** @private */
17
+ const MessageBubble = (props) => {
18
+ var _a;
19
+ const ids = useIdentifiers();
20
+ const theme = useTheme();
21
+ const locale = useLocale();
22
+ const { userId, message, onRemoveClick, onResendClick, disableEditing, showDate, messageContainerStyle, strings, onEditClick, remoteParticipantsCount = 0, onRenderAvatar, showMessageStatus, messageStatus,
23
+ /* @conditional-compile-remove(file-sharing) */
24
+ fileDownloadHandler, inlineImageOptions,
25
+ /* @conditional-compile-remove(file-sharing) */
26
+ onRenderFileDownloads,
27
+ /* @conditional-compile-remove(mention) */
28
+ mentionDisplayOptions, onDisplayDateTimeString } = props;
29
+ const formattedTimestamp = useMemo(() => {
30
+ const defaultTimeStamp = message.createdOn
31
+ ? generateDefaultTimestamp(message.createdOn, showDate, strings)
32
+ : undefined;
33
+ const customTimestamp = message.createdOn
34
+ ? generateCustomizedTimestamp(message.createdOn, locale, onDisplayDateTimeString)
35
+ : '';
36
+ return customTimestamp || defaultTimeStamp;
37
+ }, [locale, message.createdOn, onDisplayDateTimeString, showDate, strings]);
38
+ // Track if the action menu was opened by touch - if so we increase the touch targets for the items
39
+ const [wasInteractionByTouch, setWasInteractionByTouch] = useState(false);
40
+ // `focused` state is used for show/hide actionMenu
41
+ const [focused, setFocused] = React.useState(false);
42
+ // The chat message action flyout should target the Chat.Message action menu if clicked,
43
+ // or target the chat message if opened via touch press.
44
+ // Undefined indicates the flyout menu should not be being shown.
45
+ const messageRef = useRef(null);
46
+ const messageActionButtonRef = useRef(null);
47
+ const [chatMessageActionFlyoutTarget, setChatMessageActionFlyoutTarget] = useState(undefined);
48
+ const chatActionsEnabled = !disableEditing &&
49
+ message.status !== 'sending' &&
50
+ !!message.mine &&
51
+ /* @conditional-compile-remove(data-loss-prevention) */ message.messageType !== 'blocked';
52
+ const [messageReadBy, setMessageReadBy] = useState([]);
53
+ const actionMenuProps = chatMessageActionMenuProps({
54
+ ariaLabel: (_a = strings.actionMenuMoreOptions) !== null && _a !== void 0 ? _a : '',
55
+ enabled: chatActionsEnabled,
56
+ menuButtonRef: messageActionButtonRef,
57
+ menuExpanded: chatMessageActionFlyoutTarget === messageActionButtonRef,
58
+ onActionButtonClick: () => {
59
+ if (message.messageType === 'chat') {
60
+ props.onActionButtonClick(message, setMessageReadBy);
61
+ setChatMessageActionFlyoutTarget(messageActionButtonRef);
62
+ }
63
+ },
64
+ theme
65
+ });
66
+ const onActionFlyoutDismiss = useCallback(() => {
67
+ // When the flyout dismiss is called, since we control if the action flyout is visible
68
+ // or not we need to set the target to undefined here to actually hide the action flyout
69
+ setChatMessageActionFlyoutTarget(undefined);
70
+ }, [setChatMessageActionFlyoutTarget]);
71
+ const getMessageDetails = useCallback(() => {
72
+ if (messageStatus === 'failed') {
73
+ return React.createElement("div", { className: chatMessageFailedTagStyle(theme) }, strings.failToSendTag);
74
+ }
75
+ else {
76
+ return getMessageEditedDetails(message, theme, strings.editedTag);
77
+ }
78
+ }, [message, messageStatus, strings.editedTag, strings.failToSendTag, theme]);
79
+ const getContent = useCallback(() => {
80
+ return getMessageBubbleContent(message, strings, userId, inlineImageOptions,
81
+ /* @conditional-compile-remove(file-sharing) */
82
+ onRenderFileDownloads,
83
+ /* @conditional-compile-remove(mention) */
84
+ mentionDisplayOptions,
85
+ /* @conditional-compile-remove(file-sharing) */
86
+ fileDownloadHandler);
87
+ }, [
88
+ /* @conditional-compile-remove(file-sharing) */ fileDownloadHandler,
89
+ inlineImageOptions,
90
+ /* @conditional-compile-remove(mention) */ mentionDisplayOptions,
91
+ message,
92
+ /* @conditional-compile-remove(file-sharing) */ onRenderFileDownloads,
93
+ strings,
94
+ userId
95
+ ]);
96
+ const isBlockedMessage = false || /* @conditional-compile-remove(data-loss-prevention) */ message.messageType === 'blocked';
97
+ const chatMyMessageStyles = useChatMyMessageStyles();
98
+ const chatMessageCommonStyles = useChatMessageCommonStyles();
99
+ const attached = message.attached === true ? 'center' : message.attached === 'bottom' ? 'bottom' : 'top';
100
+ const chatMessage = (React.createElement(React.Fragment, null,
101
+ React.createElement("div", { key: props.message.messageId },
102
+ React.createElement(ChatMyMessage, { attached: attached, key: props.message.messageId, body: {
103
+ // messageContainerStyle used in className and style prop as style prop can't handle CSS selectors
104
+ className: mergeClasses(chatMyMessageStyles.body, isBlockedMessage
105
+ ? chatMessageCommonStyles.blocked
106
+ : props.message.status === 'failed'
107
+ ? chatMessageCommonStyles.failed
108
+ : undefined, attached !== 'top' ? chatMyMessageStyles.bodyAttached : undefined, mergeStyles(messageContainerStyle)),
109
+ style: Object.assign({}, createStyleFromV8Style(messageContainerStyle)),
110
+ ref: messageRef
111
+ }, root: {
112
+ className: chatMyMessageStyles.root,
113
+ onBlur: (e) => {
114
+ // `focused` controls is focused the whole `ChatMessage` or any of its children. When we're navigating
115
+ // with keyboard the focused element will be changed and there is no way to use `:focus` selector
116
+ if (chatMessageActionFlyoutTarget === null || chatMessageActionFlyoutTarget === void 0 ? void 0 : chatMessageActionFlyoutTarget.current) {
117
+ // doesn't dismiss action button if flyout is open, otherwise, narrator's focus will stay on the closed action menu
118
+ return;
119
+ }
120
+ const shouldPreserveFocusState = e.currentTarget.contains(e.relatedTarget);
121
+ setFocused(shouldPreserveFocusState);
122
+ },
123
+ onFocus: () => {
124
+ // react onFocus is called even when nested component receives focus (i.e. it bubbles)
125
+ // so when focus moves within actionMenu, the `focus` state in chatMessage remains true, and keeps actionMenu visible
126
+ setFocused(true);
127
+ },
128
+ // make body not focusable to remove repetitions from narrators.
129
+ // inner components are already focusable
130
+ role: 'none',
131
+ tabIndex: -1
132
+ }, "data-ui-id": "chat-composite-message", author: React.createElement(Text, { className: chatMessageDateStyle, tabIndex: 0 }, message.senderDisplayName), timestamp: React.createElement(Text, { className: chatMessageDateStyle, "data-ui-id": ids.messageTimestamp, tabIndex: 0 }, formattedTimestamp), details: getMessageDetails(), actions: {
133
+ children: actionMenuProps === null || actionMenuProps === void 0 ? void 0 : actionMenuProps.children,
134
+ className: mergeClasses(chatMyMessageStyles.menu,
135
+ // Make actions menu visible when the message is focused or the flyout is shown
136
+ focused || (chatMessageActionFlyoutTarget === null || chatMessageActionFlyoutTarget === void 0 ? void 0 : chatMessageActionFlyoutTarget.current)
137
+ ? chatMyMessageStyles.menuVisible
138
+ : chatMyMessageStyles.menuHidden, attached !== 'top' ? chatMyMessageStyles.menuAttached : undefined)
139
+ }, onTouchStart: () => setWasInteractionByTouch(true), onPointerDown: () => setWasInteractionByTouch(false), onKeyDown: () => setWasInteractionByTouch(false), onClick: () => {
140
+ if (!wasInteractionByTouch) {
141
+ return;
142
+ }
143
+ // If the message was touched via touch we immediately open the menu
144
+ // flyout (when using mouse the 3-dot menu that appears on hover
145
+ // must be clicked to open the flyout).
146
+ // In doing so here we set the target of the flyout to be the message and
147
+ // not the 3-dot menu button to position the flyout correctly.
148
+ setChatMessageActionFlyoutTarget(messageRef);
149
+ if (message.messageType === 'chat') {
150
+ props.onActionButtonClick(message, setMessageReadBy);
151
+ }
152
+ } }, getContent())),
153
+ chatActionsEnabled && (React.createElement(ChatMessageActionFlyout, { hidden: !chatMessageActionFlyoutTarget, target: chatMessageActionFlyoutTarget, increaseFlyoutItemSize: wasInteractionByTouch, onDismiss: onActionFlyoutDismiss, onEditClick: onEditClick, onRemoveClick: onRemoveClick, onResendClick: onResendClick, strings: strings, messageReadBy: messageReadBy, messageStatus: messageStatus !== null && messageStatus !== void 0 ? messageStatus : 'failed', remoteParticipantsCount: remoteParticipantsCount, onRenderAvatar: onRenderAvatar, showMessageStatus: showMessageStatus }))));
154
+ return chatMessage;
155
+ };
156
+ /** @private */
157
+ export const ChatMyMessageComponentAsMessageBubble = React.memo(MessageBubble);
158
+ //# sourceMappingURL=ChatMyMessageComponentAsMessageBubble.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatMyMessageComponentAsMessageBubble.js","sourceRoot":"","sources":["../../../../../../../../react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAC3G,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAMtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAKtE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,C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AC;oBAC7C,IAAI,OAAO,CAAC,WAAW,KAAK,MAAM,EAAE,CAAC;wBACnC,KAAK,CAAC,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC;oBACvD,CAAC;gBACH,CAAC,IAEA,UAAU,EAAE,CACC,CACZ;QACL,kBAAkB,IAAI,CACrB,oBAAC,uBAAuB,IACtB,MAAM,EAAE,CAAC,6BAA6B,EACtC,MAAM,EAAE,6BAA6B,EACrC,sBAAsB,EAAE,qBAAqB,EAC7C,SAAS,EAAE,qBAAqB,EAChC,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,QAAQ,EACxC,uBAAuB,EAAE,uBAAuB,EAChD,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CACA,CACJ,CAAC;IACF,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC;AAEF,eAAe;AACf,MAAM,CAAC,MAAM,qCAAqC,GAAG,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Text, mergeStyles } from '@fluentui/react';\nimport { ChatMyMessage } from '@fluentui-contrib/react-chat';\nimport { _formatString } from '@internal/acs-ui-common';\nimport React, { useCallback, useMemo, useRef, useState } from 'react';\nimport { chatMessageDateStyle, chatMessageFailedTagStyle } from '../../styles/ChatMessageComponent.styles';\nimport { useIdentifiers } from '../../../identifiers/IdentifierProvider';\nimport { useTheme } from '../../../theming';\nimport { ChatMessageActionFlyout } from '../ChatMessageActionsFlyout';\nimport { InlineImageOptions } from '../ChatMessageContent';\nimport { ChatMessage } from '../../../types/ChatMessage';\n/* @conditional-compile-remove(data-loss-prevention) */\nimport { BlockedMessage } from '../../../types/ChatMessage';\nimport { MessageThreadStrings } from '../../MessageThread';\nimport { chatMessageActionMenuProps } from '../ChatMessageActionMenu';\nimport { ComponentSlotStyle, OnRenderAvatarCallback } from '../../../types';\n/* @conditional-compile-remove(file-sharing) */\nimport { FileDownloadHandler } from '../../FileDownloadCards';\nimport { _FileDownloadCards } from '../../FileDownloadCards';\nimport { useLocale } from '../../../localization';\n/* @conditional-compile-remove(mention) */\nimport { MentionDisplayOptions } from '../../MentionPopover';\nimport { createStyleFromV8Style } from '../../styles/v8StyleShim';\nimport { mergeClasses } from '@fluentui/react-components';\nimport { useChatMyMessageStyles, useChatMessageCommonStyles } from '../../styles/MessageThread.styles';\nimport {\n generateCustomizedTimestamp,\n generateDefaultTimestamp,\n getMessageBubbleContent,\n getMessageEditedDetails\n} from '../../utils/ChatMessageComponentUtils';\n\ntype ChatMyMessageComponentAsMessageBubbleProps = {\n message: ChatMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;\n messageContainerStyle?: ComponentSlotStyle;\n showDate?: boolean;\n disableEditing?: boolean;\n onEditClick: () => void;\n onRemoveClick?: () => void;\n onResendClick?: () => void;\n strings: MessageThreadStrings;\n userId: string;\n messageStatus?: string;\n /**\n * Whether the status indicator for each message is displayed or not.\n */\n showMessageStatus?: boolean;\n /* @conditional-compile-remove(file-sharing) */\n /**\n * Optional callback to render uploaded files in the message component.\n */\n onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;\n /* @conditional-compile-remove(file-sharing) */\n /**\n * Optional function called when someone clicks on the file download icon.\n */\n fileDownloadHandler?: FileDownloadHandler;\n remoteParticipantsCount?: number;\n onActionButtonClick: (\n message: ChatMessage,\n setMessageReadBy: (readBy: { id: string; displayName: string }[]) => void\n ) => void;\n /**\n * Optional callback to override render of the avatar.\n *\n * @param userId - user Id\n */\n onRenderAvatar?: OnRenderAvatarCallback;\n\n /**\n * Optional function to provide customized date format.\n * @beta\n */\n onDisplayDateTimeString?: (messageDate: Date) => string;\n /* @conditional-compile-remove(mention) */\n /**\n * Optional props needed to display suggestions in the mention scenario.\n * @internal\n */\n mentionDisplayOptions?: MentionDisplayOptions;\n /**\n * Optional callback called when an inline image is clicked.\n * @beta\n */\n inlineImageOptions?: InlineImageOptions;\n};\n\n/** @private */\nconst MessageBubble = (props: ChatMyMessageComponentAsMessageBubbleProps): JSX.Element => {\n const ids = useIdentifiers();\n const theme = useTheme();\n const locale = useLocale();\n\n const {\n userId,\n message,\n onRemoveClick,\n onResendClick,\n disableEditing,\n showDate,\n messageContainerStyle,\n strings,\n onEditClick,\n remoteParticipantsCount = 0,\n onRenderAvatar,\n showMessageStatus,\n messageStatus,\n /* @conditional-compile-remove(file-sharing) */\n fileDownloadHandler,\n inlineImageOptions,\n /* @conditional-compile-remove(file-sharing) */\n onRenderFileDownloads,\n /* @conditional-compile-remove(mention) */\n mentionDisplayOptions,\n onDisplayDateTimeString\n } = props;\n\n const formattedTimestamp = useMemo(() => {\n const defaultTimeStamp = message.createdOn\n ? generateDefaultTimestamp(message.createdOn, showDate, strings)\n : undefined;\n\n const customTimestamp = message.createdOn\n ? generateCustomizedTimestamp(message.createdOn, locale, onDisplayDateTimeString)\n : '';\n\n return customTimestamp || defaultTimeStamp;\n }, [locale, message.createdOn, onDisplayDateTimeString, showDate, strings]);\n\n // Track if the action menu was opened by touch - if so we increase the touch targets for the items\n const [wasInteractionByTouch, setWasInteractionByTouch] = useState(false);\n // `focused` state is used for show/hide actionMenu\n const [focused, setFocused] = React.useState<boolean>(false);\n\n // The chat message action flyout should target the Chat.Message action menu if clicked,\n // or target the chat message if opened via touch press.\n // Undefined indicates the flyout menu should not be being shown.\n const messageRef = useRef<HTMLDivElement | null>(null);\n const messageActionButtonRef = useRef<HTMLDivElement | null>(null);\n const [chatMessageActionFlyoutTarget, setChatMessageActionFlyoutTarget] = useState<\n React.MutableRefObject<HTMLElement | null> | undefined\n >(undefined);\n\n const chatActionsEnabled =\n !disableEditing &&\n message.status !== 'sending' &&\n !!message.mine &&\n /* @conditional-compile-remove(data-loss-prevention) */ message.messageType !== 'blocked';\n const [messageReadBy, setMessageReadBy] = useState<{ id: string; displayName: string }[]>([]);\n\n const actionMenuProps = chatMessageActionMenuProps({\n ariaLabel: strings.actionMenuMoreOptions ?? '',\n enabled: chatActionsEnabled,\n menuButtonRef: messageActionButtonRef,\n menuExpanded: chatMessageActionFlyoutTarget === messageActionButtonRef,\n onActionButtonClick: () => {\n if (message.messageType === 'chat') {\n props.onActionButtonClick(message, setMessageReadBy);\n setChatMessageActionFlyoutTarget(messageActionButtonRef);\n }\n },\n theme\n });\n\n const onActionFlyoutDismiss = useCallback((): void => {\n // When the flyout dismiss is called, since we control if the action flyout is visible\n // or not we need to set the target to undefined here to actually hide the action flyout\n setChatMessageActionFlyoutTarget(undefined);\n }, [setChatMessageActionFlyoutTarget]);\n\n const getMessageDetails = useCallback(() => {\n if (messageStatus === 'failed') {\n return <div className={chatMessageFailedTagStyle(theme)}>{strings.failToSendTag}</div>;\n } else {\n return getMessageEditedDetails(message, theme, strings.editedTag);\n }\n }, [message, messageStatus, strings.editedTag, strings.failToSendTag, theme]);\n\n const getContent = useCallback(() => {\n return getMessageBubbleContent(\n message,\n strings,\n userId,\n inlineImageOptions,\n /* @conditional-compile-remove(file-sharing) */\n onRenderFileDownloads,\n /* @conditional-compile-remove(mention) */\n mentionDisplayOptions,\n /* @conditional-compile-remove(file-sharing) */\n fileDownloadHandler\n );\n }, [\n /* @conditional-compile-remove(file-sharing) */ fileDownloadHandler,\n inlineImageOptions,\n /* @conditional-compile-remove(mention) */ mentionDisplayOptions,\n message,\n /* @conditional-compile-remove(file-sharing) */ onRenderFileDownloads,\n strings,\n userId\n ]);\n\n const isBlockedMessage =\n false || /* @conditional-compile-remove(data-loss-prevention) */ message.messageType === 'blocked';\n const chatMyMessageStyles = useChatMyMessageStyles();\n const chatMessageCommonStyles = useChatMessageCommonStyles();\n\n const attached = message.attached === true ? 'center' : message.attached === 'bottom' ? 'bottom' : 'top';\n const chatMessage = (\n <>\n <div key={props.message.messageId}>\n <ChatMyMessage\n attached={attached}\n key={props.message.messageId}\n body={{\n // messageContainerStyle used in className and style prop as style prop can't handle CSS selectors\n className: mergeClasses(\n chatMyMessageStyles.body,\n isBlockedMessage\n ? chatMessageCommonStyles.blocked\n : props.message.status === 'failed'\n ? chatMessageCommonStyles.failed\n : undefined,\n attached !== 'top' ? chatMyMessageStyles.bodyAttached : undefined,\n mergeStyles(messageContainerStyle)\n ),\n style: { ...createStyleFromV8Style(messageContainerStyle) },\n ref: messageRef\n }}\n root={{\n className: chatMyMessageStyles.root,\n onBlur: (e) => {\n // `focused` controls is focused the whole `ChatMessage` or any of its children. When we're navigating\n // with keyboard the focused element will be changed and there is no way to use `:focus` selector\n if (chatMessageActionFlyoutTarget?.current) {\n // doesn't dismiss action button if flyout is open, otherwise, narrator's focus will stay on the closed action menu\n return;\n }\n const shouldPreserveFocusState = e.currentTarget.contains(e.relatedTarget);\n setFocused(shouldPreserveFocusState);\n },\n onFocus: () => {\n // react onFocus is called even when nested component receives focus (i.e. it bubbles)\n // so when focus moves within actionMenu, the `focus` state in chatMessage remains true, and keeps actionMenu visible\n setFocused(true);\n },\n // make body not focusable to remove repetitions from narrators.\n // inner components are already focusable\n role: 'none',\n tabIndex: -1\n }}\n data-ui-id=\"chat-composite-message\"\n author={\n <Text className={chatMessageDateStyle} tabIndex={0}>\n {message.senderDisplayName}\n </Text>\n }\n timestamp={\n <Text className={chatMessageDateStyle} data-ui-id={ids.messageTimestamp} tabIndex={0}>\n {formattedTimestamp}\n </Text>\n }\n details={getMessageDetails()}\n actions={{\n children: actionMenuProps?.children,\n className: mergeClasses(\n chatMyMessageStyles.menu,\n // Make actions menu visible when the message is focused or the flyout is shown\n focused || chatMessageActionFlyoutTarget?.current\n ? chatMyMessageStyles.menuVisible\n : chatMyMessageStyles.menuHidden,\n attached !== 'top' ? chatMyMessageStyles.menuAttached : undefined\n )\n }}\n onTouchStart={() => setWasInteractionByTouch(true)}\n onPointerDown={() => setWasInteractionByTouch(false)}\n onKeyDown={() => setWasInteractionByTouch(false)}\n onClick={() => {\n if (!wasInteractionByTouch) {\n return;\n }\n // If the message was touched via touch we immediately open the menu\n // flyout (when using mouse the 3-dot menu that appears on hover\n // must be clicked to open the flyout).\n // In doing so here we set the target of the flyout to be the message and\n // not the 3-dot menu button to position the flyout correctly.\n setChatMessageActionFlyoutTarget(messageRef);\n if (message.messageType === 'chat') {\n props.onActionButtonClick(message, setMessageReadBy);\n }\n }}\n >\n {getContent()}\n </ChatMyMessage>\n </div>\n {chatActionsEnabled && (\n <ChatMessageActionFlyout\n hidden={!chatMessageActionFlyoutTarget}\n target={chatMessageActionFlyoutTarget}\n increaseFlyoutItemSize={wasInteractionByTouch}\n onDismiss={onActionFlyoutDismiss}\n onEditClick={onEditClick}\n onRemoveClick={onRemoveClick}\n onResendClick={onResendClick}\n strings={strings}\n messageReadBy={messageReadBy}\n messageStatus={messageStatus ?? 'failed'}\n remoteParticipantsCount={remoteParticipantsCount}\n onRenderAvatar={onRenderAvatar}\n showMessageStatus={showMessageStatus}\n />\n )}\n </>\n );\n return chatMessage;\n};\n\n/** @private */\nexport const ChatMyMessageComponentAsMessageBubble = React.memo(MessageBubble);\n"]}
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import type { FluentChatMessageComponentWrapperProps } from '../MessageComponents/FluentChatMessageComponent';
3
+ /**
4
+ * The component for rendering a chat message using Fluent UI components
5
+ * and handling default and custom renderers.
6
+ * This component handles rendering for chat message body, avatar and message status.
7
+ * The chat message body, avatar and message status should be shown for both default and custom renderers.
8
+ *
9
+ * @private
10
+ */
11
+ export declare const FluentChatMyMessageComponent: (props: FluentChatMessageComponentWrapperProps) => JSX.Element;
12
+ //# sourceMappingURL=FluentChatMyMessageComponent.d.ts.map