@azure/communication-react 1.5.1-beta.1 → 1.5.1-beta.3

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 (446) hide show
  1. package/CHANGELOG.beta.md +123 -1
  2. package/CHANGELOG.json +1068 -0
  3. package/README.md +1 -1
  4. package/dist/communication-react.d.ts +602 -170
  5. package/dist/dist-cjs/communication-react/index.js +6134 -3678
  6. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  9. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +13 -0
  10. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +36 -0
  11. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  12. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +49 -0
  13. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +53 -0
  14. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -0
  15. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +1 -1
  16. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  17. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +12 -0
  18. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +27 -1
  19. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  20. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +3 -1
  21. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  22. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +3 -0
  23. package/dist/dist-esm/calling-component-bindings/src/index.js +2 -0
  24. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  25. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +68 -1
  26. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  27. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +19 -0
  28. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +95 -0
  29. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  30. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +57 -0
  31. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  32. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +2 -0
  33. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +19 -0
  34. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  35. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +18 -0
  36. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +38 -0
  37. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -0
  38. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +6 -0
  39. package/dist/dist-esm/calling-stateful-client/src/Converter.js +18 -1
  40. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  41. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +4 -1
  42. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +5 -1
  43. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  44. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts +3 -0
  45. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +5 -0
  46. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  47. package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts +16 -29
  48. package/dist/dist-esm/calling-stateful-client/src/Logger.js +16 -29
  49. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  50. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +1 -1
  51. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  52. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +137 -370
  53. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  54. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.d.ts +17 -0
  55. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +198 -0
  56. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -0
  57. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +7 -0
  58. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +10 -0
  59. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  60. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +1 -0
  61. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  62. package/dist/dist-esm/calling-stateful-client/src/index.d.ts +1 -0
  63. package/dist/dist-esm/calling-stateful-client/src/index.js +2 -0
  64. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  65. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +59 -5
  66. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  67. package/dist/dist-esm/chat-component-bindings/src/utils/constants.d.ts +4 -0
  68. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js +4 -0
  69. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  70. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +32 -26
  71. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  72. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +15 -3
  73. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  74. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +6 -1
  75. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  76. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +1 -0
  77. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  78. package/dist/dist-esm/communication-react/src/index.d.ts +9 -2
  79. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  80. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +12 -0
  81. package/dist/dist-esm/react-components/src/components/CameraButton.js +24 -1
  82. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  83. package/dist/dist-esm/react-components/src/components/Caption.d.ts +21 -0
  84. package/dist/dist-esm/react-components/src/components/Caption.js +33 -0
  85. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -0
  86. package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +31 -0
  87. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +49 -0
  88. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -0
  89. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +37 -0
  90. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +88 -0
  91. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -0
  92. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +22 -2
  93. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +19 -16
  94. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  95. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +1 -1
  96. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +4 -2
  97. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  98. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +11 -1
  99. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +38 -20
  100. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  101. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +14 -2
  102. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +96 -11
  103. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  104. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +1 -1
  105. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  106. package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts +1 -1
  107. package/dist/dist-esm/react-components/src/components/DevicesButton.js +79 -55
  108. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  109. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.d.ts +2 -0
  110. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +1 -0
  111. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  112. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +4 -0
  113. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  114. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +13 -0
  115. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +5 -1
  116. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  117. package/dist/dist-esm/react-components/src/components/GridLayout.js +1 -1
  118. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  119. package/dist/dist-esm/react-components/src/components/HorizontalGallery.d.ts +4 -0
  120. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +29 -24
  121. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  122. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +38 -6
  123. package/dist/dist-esm/react-components/src/components/MessageThread.js +110 -51
  124. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  125. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +12 -0
  126. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +29 -1
  127. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  128. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +1 -1
  129. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  130. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +1 -1
  131. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  132. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +1 -1
  133. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  134. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.d.ts +4 -2
  135. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +6 -42
  136. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  137. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.d.ts +35 -0
  138. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +32 -0
  139. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -0
  140. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +10 -2
  141. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  142. package/dist/dist-esm/react-components/src/components/SendBox.js +5 -2
  143. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  144. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +70 -0
  145. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +52 -0
  146. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -0
  147. package/dist/dist-esm/react-components/src/components/VerticalGallery.d.ts +67 -0
  148. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +113 -0
  149. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -0
  150. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.d.ts +21 -0
  151. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +65 -0
  152. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -0
  153. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.d.ts +75 -0
  154. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +44 -0
  155. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -0
  156. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.d.ts +88 -0
  157. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +80 -0
  158. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -0
  159. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.d.ts +1 -1
  160. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +55 -19
  161. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  162. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.d.ts +10 -3
  163. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +12 -10
  164. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  165. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +1 -1
  166. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +81 -24
  167. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  168. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +11 -1
  169. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  170. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +21 -0
  171. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +63 -0
  172. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -0
  173. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +2 -1
  174. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +8 -2
  175. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  176. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +32 -7
  177. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +28 -12
  178. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  179. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +2 -2
  180. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  181. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.d.ts +4 -1
  182. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +8 -7
  183. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  184. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.d.ts +64 -0
  185. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +79 -0
  186. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -0
  187. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.d.ts +25 -0
  188. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js +94 -0
  189. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -0
  190. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +4 -4
  191. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +58 -49
  192. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  193. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +25 -0
  194. package/dist/dist-esm/react-components/src/components/VideoGallery.js +32 -4
  195. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  196. package/dist/dist-esm/react-components/src/components/VideoTile.js +9 -12
  197. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  198. package/dist/dist-esm/react-components/src/components/index.d.ts +12 -1
  199. package/dist/dist-esm/react-components/src/components/index.js +11 -0
  200. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  201. package/dist/dist-esm/react-components/src/components/styles/Captions.style.d.ts +33 -0
  202. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +60 -0
  203. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -0
  204. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.d.ts +34 -0
  205. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js +86 -0
  206. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -0
  207. package/dist/dist-esm/react-components/src/components/styles/Common.style.d.ts +14 -0
  208. package/dist/dist-esm/react-components/src/components/styles/Common.style.js +16 -0
  209. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -0
  210. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js +1 -0
  211. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  212. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +7 -2
  213. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +58 -2
  214. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  215. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.d.ts +32 -0
  216. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +66 -0
  217. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -0
  218. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +1 -0
  219. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  220. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +6 -4
  221. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +1 -1
  222. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  223. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.d.ts +11 -0
  224. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js +22 -0
  225. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -0
  226. package/dist/dist-esm/react-components/src/components/utils/responsive.d.ts +6 -0
  227. package/dist/dist-esm/react-components/src/components/utils/responsive.js +7 -0
  228. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  229. package/dist/dist-esm/react-components/src/components/utils.d.ts +9 -0
  230. package/dist/dist-esm/react-components/src/components/utils.js +24 -0
  231. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  232. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +6 -14
  233. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  234. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +10 -4
  235. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +7 -2
  236. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  237. package/dist/dist-esm/react-components/src/index.d.ts +2 -0
  238. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  239. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +5 -0
  240. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  241. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +17 -4
  242. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +17 -4
  243. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +18 -4
  244. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +17 -4
  245. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +17 -4
  246. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +17 -4
  247. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +17 -4
  248. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +17 -4
  249. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +17 -4
  250. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +17 -4
  251. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +17 -4
  252. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +17 -4
  253. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +17 -4
  254. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +17 -4
  255. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts +1 -1
  256. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +1 -1
  257. package/dist/dist-esm/react-components/src/theming/icons.d.ts +11 -0
  258. package/dist/dist-esm/react-components/src/theming/icons.js +33 -7
  259. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  260. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +48 -0
  261. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js +4 -0
  262. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -0
  263. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +21 -1
  264. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  265. package/dist/dist-esm/react-components/src/types/index.d.ts +1 -0
  266. package/dist/dist-esm/react-components/src/types/index.js +1 -0
  267. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  268. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +2 -9
  269. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  270. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +65 -0
  271. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  272. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +13 -0
  273. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +69 -7
  274. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  275. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +53 -0
  276. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  277. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +1 -0
  278. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  279. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +103 -21
  280. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  281. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +2 -2
  282. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  283. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +3 -3
  284. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  285. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +21 -3
  286. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  287. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +1 -1
  288. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  289. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.d.ts +1 -1
  290. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  291. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +9 -8
  292. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +4 -32
  293. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
  294. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.d.ts +1 -1
  295. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  296. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -1
  297. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  298. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.d.ts +1 -1
  299. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  300. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts +1 -1
  301. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  302. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.d.ts +1 -1
  303. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  304. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +16 -0
  305. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  306. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +3 -2
  307. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  308. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +1 -1
  309. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  310. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +17 -0
  311. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +41 -0
  312. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  313. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +5 -1
  314. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +20 -0
  315. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  316. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  317. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +4 -4
  318. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  319. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.d.ts +20 -0
  320. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +21 -1
  321. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  322. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +5 -87
  323. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  324. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.d.ts +1 -1
  325. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +3 -3
  326. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  327. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  328. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +15 -75
  329. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +12 -6
  330. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  331. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +12 -0
  332. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  333. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +17 -1
  334. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +66 -6
  335. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  336. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +30 -1
  337. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  338. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +5 -0
  339. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +24 -0
  340. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  341. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +4 -0
  342. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +6 -0
  343. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  344. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +4 -0
  345. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  346. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -1
  347. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  348. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.d.ts +1 -1
  349. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js +5 -3
  350. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  351. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +27 -2
  352. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  353. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +19 -2
  354. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +68 -6
  355. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  356. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +4 -0
  357. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  358. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +1 -0
  359. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  360. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +6 -0
  361. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +60 -0
  362. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -0
  363. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.d.ts +12 -0
  364. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +107 -0
  365. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -0
  366. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.d.ts +7 -0
  367. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +38 -0
  368. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -0
  369. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +30 -0
  370. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +286 -0
  371. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -0
  372. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.d.ts +83 -0
  373. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +81 -0
  374. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -0
  375. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/components → common/ControlBar}/DesktopMoreButton.d.ts +4 -0
  376. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +193 -0
  377. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -0
  378. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common/ControlBar}/PeopleButton.d.ts +1 -1
  379. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common/ControlBar}/PeopleButton.js +3 -3
  380. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -0
  381. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/components → common/Drawer}/MoreDrawer.d.ts +15 -2
  382. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/components → common/Drawer}/MoreDrawer.js +113 -9
  383. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -0
  384. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.d.ts +6 -0
  385. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js +24 -0
  386. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -0
  387. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common/Drawer}/PreparedMoreDrawer.d.ts +3 -2
  388. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js +26 -0
  389. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -0
  390. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.d.ts +20 -0
  391. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js +55 -0
  392. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js.map +1 -0
  393. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.d.ts +7 -0
  394. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js +25 -0
  395. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js.map +1 -0
  396. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  397. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  398. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -1
  399. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  400. package/dist/dist-esm/react-composites/src/composites/common/constants.d.ts +9 -0
  401. package/dist/dist-esm/react-composites/src/composites/common/constants.js +11 -0
  402. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -0
  403. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +13 -1
  404. package/dist/dist-esm/react-composites/src/composites/common/icons.js +8 -14
  405. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  406. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.d.ts +7 -0
  407. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js +9 -0
  408. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -0
  409. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +165 -0
  410. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js +4 -0
  411. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -0
  412. package/dist/dist-esm/react-composites/src/composites/common/utils.d.ts +4 -0
  413. package/dist/dist-esm/react-composites/src/composites/common/utils.js +4 -0
  414. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  415. package/dist/dist-esm/react-composites/src/composites/index.d.ts +3 -0
  416. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  417. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +66 -1
  418. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +66 -1
  419. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +66 -1
  420. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +66 -1
  421. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +66 -1
  422. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +66 -1
  423. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +66 -1
  424. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +66 -1
  425. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +66 -1
  426. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +66 -1
  427. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +66 -1
  428. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +66 -1
  429. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +66 -1
  430. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +66 -1
  431. package/package.json +15 -16
  432. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.d.ts +0 -14
  433. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js +0 -19
  434. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js.map +0 -1
  435. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts +0 -27
  436. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +0 -190
  437. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +0 -1
  438. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts +0 -67
  439. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js +0 -75
  440. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +0 -1
  441. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeopleButton.js.map +0 -1
  442. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.js +0 -22
  443. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.js.map +0 -1
  444. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js +0 -65
  445. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js.map +0 -1
  446. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +0 -1
@@ -28,6 +28,7 @@ import { CallEndReason } from '@azure/communication-calling';
28
28
  import { CallerInfo } from '@azure/communication-calling';
29
29
  import { CallKind } from '@azure/communication-calling';
30
30
  import { CallState as CallState_2 } from '@azure/communication-calling';
31
+ import { CaptionsResultType } from '@azure/communication-calling';
31
32
  import { ChatClient } from '@azure/communication-chat';
32
33
  import { ChatClientOptions } from '@azure/communication-chat';
33
34
  import { ChatMessage as ChatMessage_2 } from '@azure/communication-chat';
@@ -85,6 +86,7 @@ import { RoomCallLocator } from '@azure/communication-calling';
85
86
  import { ScalingMode } from '@azure/communication-calling';
86
87
  import { SendMessageOptions } from '@azure/communication-chat';
87
88
  import { StartCallOptions } from '@azure/communication-calling';
89
+ import { StartCaptionsOptions } from '@azure/communication-calling';
88
90
  import { TeamsCall } from '@azure/communication-calling';
89
91
  import { TeamsCallAgent } from '@azure/communication-calling';
90
92
  import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
@@ -213,6 +215,13 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
213
215
  */
214
216
  export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
215
217
 
218
+ /**
219
+ * @beta
220
+ */
221
+ export declare interface AttachmentDownloadResult {
222
+ blobUrl: string;
223
+ }
224
+
216
225
  /**
217
226
  * Custom data attributes for displaying avatar for a user.
218
227
  *
@@ -319,6 +328,7 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
319
328
  callClient: StatefulCallClient;
320
329
  chatClient: StatefulChatClient;
321
330
  chatThreadClient: ChatThreadClient;
331
+ options?: AzureCommunicationChatAdapterOptions;
322
332
  };
323
333
 
324
334
  /**
@@ -334,6 +344,14 @@ export declare type AzureCommunicationChatAdapterArgs = {
334
344
  threadId: string;
335
345
  };
336
346
 
347
+ /**
348
+ * Configuration options to include when creating AzureCommunicationChatAdapter.
349
+ * @beta
350
+ */
351
+ export declare type AzureCommunicationChatAdapterOptions = {
352
+ credential?: CommunicationTokenCredential;
353
+ };
354
+
337
355
  /**
338
356
  * Properties common to all composites exported from this library.
339
357
  *
@@ -389,6 +407,26 @@ export declare interface BaseCustomStyles {
389
407
  root?: IStyle;
390
408
  }
391
409
 
410
+ /**
411
+ * Content blocked message type.
412
+ *
413
+ * Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
414
+ *
415
+ * @beta
416
+ */
417
+ export declare interface BlockedMessage extends MessageCommon {
418
+ messageType: 'blocked';
419
+ warningText?: string;
420
+ linkText?: string;
421
+ link?: string;
422
+ deletedOn?: Date;
423
+ senderId?: string;
424
+ senderDisplayName?: string;
425
+ status?: MessageStatus;
426
+ attached?: MessageAttachedStatus;
427
+ mine?: boolean;
428
+ }
429
+
392
430
  /**
393
431
  * @beta
394
432
  * Props for BrowserPermissionDeniedIOS component.
@@ -709,6 +747,25 @@ export declare interface CallAdapterCallOperations {
709
747
  * Continues into a call when the browser version is not supported.
710
748
  */
711
749
  allowUnsupportedBrowserVersion(): void;
750
+ /**
751
+ * Function to Start captions
752
+ * @param options - options for start captions
753
+ */
754
+ startCaptions(options?: StartCaptionsOptions): Promise<void>;
755
+ /**
756
+ * Function to set caption language
757
+ * @param language - language set for caption
758
+ */
759
+ setCaptionLanguage(language: string): Promise<void>;
760
+ /**
761
+ * Function to set spoken language
762
+ * @param language - spoken language
763
+ */
764
+ setSpokenLanguage(language: string): Promise<void>;
765
+ /**
766
+ * Funtion to stop captions
767
+ */
768
+ stopCaptions(): Promise<void>;
712
769
  }
713
770
 
714
771
  /**
@@ -907,6 +964,14 @@ export declare interface CallAdapterSubscribers {
907
964
  * Subscribe function for 'error' event.
908
965
  */
909
966
  on(event: 'error', listener: (e: AdapterError) => void): void;
967
+ /**
968
+ * Subscribe function for 'captionsReceived' event.
969
+ */
970
+ on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
971
+ /**
972
+ * Subscribe function for 'isCaptionsActiveChanged' event.
973
+ */
974
+ on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
910
975
  /**
911
976
  * Unsubscribe function for 'participantsJoined' event.
912
977
  */
@@ -955,6 +1020,14 @@ export declare interface CallAdapterSubscribers {
955
1020
  * Unsubscribe function for 'error' event.
956
1021
  */
957
1022
  off(event: 'error', listener: (e: AdapterError) => void): void;
1023
+ /**
1024
+ * Unsubscribe function for 'captionsReceived' event.
1025
+ */
1026
+ off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
1027
+ /**
1028
+ * Unsubscribe function for 'isCaptionsActiveChanged' event.
1029
+ */
1030
+ off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
958
1031
  }
959
1032
 
960
1033
  /**
@@ -1125,6 +1198,7 @@ export declare const CallComposite: (props: CallCompositeProps) => JSX.Element;
1125
1198
  * @public
1126
1199
  */
1127
1200
  export declare type CallCompositeIcons = {
1201
+ ControlBarPeopleButton?: JSX.Element;
1128
1202
  ControlButtonCameraOff?: JSX.Element;
1129
1203
  ControlButtonCameraOn?: JSX.Element;
1130
1204
  ControlButtonEndCall?: JSX.Element;
@@ -1636,85 +1710,93 @@ export declare interface CallCompositeStrings {
1636
1710
  * string to be used to announce when multiple unnamed participants have left at the same time.
1637
1711
  */
1638
1712
  manyUnnamedParticipantsLeft: string;
1639
- }
1640
-
1641
- /**
1642
- * Control bar display type for {@link CallComposite}.
1643
- *
1644
- * @public
1645
- */
1646
- export declare type CallControlDisplayType = 'default' | 'compact';
1647
-
1648
- /**
1649
- * Customization options for the control bar in calling experience.
1650
- *
1651
- * @public
1652
- */
1653
- export declare type CallControlOptions = {
1654
1713
  /**
1655
- * {@link CallControlDisplayType} to change how the call controls are displayed.
1656
- * `'compact'` display type will decreases the size of buttons and hide the labels.
1657
- *
1658
- * @remarks
1659
- * If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
1660
- *
1661
- * @defaultValue 'default'
1714
+ * string to be used to open live captions contextual menu
1662
1715
  */
1663
- displayType?: CallControlDisplayType;
1716
+ liveCaptionsLabel?: string;
1664
1717
  /**
1665
- * Show or Hide Camera Button during a call
1666
- * @defaultValue true
1718
+ * label for opening captions setting modal
1667
1719
  */
1668
- cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1669
- disabled: boolean;
1670
- };
1720
+ captionsSettingsLabel?: string;
1671
1721
  /**
1672
- * Show or Hide EndCall button during a call.
1673
- * @defaultValue true
1722
+ * string to be used to start captions
1674
1723
  */
1675
- endCallButton?: boolean;
1724
+ startCaptionsButtonOnLabel?: string;
1676
1725
  /**
1677
- * Show or Hide Microphone button during a call.
1678
- * @defaultValue true
1726
+ * string to be used to stop captions
1679
1727
  */
1680
- microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1681
- disabled: boolean;
1682
- };
1728
+ startCaptionsButtonOffLabel?: string;
1683
1729
  /**
1684
- * Show or Hide Devices button during a call.
1685
- * @defaultValue true
1730
+ * tooltip string to be used to show captions is on
1686
1731
  */
1687
- devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1688
- disabled: boolean;
1689
- };
1732
+ startCaptionsButtonTooltipOnContent?: string;
1690
1733
  /**
1691
- * Show, Hide or Disable participants button during a call.
1692
- * @defaultValue true
1734
+ *tooltip string to be used to show captions is off
1693
1735
  */
1694
- participantsButton?: boolean | {
1695
- disabled: boolean;
1696
- };
1736
+ startCaptionsButtonTooltipOffContent?: string;
1697
1737
  /**
1698
- * Show, Hide or Disable the screen share button during a call.
1699
- * @defaultValue true
1738
+ * captions setting modal title
1700
1739
  */
1701
- screenShareButton?: boolean | {
1702
- disabled: boolean;
1703
- };
1740
+ captionsSettingsModalTitle?: string;
1704
1741
  /**
1705
- * Show, Hide or disable the more button during a call.
1706
- * @defaultValue true
1742
+ * label for dropdown inside captions setting modal
1707
1743
  */
1708
- moreButton?: boolean;
1744
+ captionsSettingsDropdownLabel?: string;
1709
1745
  /**
1710
- * Inject custom buttons in the call controls.
1711
- *
1712
- * @beta
1746
+ * text under captions setting dropdown indicating what the dropdown is for
1713
1747
  */
1714
- onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
1715
- holdButton?: boolean | {
1748
+ captionsSettingsDropdownInfoText?: string;
1749
+ /**
1750
+ * confirm button label in captions setting modal
1751
+ */
1752
+ captionsSettingsConfirmButtonLabel?: string;
1753
+ /**
1754
+ * cancel button label in captions setting modal
1755
+ */
1756
+ captionsSettingsCancelButtonLabel?: string;
1757
+ /**
1758
+ * arial label for captions setting modal
1759
+ */
1760
+ captionsSettingsModalAriaLabel?: string;
1761
+ /**
1762
+ * arial label for captions setting modal close button
1763
+ */
1764
+ captionsSettingsCloseModalButtonAriaLabel?: string;
1765
+ /**
1766
+ * label for more button inside captions banner
1767
+ */
1768
+ captionsBannerMoreButtonCallingLabel?: string;
1769
+ /**
1770
+ * arial label for more button inside captions banner
1771
+ */
1772
+ captionsBannerMoreButtonTooltip?: string;
1773
+ /**
1774
+ * list of key value pairs that pairs language code to language names
1775
+ */
1776
+ captionsAvailableLanguageStrings?: CaptionsAvailableLanguageStrings;
1777
+ }
1778
+
1779
+ /**
1780
+ * Control bar display type for {@link CallComposite}.
1781
+ *
1782
+ * @public
1783
+ */
1784
+ export declare type CallControlDisplayType = 'default' | 'compact';
1785
+
1786
+ /**
1787
+ * Customization options for the control bar in calling experience.
1788
+ *
1789
+ * @public
1790
+ */
1791
+ export declare type CallControlOptions = CommonCallControlOptions & {
1792
+ /**
1793
+ * Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
1794
+ * @defaultValue true
1795
+ */
1796
+ participantsButton?: boolean | {
1716
1797
  disabled: boolean;
1717
1798
  };
1799
+ legacyControlBarExperience?: boolean;
1718
1800
  };
1719
1801
 
1720
1802
  /**
@@ -1776,7 +1858,7 @@ export declare type CallErrors = {
1776
1858
  *
1777
1859
  * @public
1778
1860
  */
1779
- export declare type CallErrorTarget = 'Call.addParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant';
1861
+ export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll';
1780
1862
 
1781
1863
  /**
1782
1864
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -1952,6 +2034,10 @@ export declare interface CallState {
1952
2034
  * Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
1953
2035
  */
1954
2036
  transcription: TranscriptionCallFeature;
2037
+ /**
2038
+ * Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
2039
+ */
2040
+ captionsFeature: CaptionsCallFeatureState;
1955
2041
  /**
1956
2042
  * Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
1957
2043
  */
@@ -2243,6 +2329,9 @@ export declare interface CallWithChatAdapterManagement {
2243
2329
  updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
2244
2330
  /** @beta */
2245
2331
  updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
2332
+ downloadAttachments: (options: {
2333
+ attachmentUrls: string[];
2334
+ }) => Promise<AttachmentDownloadResult[]>;
2246
2335
  /**
2247
2336
  * Puts the Call in a Localhold.
2248
2337
  *
@@ -2272,6 +2361,25 @@ export declare interface CallWithChatAdapterManagement {
2272
2361
  * Continues into a call when the browser version is not supported.
2273
2362
  */
2274
2363
  allowUnsupportedBrowserVersion(): void;
2364
+ /**
2365
+ * Function to Start captions
2366
+ * @param options - options for start captions
2367
+ */
2368
+ startCaptions(options?: StartCaptionsOptions): Promise<void>;
2369
+ /**
2370
+ * Function to set caption language
2371
+ * @param language - language set for caption
2372
+ */
2373
+ setCaptionLanguage(language: string): Promise<void>;
2374
+ /**
2375
+ * Function to set spoken language
2376
+ * @param language - spoken language
2377
+ */
2378
+ setSpokenLanguage(language: string): Promise<void>;
2379
+ /**
2380
+ * Funtion to stop captions
2381
+ */
2382
+ stopCaptions(): Promise<void>;
2275
2383
  }
2276
2384
 
2277
2385
  /**
@@ -2299,6 +2407,8 @@ export declare interface CallWithChatAdapterSubscriptions {
2299
2407
  on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
2300
2408
  on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
2301
2409
  on(event: 'callError', listener: (e: AdapterError) => void): void;
2410
+ on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
2411
+ on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
2302
2412
  off(event: 'callEnded', listener: CallEndedListener): void;
2303
2413
  off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
2304
2414
  off(event: 'callIdChanged', listener: CallIdChangedListener): void;
@@ -2310,6 +2420,8 @@ export declare interface CallWithChatAdapterSubscriptions {
2310
2420
  off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
2311
2421
  off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
2312
2422
  off(event: 'callError', listener: (e: AdapterError) => void): void;
2423
+ off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
2424
+ off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
2313
2425
  on(event: 'messageReceived', listener: MessageReceivedListener): void;
2314
2426
  on(event: 'messageSent', listener: MessageSentListener): void;
2315
2427
  on(event: 'messageRead', listener: MessageReadListener): void;
@@ -2622,6 +2734,18 @@ export declare interface CallWithChatCompositeStrings {
2622
2734
  * Only used with `mobileView` set to `true`.
2623
2735
  */
2624
2736
  moreDrawerSpeakerMenuTitle: string;
2737
+ /**
2738
+ * Title for the captions sub-menu in more button drawer.
2739
+ *
2740
+ * Only used with `mobileView` set to `true`.
2741
+ */
2742
+ moreDrawerCaptionsMenuTitle: string;
2743
+ /**
2744
+ * Title for the spoken language sub-menu in more button drawer.
2745
+ *
2746
+ * Only used with `mobileView` set to `true`.
2747
+ */
2748
+ moreDrawerSpokenLanguageMenuTitle: string;
2625
2749
  /**
2626
2750
  * {@Link CallWithChatComposite} control bar More button label
2627
2751
  */
@@ -2713,47 +2837,11 @@ export declare interface CallWithChatCompositeStrings {
2713
2837
  }
2714
2838
 
2715
2839
  /**
2716
- * {@link CallWithChatComposite} Call controls to show or hide buttons on the calling control bar.
2840
+ * Customization options for the control bar in calling with chat experience.
2717
2841
  *
2718
2842
  * @public
2719
2843
  */
2720
- export declare interface CallWithChatControlOptions {
2721
- /**
2722
- * {@link CallControlDisplayType} to change how the call controls are displayed.
2723
- * `'compact'` display type will decreases the size of buttons and hide the labels.
2724
- *
2725
- * @remarks
2726
- * If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
2727
- *
2728
- * @defaultValue 'default'
2729
- */
2730
- displayType?: CallControlDisplayType;
2731
- /**
2732
- * Show or Hide Microphone button during a call.
2733
- * @defaultValue true
2734
- */
2735
- microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2736
- disabled: boolean;
2737
- };
2738
- /**
2739
- * Show or Hide Camera Button during a call
2740
- * @defaultValue true
2741
- */
2742
- cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2743
- disabled: boolean;
2744
- };
2745
- /**
2746
- * Show, Hide or Disable the screen share button during a call.
2747
- * @defaultValue true
2748
- */
2749
- screenShareButton?: boolean | {
2750
- disabled: boolean;
2751
- };
2752
- /**
2753
- * Show or Hide EndCall button during a call.
2754
- * @defaultValue true
2755
- */
2756
- endCallButton?: boolean;
2844
+ export declare interface CallWithChatControlOptions extends CommonCallControlOptions {
2757
2845
  /**
2758
2846
  * Show or hide the chat button in the call-with-chat composite control bar.
2759
2847
  * @defaultValue true
@@ -2761,29 +2849,6 @@ export declare interface CallWithChatControlOptions {
2761
2849
  chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2762
2850
  disabled: boolean;
2763
2851
  };
2764
- /**
2765
- * Show or hide the people button in the call-with-chat composite control bar.
2766
- * @defaultValue true
2767
- */
2768
- peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2769
- disabled: boolean;
2770
- };
2771
- /**
2772
- * Inject custom buttons in the call controls.
2773
- *
2774
- * @beta
2775
- */
2776
- onFetchCustomButtonProps?: CustomCallWithChatControlButtonCallback[];
2777
- /**
2778
- * Show or hide the more button in the call-with-chat control bar.
2779
- */
2780
- moreButton?: boolean;
2781
- /**
2782
- * Show or hide the hold button in the bottom sheet drawer
2783
- */
2784
- holdButton?: boolean | {
2785
- disabled: boolean;
2786
- };
2787
2852
  }
2788
2853
 
2789
2854
  /**
@@ -2791,7 +2856,7 @@ export declare interface CallWithChatControlOptions {
2791
2856
  *
2792
2857
  * @public
2793
2858
  */
2794
- export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2859
+ export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2795
2860
 
2796
2861
  /**
2797
2862
  * @beta
@@ -2944,6 +3009,18 @@ export declare interface CameraButtonStrings {
2944
3009
  * Camera action turned off string for announcer
2945
3010
  */
2946
3011
  cameraActionTurnedOffAnnouncement?: string;
3012
+ /**
3013
+ * Primary action for when the camera is turned off
3014
+ */
3015
+ offSplitButtonPrimaryActionCamera?: string;
3016
+ /**
3017
+ * Primary action for when the camera is on
3018
+ */
3019
+ onSplitButtonPrimaryActionCamera?: string;
3020
+ /**
3021
+ * Title for primary action section of split button
3022
+ */
3023
+ cameraPrimaryActionSplitButtonTitle?: string;
2947
3024
  }
2948
3025
 
2949
3026
  /**
@@ -2983,6 +3060,142 @@ export declare interface CameraSitePermissionsProps extends CommonSitePermission
2983
3060
  */
2984
3061
  export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
2985
3062
 
3063
+ /**
3064
+ * @public
3065
+ * Callback function run when a message edit is cancelled.
3066
+ */
3067
+ export declare type CancelEditCallback = (messageId: string) => void;
3068
+
3069
+ /**
3070
+ * @beta
3071
+ * strings for captions setting modal
3072
+ */
3073
+ export declare interface CaptionsAvailableLanguageStrings {
3074
+ 'ar-ae': string;
3075
+ 'ar-sa': string;
3076
+ 'da-dk': string;
3077
+ 'de-de': string;
3078
+ 'en-au': string;
3079
+ 'en-ca': string;
3080
+ 'en-gb': string;
3081
+ 'en-in': string;
3082
+ 'en-nz': string;
3083
+ 'en-us': string;
3084
+ 'es-es': string;
3085
+ 'es-mx': string;
3086
+ 'fi-fi': string;
3087
+ 'fr-ca': string;
3088
+ 'fr-fr': string;
3089
+ 'hi-in': string;
3090
+ 'it-it': string;
3091
+ 'ja-jp': string;
3092
+ 'ko-kr': string;
3093
+ 'nb-no': string;
3094
+ 'nl-be': string;
3095
+ 'nl-nl': string;
3096
+ 'pl-pl': string;
3097
+ 'pt-br': string;
3098
+ 'ru-ru': string;
3099
+ 'sv-se': string;
3100
+ 'zh-cn': string;
3101
+ 'zh-hk': string;
3102
+ 'cs-cz': string;
3103
+ 'pt-pt': string;
3104
+ 'tr-tr': string;
3105
+ 'vi-vn': string;
3106
+ 'th-th': string;
3107
+ 'he-il': string;
3108
+ 'cy-gb': string;
3109
+ 'uk-ua': string;
3110
+ 'el-gr': string;
3111
+ 'hu-hu': string;
3112
+ 'ro-ro': string;
3113
+ 'sk-sk': string;
3114
+ 'zh-tw': string;
3115
+ }
3116
+
3117
+ /**
3118
+ * @beta
3119
+ */
3120
+ export declare interface CaptionsCallFeatureState {
3121
+ /**
3122
+ * supported spoken languages
3123
+ */
3124
+ supportedSpokenLanguages: string[];
3125
+ /**
3126
+ * array of received captions
3127
+ */
3128
+ captions: CaptionsInfo[];
3129
+ /**
3130
+ * whether captions is on/off
3131
+ */
3132
+ isCaptionsFeatureActive: boolean;
3133
+ /**
3134
+ * supported caption languages
3135
+ */
3136
+ supportedCaptionLanguages: string[];
3137
+ /**
3138
+ * current spoken language
3139
+ */
3140
+ currentSpokenLanguage: string;
3141
+ /**
3142
+ * current caption language
3143
+ */
3144
+ currentCaptionLanguage: string;
3145
+ }
3146
+
3147
+ /**
3148
+ * @beta
3149
+ */
3150
+ export declare interface CaptionsInfo {
3151
+ /**
3152
+ * The state in which this caption data can be classified.
3153
+ */
3154
+ resultType: CaptionsResultType;
3155
+ /**
3156
+ * The information of the call participant who spoke the captioned text.
3157
+ */
3158
+ speaker: CallerInfo;
3159
+ /**
3160
+ * The language that the spoken words were interpretted as. Corresponds to the language specified in startCaptions / setSpokenLanguage.
3161
+ */
3162
+ spokenLanguage: string;
3163
+ /**
3164
+ * The caption text.
3165
+ */
3166
+ captionText: string;
3167
+ /**
3168
+ * Timestamp of when the captioned words were initially spoken.
3169
+ */
3170
+ timestamp: Date;
3171
+ /**
3172
+ * The language that the captions are presented in. Corresponds to the captionLanguage specified in startCaptions / setCaptionLanguage.
3173
+ */
3174
+ captionLanguage?: string;
3175
+ /**
3176
+ * The original spoken caption text prior to translating to subtitle language
3177
+ */
3178
+ spokenText?: string;
3179
+ }
3180
+
3181
+ /**
3182
+ * options bag to start captions
3183
+ *
3184
+ * @beta
3185
+ */
3186
+ export declare type CaptionsOptions = {
3187
+ spokenLanguage: string;
3188
+ };
3189
+
3190
+ /**
3191
+ * Callback for {@link CallAdapterSubscribers} 'captionsReceived' event.
3192
+ *
3193
+ * @beta
3194
+ */
3195
+ export declare type CaptionsReceivedListener = (event: {
3196
+ captionsInfo: CaptionsInfo;
3197
+ }) => void;
3198
+
2986
3199
  /**
2987
3200
  * {@link ChatComposite} Adapter interface.
2988
3201
  *
@@ -3111,6 +3324,9 @@ export declare interface ChatAdapterThreadManagement {
3111
3324
  *
3112
3325
  */
3113
3326
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
3327
+ downloadAttachments: (options: {
3328
+ attachmentUrls: string[];
3329
+ }) => Promise<AttachmentDownloadResult[]>;
3114
3330
  }
3115
3331
 
3116
3332
  /**
@@ -3402,6 +3618,7 @@ export declare interface ChatMessage extends MessageCommon {
3402
3618
  senderId?: string;
3403
3619
  senderDisplayName?: string;
3404
3620
  status?: MessageStatus;
3621
+ failureReason?: string;
3405
3622
  attached?: MessageAttachedStatus;
3406
3623
  mine?: boolean;
3407
3624
  clientMessageId?: string;
@@ -3430,6 +3647,7 @@ export declare interface ChatMessage extends MessageCommon {
3430
3647
  export declare type ChatMessageWithStatus = ChatMessage_2 & {
3431
3648
  clientMessageId?: string;
3432
3649
  status: MessageStatus;
3650
+ policyViolation?: boolean;
3433
3651
  };
3434
3652
 
3435
3653
  /**
@@ -3571,6 +3789,85 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
3571
3789
  startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
3572
3790
  }
3573
3791
 
3792
+ /**
3793
+ * Customization options for the control bar in calling experience.
3794
+ *
3795
+ * @public
3796
+ */
3797
+ export declare type CommonCallControlOptions = {
3798
+ /**
3799
+ * {@link CallControlDisplayType} to change how the call controls are displayed.
3800
+ * `'compact'` display type will decreases the size of buttons and hide the labels.
3801
+ *
3802
+ * @remarks
3803
+ * If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
3804
+ *
3805
+ * @defaultValue 'default'
3806
+ */
3807
+ displayType?: CallControlDisplayType;
3808
+ /**
3809
+ * Show or Hide Camera Button during a call
3810
+ * @defaultValue true
3811
+ */
3812
+ cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
3813
+ disabled: boolean;
3814
+ };
3815
+ /**
3816
+ * Show or Hide EndCall button during a call.
3817
+ * @defaultValue true
3818
+ */
3819
+ endCallButton?: boolean;
3820
+ /**
3821
+ * Show or Hide Microphone button during a call.
3822
+ * @defaultValue true
3823
+ */
3824
+ microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
3825
+ disabled: boolean;
3826
+ };
3827
+ /**
3828
+ * Show or Hide Devices button during a call.
3829
+ * @defaultValue true
3830
+ */
3831
+ devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
3832
+ disabled: boolean;
3833
+ };
3834
+ /**
3835
+ * Show, Hide or Disable participants button during a call.
3836
+ * @defaultValue true
3837
+ */
3838
+ participantsButton?: boolean | {
3839
+ disabled: boolean;
3840
+ };
3841
+ /**
3842
+ * Show, Hide or Disable the screen share button during a call.
3843
+ * @defaultValue true
3844
+ */
3845
+ screenShareButton?: boolean | {
3846
+ disabled: boolean;
3847
+ };
3848
+ /**
3849
+ * Show, Hide or disable the more button during a call.
3850
+ * @defaultValue true
3851
+ */
3852
+ moreButton?: boolean;
3853
+ /**
3854
+ * Inject custom buttons in the call controls.
3855
+ *
3856
+ * @beta
3857
+ */
3858
+ onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
3859
+ holdButton?: boolean | {
3860
+ disabled: boolean;
3861
+ };
3862
+ /**
3863
+ * Show or hide the people button in the composite control bar.
3864
+ * @defaultValue true
3865
+ */
3866
+ peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
3867
+ disabled: boolean;
3868
+ };
3869
+ };
3870
+
3574
3871
  /**
3575
3872
  * Object containing all the handlers required for calling components.
3576
3873
  *
@@ -3602,6 +3899,10 @@ export declare interface CommonCallingHandlers {
3602
3899
  onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
3603
3900
  askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
3604
3901
  onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
3902
+ onStartCaptions: (options?: CaptionsOptions) => Promise<void>;
3903
+ onStopCaptions: () => Promise<void>;
3904
+ onSetSpokenLanguage: (language: string) => Promise<void>;
3905
+ onSetCaptionLanguage: (language: string) => Promise<void>;
3605
3906
  }
3606
3907
 
3607
3908
  /**
@@ -3859,6 +4160,10 @@ export declare interface ComponentStrings {
3859
4160
  BrowserPermissionDenied: BrowserPermissionDeniedStrings;
3860
4161
  /** Strings for BrowserPemissionDeniedIOS */
3861
4162
  BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
4163
+ /**
4164
+ * Strings for the VerticalGallery.
4165
+ */
4166
+ VerticalGallery: VerticalGalleryStrings;
3862
4167
  }
3863
4168
 
3864
4169
  /**
@@ -4194,7 +4499,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
4194
4499
  *
4195
4500
  * @public
4196
4501
  */
4197
- export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
4502
+ export declare function createAzureCommunicationCallWithChatAdapterFromClients(callClient: StatefulCallClient, callAgent: CallAgent, callLocator: CallAdapterLocator | TeamsMeetingLinkLocator, chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: AzureCommunicationChatAdapterOptions): Promise<CallWithChatAdapter>;
4198
4503
 
4199
4504
  /**
4200
4505
  * Create a {@link ChatAdapter} backed by Azure Communication Services.
@@ -4213,7 +4518,9 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
4213
4518
  *
4214
4519
  * @public
4215
4520
  */
4216
- export declare const createAzureCommunicationChatAdapterFromClient: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => Promise<ChatAdapter>;
4521
+ export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: {
4522
+ credential?: CommunicationTokenCredential;
4523
+ }): Promise<ChatAdapter>;
4217
4524
 
4218
4525
  /**
4219
4526
  * Create the default implementation of {@link CallingHandlers} for teams call.
@@ -4347,15 +4654,16 @@ export declare type CustomAvatarOptions = {
4347
4654
  };
4348
4655
 
4349
4656
  /**
4350
- * A callback that returns the props to render a custom {@link ControlBarButton}.
4657
+ * A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
4351
4658
  *
4352
4659
  * The response indicates where the custom button should be placed.
4353
4660
  *
4354
4661
  * Performance tip: This callback is only called when either the callback or its arguments change.
4355
- *
4356
4662
  * @beta
4357
4663
  */
4358
- export declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallControlButtonProps;
4664
+ declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
4665
+ export { CustomCallControlButtonCallback }
4666
+ export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
4359
4667
 
4360
4668
  /**
4361
4669
  * Arguments for {@link CustomCallControlButtonCallback}.
@@ -4372,17 +4680,23 @@ export declare interface CustomCallControlButtonCallbackArgs {
4372
4680
  }
4373
4681
 
4374
4682
  /**
4375
- * Placement for a custom button injected in the {@link CallControls}.
4683
+ * Placement for a custom button injected in the {@link CommonCallControlBar}.
4376
4684
  *
4377
4685
  * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
4686
+ * 'overflow': Place the buttons(s) on the end of the overflow Menu.
4687
+ * 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
4378
4688
  *
4379
4689
  * Multiple buttons assigned the same placement are appended in order.
4380
- * E.g., if two buttons are placed in 'primary', they'll both appear on the right end (left end in rtl mode)
4381
- * before the EndCallButton in the order provided.
4690
+ * E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
4691
+ * in the order provided.
4692
+ *
4693
+ * Only 'primary' placement works when legacy call control is enabled in call composite
4382
4694
  *
4383
4695
  * @beta
4384
4696
  */
4385
- export declare type CustomCallControlButtonPlacement = 'primary';
4697
+ declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
4698
+ export { CustomCallControlButtonPlacement }
4699
+ export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
4386
4700
 
4387
4701
  /**
4388
4702
  * Response from {@link CustomCallControlButtonCallback}.
@@ -4405,32 +4719,7 @@ export declare interface CustomCallControlButtonProps extends CustomControlButto
4405
4719
  }
4406
4720
 
4407
4721
  /**
4408
- * A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
4409
- *
4410
- * The response indicates where the custom button should be placed.
4411
- *
4412
- * Performance tip: This callback is only called when either the callback or its arguments change.
4413
- * @beta
4414
- */
4415
- export declare type CustomCallWithChatControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
4416
-
4417
- /**
4418
- * Placement for a custom button injected in the {@link CallWithChatControlBar}.
4419
- *
4420
- * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
4421
- * 'overflow': Place the buttons(s) on the end of the overflow Menu.
4422
- * 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
4423
- *
4424
- * Multiple buttons assigned the same placement are appended in order.
4425
- * E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
4426
- * in the order provided.
4427
- *
4428
- * @beta
4429
- */
4430
- export declare type CustomCallWithChatControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
4431
-
4432
- /**
4433
- * Response from {@link CustomCallWithChatControlButtonCallback}.
4722
+ * Response from {@link CustomCallControlButtonCallback}.
4434
4723
  *
4435
4724
  * Includes the icon and placement prop necessary to indicate where to place the
4436
4725
  * {@link ControlBarButton} and a {@link DrawerMenuItem}
@@ -4441,7 +4730,7 @@ export declare interface CustomCallWithChatControlButtonProps extends CustomCont
4441
4730
  /**
4442
4731
  * Where to place the custom button relative to other buttons.
4443
4732
  */
4444
- placement: CustomCallWithChatControlButtonPlacement;
4733
+ placement: CustomCallControlButtonPlacement;
4445
4734
  /**
4446
4735
  * Icon to render. Icon is a non-default icon name that needs to be registered as a
4447
4736
  * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
@@ -4547,6 +4836,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4547
4836
  ControlButtonScreenShareStop: JSX.Element;
4548
4837
  CancelFileUpload: JSX.Element;
4549
4838
  DownloadFile: JSX.Element;
4839
+ DataLossPreventionProhibited: JSX.Element;
4550
4840
  EditBoxCancel: JSX.Element;
4551
4841
  EditBoxSubmit: JSX.Element;
4552
4842
  ErrorBarCallCameraAccessDenied: JSX.Element;
@@ -4599,6 +4889,16 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4599
4889
  VideoTileScaleFill: JSX.Element;
4600
4890
  PinParticipant: JSX.Element;
4601
4891
  UnpinParticipant: JSX.Element;
4892
+ SplitButtonPrimaryActionCameraOn: JSX.Element;
4893
+ SplitButtonPrimaryActionCameraOff: JSX.Element;
4894
+ SplitButtonPrimaryActionMicUnmuted: JSX.Element;
4895
+ SplitButtonPrimaryActionMicMuted: JSX.Element;
4896
+ VerticalGalleryLeftButton: JSX.Element;
4897
+ VerticalGalleryRightButton: JSX.Element;
4898
+ CaptionsIcon: JSX.Element;
4899
+ CaptionsOffIcon: JSX.Element;
4900
+ CaptionsSettingsIcon: JSX.Element;
4901
+ ChangeSpokenLanguageIcon: JSX.Element;
4602
4902
  };
4603
4903
 
4604
4904
  /**
@@ -4620,6 +4920,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4620
4920
  SendBoxSend: JSX.Element;
4621
4921
  SendBoxSendHovered: JSX.Element;
4622
4922
  SendBoxAttachFile?: JSX.Element | undefined;
4923
+ ControlBarPeopleButton?: JSX.Element | undefined;
4623
4924
  ControlButtonCameraOff: JSX.Element;
4624
4925
  ControlButtonCameraOn: JSX.Element;
4625
4926
  ControlButtonEndCall: JSX.Element;
@@ -4669,7 +4970,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4669
4970
  ChevronLeft?: JSX.Element | undefined;
4670
4971
  ControlBarChatButtonActive?: JSX.Element | undefined;
4671
4972
  ControlBarChatButtonInactive?: JSX.Element | undefined;
4672
- ControlBarPeopleButton?: JSX.Element | undefined;
4673
4973
  Link?: JSX.Element | undefined;
4674
4974
  MoreDrawerMicrophones?: JSX.Element | undefined;
4675
4975
  MoreDrawerPeople?: JSX.Element | undefined;
@@ -4680,6 +4980,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4680
4980
  ControlButtonParticipantsContextualMenuItem: JSX.Element;
4681
4981
  CancelFileUpload: JSX.Element;
4682
4982
  DownloadFile: JSX.Element;
4983
+ DataLossPreventionProhibited: JSX.Element;
4683
4984
  ErrorBarCallVideoRecoveredBySystem: JSX.Element;
4684
4985
  ErrorBarCallVideoStoppedBySystem: JSX.Element;
4685
4986
  MessageResend: JSX.Element;
@@ -4700,6 +5001,16 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4700
5001
  VideoTileScaleFill: JSX.Element;
4701
5002
  PinParticipant: JSX.Element;
4702
5003
  UnpinParticipant: JSX.Element;
5004
+ SplitButtonPrimaryActionCameraOn: JSX.Element;
5005
+ SplitButtonPrimaryActionCameraOff: JSX.Element;
5006
+ SplitButtonPrimaryActionMicUnmuted: JSX.Element;
5007
+ SplitButtonPrimaryActionMicMuted: JSX.Element;
5008
+ VerticalGalleryLeftButton: JSX.Element;
5009
+ VerticalGalleryRightButton: JSX.Element;
5010
+ CaptionsIcon: JSX.Element;
5011
+ CaptionsOffIcon: JSX.Element;
5012
+ CaptionsSettingsIcon: JSX.Element;
5013
+ ChangeSpokenLanguageIcon: JSX.Element;
4703
5014
  };
4704
5015
 
4705
5016
  /**
@@ -5259,6 +5570,10 @@ export declare interface ErrorBarStrings {
5259
5570
  * Generic message for when screen sharing fails
5260
5571
  */
5261
5572
  startScreenSharingGeneric?: string;
5573
+ /**
5574
+ * Error bar string letting you know remote participants see a frozen stream for you.
5575
+ */
5576
+ cameraFrozenForRemoteParticipants?: string;
5262
5577
  }
5263
5578
 
5264
5579
  /**
@@ -5315,6 +5630,8 @@ export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMet
5315
5630
  * @beta
5316
5631
  */
5317
5632
  export declare interface FileMetadata {
5633
+ attachmentType: FileMetadataAttachmentType;
5634
+ id: string;
5318
5635
  /**
5319
5636
  * File name to be displayed.
5320
5637
  */
@@ -5329,8 +5646,14 @@ export declare interface FileMetadata {
5329
5646
  * Download URL for the file.
5330
5647
  */
5331
5648
  url: string;
5649
+ previewUrl?: string;
5332
5650
  }
5333
5651
 
5652
+ /**
5653
+ * @beta
5654
+ */
5655
+ export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images) */ 'teamsInlineImage' | 'unknown';
5656
+
5334
5657
  /**
5335
5658
  * Properties for configuring the File Sharing feature.
5336
5659
  * @beta
@@ -5694,10 +6017,16 @@ export declare interface _Identifiers {
5694
6017
  videoGallery: string;
5695
6018
  /** `data-ui-id` value for `VideoTile` Component */
5696
6019
  videoTile: string;
5697
- /** `data-ui-id` value for `HorizontalGallery` Component's left navigation button */
5698
- horizontalGalleryLeftNavButton: string;
5699
- /** `data-ui-id` value for `HorizontalGallery` Component's right navigation button */
5700
- horizontalGalleryRightNavButton: string;
6020
+ /** `data-ui-id` value for overflow gallery component's left navigation button */
6021
+ overflowGalleryLeftNavButton: string;
6022
+ /** `data-ui-id` value for overflow gallery component's right navigation button */
6023
+ overflowGalleryRightNavButton: string;
6024
+ /** `data-ui-id` value for the video tiles in the horizontal gallery */
6025
+ horizontalGalleryVideoTile: string;
6026
+ /** `data-ui-id` value for `VerticalGallery` Component's children video tiles */
6027
+ verticalGalleryVideoTile: string;
6028
+ /** `data-ui-id` value for `VerticalGallery` Component's page counter */
6029
+ verticalGalleryPageCounter: string;
5701
6030
  }
5702
6031
 
5703
6032
  /**
@@ -5746,6 +6075,15 @@ export declare interface IncomingCallState {
5746
6075
  endTime?: Date;
5747
6076
  }
5748
6077
 
6078
+ /**
6079
+ * Callback for {@link CallAdapterSubscribers} 'isCaptionsActiveChanged' event.
6080
+ *
6081
+ * @beta
6082
+ */
6083
+ export declare type IsCaptionsActiveChangedListener = (event: {
6084
+ isActive: boolean;
6085
+ }) => void;
6086
+
5749
6087
  /**
5750
6088
  * Callback for {@link CallAdapterSubscribers} 'isLocalScreenSharingActiveChanged' event.
5751
6089
  *
@@ -5884,7 +6222,7 @@ export declare interface MediaDiagnosticsState {
5884
6222
  *
5885
6223
  * @public
5886
6224
  */
5887
- export declare type Message = ChatMessage | SystemMessage | CustomMessage;
6225
+ export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
5888
6226
 
5889
6227
  /**
5890
6228
  * Indicate whether a chat message should be displayed merged with the message before / after it.
@@ -5921,7 +6259,7 @@ export declare type MessageContentType = 'text' | 'html' | 'richtext/html' | 'un
5921
6259
  */
5922
6260
  export declare type MessageProps = {
5923
6261
  /**
5924
- * Message to render. It can type `ChatMessage` or `SystemMessage` or `CustomMessage`.
6262
+ * Message to render. It can type `ChatMessage` or `SystemMessage`, `BlockedMessage` or `CustomMessage`.
5925
6263
  */
5926
6264
  message: Message;
5927
6265
  /**
@@ -5953,6 +6291,12 @@ export declare type MessageProps = {
5953
6291
  * @param content - new content of the message
5954
6292
  */
5955
6293
  onUpdateMessage?: UpdateMessageCallback;
6294
+ /**
6295
+ * Optional callback for when a message edit is cancelled.
6296
+ *
6297
+ * @param messageId - message id from chatClient
6298
+ */
6299
+ onCancelMessageEdit?: CancelEditCallback;
5956
6300
  /**
5957
6301
  * Optional callback to delete a message.
5958
6302
  *
@@ -6096,9 +6440,9 @@ export declare type MessageThreadProps = {
6096
6440
  */
6097
6441
  userId: string;
6098
6442
  /**
6099
- * Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage` or `CustomMessage`.
6443
+ * Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
6100
6444
  */
6101
- messages: (ChatMessage | SystemMessage | CustomMessage)[];
6445
+ messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
6102
6446
  /**
6103
6447
  * number of participants in the thread
6104
6448
  */
@@ -6185,6 +6529,12 @@ export declare type MessageThreadProps = {
6185
6529
  * @beta
6186
6530
  */
6187
6531
  onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
6532
+ /**
6533
+ * Optional callback to retrieve the inline image in a message.
6534
+ * @param attachment - FileMetadata object we want to render
6535
+ * @beta
6536
+ */
6537
+ onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
6188
6538
  /**
6189
6539
  * Optional callback to edit a message.
6190
6540
  *
@@ -6193,6 +6543,12 @@ export declare type MessageThreadProps = {
6193
6543
  *
6194
6544
  */
6195
6545
  onUpdateMessage?: UpdateMessageCallback;
6546
+ /**
6547
+ * Optional callback for when a message edit is cancelled.
6548
+ *
6549
+ * @param messageId - message id from chatClient
6550
+ */
6551
+ onCancelMessageEdit?: CancelEditCallback;
6196
6552
  /**
6197
6553
  * Optional callback to delete a message.
6198
6554
  *
@@ -6203,10 +6559,10 @@ export declare type MessageThreadProps = {
6203
6559
  /**
6204
6560
  * Optional callback to send a message.
6205
6561
  *
6206
- * @param messageId - message id from chatClient
6562
+ * @param content - message body to send
6207
6563
  *
6208
6564
  */
6209
- onSendMessage?: (messageId: string) => Promise<void>;
6565
+ onSendMessage?: (content: string) => Promise<void>;
6210
6566
  /**
6211
6567
  /**
6212
6568
  * Disable editing messages.
@@ -6305,6 +6661,10 @@ export declare interface MessageThreadStrings {
6305
6661
  actionMenuMoreOptions?: string;
6306
6662
  /** String for download file button in file card */
6307
6663
  downloadFile: string;
6664
+ /** String for policy violation message removal */
6665
+ blockedWarningText: string;
6666
+ /** String for policy violation message removal details link */
6667
+ blockedWarningLinkText: string;
6308
6668
  }
6309
6669
 
6310
6670
  /**
@@ -6331,6 +6691,8 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
6331
6691
  chatMessageContainer?: ComponentSlotStyle;
6332
6692
  /** Styles for system message container. */
6333
6693
  systemMessageContainer?: ComponentSlotStyle;
6694
+ /** Styles for blocked message container. */
6695
+ blockedMessageContainer?: ComponentSlotStyle;
6334
6696
  /** Styles for message status indicator container. */
6335
6697
  messageStatusContainer?: (mine: boolean) => IStyle;
6336
6698
  }
@@ -6473,6 +6835,18 @@ export declare interface MicrophoneButtonStrings {
6473
6835
  * Microphone action turned off string for announcer
6474
6836
  */
6475
6837
  microphoneActionTurnedOffAnnouncement?: string;
6838
+ /**
6839
+ * Primary action for the microphone when microphone is live.
6840
+ */
6841
+ onSplitButtonMicrophonePrimaryAction?: string;
6842
+ /**
6843
+ * Primary action for the microphone when the microphone is muted.
6844
+ */
6845
+ offSplitButtonMicrophonePrimaryAction?: string;
6846
+ /**
6847
+ * Title for primary action section of split button
6848
+ */
6849
+ micPrimaryActionSplitButtonTitle?: string;
6476
6850
  }
6477
6851
 
6478
6852
  /**
@@ -6569,6 +6943,13 @@ export declare interface OptionsDevice {
6569
6943
  name: string;
6570
6944
  }
6571
6945
 
6946
+ /**
6947
+ * Different modes and positions of the overflow gallery in the VideoGallery
6948
+ *
6949
+ * @beta
6950
+ */
6951
+ export declare type OverflowGalleryPosition = 'HorizontalBottom' | 'VerticalRight';
6952
+
6572
6953
  /**
6573
6954
  * A system message notifying that a participant was added to the chat thread.
6574
6955
  *
@@ -7094,7 +7475,7 @@ export declare interface RemoteVideoTileMenuOptions {
7094
7475
  * @beta
7095
7476
  * The role of a call participant.
7096
7477
  */
7097
- export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer';
7478
+ export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer' | 'Co-organizer';
7098
7479
 
7099
7480
  /**
7100
7481
  * A button to start / stop screen sharing.
@@ -8192,6 +8573,50 @@ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compil
8192
8573
  */
8193
8574
  export declare const useTheme: () => Theme;
8194
8575
 
8576
+ /**
8577
+ * Styles for the control bar inside the VerticalGallery component
8578
+ *
8579
+ * @beta
8580
+ */
8581
+ export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
8582
+ /**
8583
+ * styles for the next button in the VerticalGalleryControlBar
8584
+ */
8585
+ nextButton?: IStyle;
8586
+ /**
8587
+ * Styles for the previous button in the VerticalGalleryControlBar
8588
+ */
8589
+ previousButton?: IStyle;
8590
+ /**
8591
+ * Styles for the counter in the VerticalGalleryControlBar
8592
+ */
8593
+ counter?: IStyle;
8594
+ }
8595
+
8596
+ /**
8597
+ * Strings for localization of the vertical gallery.
8598
+ *
8599
+ * @beta
8600
+ */
8601
+ export declare interface VerticalGalleryStrings {
8602
+ /** Aria label for the left page navigation button */
8603
+ leftNavButtonAriaLabel?: string;
8604
+ /** Aria label for the right page navigation button */
8605
+ rightNavButtonAriaLabel?: string;
8606
+ }
8607
+
8608
+ /**
8609
+ * Styles for the VerticalGallery component
8610
+ *
8611
+ * @beta
8612
+ */
8613
+ export declare interface VerticalGalleryStyles extends BaseCustomStyles {
8614
+ /** Styles for each video tile in the vertical gallery */
8615
+ children?: IStyle;
8616
+ /** Styles for the verticalGallery control bar */
8617
+ controlBar?: VerticalGalleryControlBarStyles;
8618
+ }
8619
+
8195
8620
  /**
8196
8621
  * VideoGallery represents a layout of video tiles for a specific call.
8197
8622
  * It displays a {@link VideoTile} for the local user as well as for each remote participant who has joined the call.
@@ -8309,6 +8734,11 @@ export declare interface VideoGalleryProps {
8309
8734
  * @defaultValue \{ kind: 'contextual' \}
8310
8735
  */
8311
8736
  remoteVideoTileMenuOptions?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
8737
+ /**
8738
+ * Determines the layout of the overflowGallery inside the VideoGallery.
8739
+ * @defaultValue 'HorizontalBottom'
8740
+ */
8741
+ overflowGalleryPosition?: OverflowGalleryPosition;
8312
8742
  }
8313
8743
 
8314
8744
  /**
@@ -8409,6 +8839,8 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
8409
8839
  horizontalGallery?: HorizontalGalleryStyles;
8410
8840
  /** Styles for the local video */
8411
8841
  localVideo?: IStyle;
8842
+ /** Styles for the vertical gallery */
8843
+ verticalGallery?: VerticalGalleryStyles;
8412
8844
  }
8413
8845
 
8414
8846
  /**