@azure/communication-react 1.14.1-alpha-202403280012 → 1.14.1-alpha-202404020012

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 (202) hide show
  1. package/dist/communication-react.d.ts +230 -250
  2. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-D3ER8Kz9.js → RichTextSendBoxWrapper-BTyywbnH.js} +4 -4
  3. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-D3ER8Kz9.js.map → RichTextSendBoxWrapper-BTyywbnH.js.map} +1 -1
  4. package/dist/dist-cjs/communication-react/{index-BI61bnOi.js → index-Bj9ORqhl.js} +1176 -951
  5. package/dist/dist-cjs/communication-react/index-Bj9ORqhl.js.map +1 -0
  6. package/dist/dist-cjs/communication-react/index.js +4 -3
  7. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  10. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +4 -4
  11. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  12. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +4 -0
  13. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +6 -1
  14. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  15. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.d.ts +1 -1
  16. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +2 -2
  17. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -1
  18. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +1 -2
  19. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  20. package/dist/dist-esm/communication-react/src/index.d.ts +2 -2
  21. package/dist/dist-esm/communication-react/src/index.js +2 -0
  22. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  23. package/dist/dist-esm/react-components/src/components/AttachmentCard.d.ts +10 -18
  24. package/dist/dist-esm/react-components/src/components/AttachmentCard.js +28 -41
  25. package/dist/dist-esm/react-components/src/components/AttachmentCard.js.map +1 -1
  26. package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.d.ts +18 -11
  27. package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.js +74 -62
  28. package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.js.map +1 -1
  29. package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.d.ts +5 -36
  30. package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js +31 -7
  31. package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js.map +1 -1
  32. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +4 -8
  33. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  34. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +6 -3
  35. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  36. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.d.ts +5 -5
  37. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +7 -7
  38. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -1
  39. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +13 -18
  40. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js.map +1 -1
  41. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +9 -9
  42. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -1
  43. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.d.ts +9 -9
  44. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +10 -10
  45. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -1
  46. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +12 -10
  47. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
  48. package/dist/dist-esm/react-components/src/components/EndCallButton.d.ts +10 -1
  49. package/dist/dist-esm/react-components/src/components/EndCallButton.js +93 -51
  50. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  51. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +10 -9
  52. package/dist/dist-esm/react-components/src/components/MessageThread.js +6 -3
  53. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  54. package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +2 -2
  55. package/dist/dist-esm/react-components/src/components/ReactionButton.js +8 -5
  56. package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -1
  57. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.d.ts +1 -1
  58. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +3 -3
  59. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +1 -1
  60. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.d.ts +6 -6
  61. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +23 -23
  62. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -1
  63. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +5 -5
  64. package/dist/dist-esm/react-components/src/components/SendBox.js +16 -16
  65. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  66. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.d.ts +8 -0
  67. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +1 -1
  68. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  69. package/dist/dist-esm/react-components/src/components/VideoGallery/ParticipantVideoTileOverlay.js +8 -4
  70. package/dist/dist-esm/react-components/src/components/VideoGallery/ParticipantVideoTileOverlay.js.map +1 -1
  71. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteContentShareReactionOverlay.js +4 -4
  72. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteContentShareReactionOverlay.js.map +1 -1
  73. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +4 -0
  74. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +22 -1
  75. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  76. package/dist/dist-esm/react-components/src/components/index.d.ts +2 -3
  77. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  78. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +1 -1
  79. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +1 -1
  80. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
  81. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.d.ts +1 -1
  82. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +3 -2
  83. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -1
  84. package/dist/dist-esm/react-components/src/components/styles/ReactionOverlay.style.d.ts +2 -1
  85. package/dist/dist-esm/react-components/src/components/styles/ReactionOverlay.style.js +10 -12
  86. package/dist/dist-esm/react-components/src/components/styles/ReactionOverlay.style.js.map +1 -1
  87. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +1 -0
  88. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +3 -1
  89. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  90. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.d.ts +10 -2
  91. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +20 -14
  92. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
  93. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +3 -3
  94. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +7 -7
  95. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  96. package/dist/dist-esm/react-components/src/components/utils/common.d.ts +1 -1
  97. package/dist/dist-esm/react-components/src/components/utils/common.js +1 -1
  98. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  99. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  100. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +4 -1
  101. package/dist/dist-esm/react-components/src/theming/icons.d.ts +3 -2
  102. package/dist/dist-esm/react-components/src/theming/icons.js +5 -3
  103. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  104. package/dist/dist-esm/react-components/src/types/Attachment.d.ts +62 -75
  105. package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
  106. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +24 -0
  107. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  108. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +3 -3
  109. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  110. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +2 -2
  111. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  112. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js +0 -7
  113. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js.map +1 -1
  114. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +2 -0
  115. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +66 -1
  116. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  117. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +1 -1
  118. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +32 -17
  119. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  120. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.d.ts +5 -1
  121. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js +12 -0
  122. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  123. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.d.ts +2 -14
  124. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +14 -10
  125. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  126. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +2 -2
  127. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +3 -3
  128. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  129. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +8 -8
  130. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +21 -21
  131. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  132. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +8 -8
  133. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  134. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +8 -8
  135. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +15 -15
  136. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  137. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +3 -3
  138. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +2 -2
  139. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  140. package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.d.ts +15 -0
  141. package/dist/dist-esm/react-composites/src/composites/ChatComposite/{FileDownloadErrorBar.js → AttachmentDownloadErrorBar.js} +5 -5
  142. package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js.map +1 -0
  143. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +2 -2
  144. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +1 -1
  145. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  146. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +2 -34
  147. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +27 -16
  148. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  149. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.d.ts +47 -0
  150. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.js +179 -0
  151. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.js.map +1 -0
  152. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +9 -9
  153. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +29 -29
  154. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  155. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +4 -4
  156. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  157. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.d.ts +2 -2
  158. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +8 -8
  159. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  160. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/{FileUpload.d.ts → AttachmentUpload.d.ts} +10 -10
  161. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/{FileUpload.js → AttachmentUpload.js} +12 -12
  162. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js.map +1 -0
  163. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.d.ts +38 -0
  164. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/{FileUploadButton.js → AttachmentUploadButton.js} +11 -9
  165. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +1 -0
  166. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.d.ts +4 -2
  167. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js +2 -2
  168. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  169. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +2 -3
  170. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  171. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.d.ts +29 -0
  172. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.js +12 -0
  173. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.js.map +1 -0
  174. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +2 -2
  175. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +2 -2
  176. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -1
  177. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +24 -8
  178. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  179. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +11 -2
  180. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  181. package/dist/dist-esm/react-composites/src/composites/common/SendBox.js +5 -5
  182. package/dist/dist-esm/react-composites/src/composites/common/SendBox.js.map +1 -1
  183. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +3 -2
  184. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +7 -1
  185. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  186. package/dist/dist-esm/react-composites/src/composites/common/utils.d.ts +4 -0
  187. package/dist/dist-esm/react-composites/src/composites/common/utils.js +6 -0
  188. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  189. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +6 -0
  190. package/package.json +7 -7
  191. package/dist/dist-cjs/communication-react/index-BI61bnOi.js.map +0 -1
  192. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +0 -15
  193. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +0 -1
  194. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +0 -48
  195. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +0 -160
  196. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +0 -1
  197. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +0 -1
  198. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.d.ts +0 -36
  199. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +0 -1
  200. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +0 -27
  201. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +0 -12
  202. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +0 -1
@@ -150,38 +150,6 @@ export declare interface ActiveErrorMessage {
150
150
  timestamp?: Date;
151
151
  }
152
152
 
153
- /**
154
- * Attributes required for SendBox to show attachment uploads like name, progress etc.
155
- * @beta
156
- */
157
- export declare interface ActiveFileUpload {
158
- /**
159
- * Unique identifier for the file upload.
160
- */
161
- id: string;
162
- /**
163
- * File name to be rendered for uploaded file.
164
- */
165
- filename: string;
166
- /**
167
- * A number between 0 and 1 indicating the progress of the upload.
168
- * This is unrelated to the `uploadComplete` property.
169
- * It is only used to show the progress of the upload.
170
- * Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
171
- * property to true to mark the upload as complete.
172
- */
173
- progress: number;
174
- /**
175
- * Error to be displayed to the user if the upload fails.
176
- */
177
- error?: SendBoxErrorBarError;
178
- /**
179
- * `true` means that the upload is completed.
180
- * This is independent of the upload `progress`.
181
- */
182
- uploadComplete?: boolean;
183
- }
184
-
185
153
  /**
186
154
  * Error reported via error events and stored in adapter state.
187
155
  *
@@ -248,6 +216,27 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
248
216
  */
249
217
  export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
250
218
 
219
+ /**
220
+ * @beta
221
+ *
222
+ * Attachment download options defines the list of actions that can be performed on an attachment.
223
+ */
224
+ export declare interface AttachmentDownloadOptions {
225
+ actionsForAttachment: (attachment: AttachmentMetadata, message?: ChatMessage) => AttachmentMenuAction[];
226
+ }
227
+
228
+ /**
229
+ * @beta
230
+ *
231
+ * Attachment menu action defines buttons that can be shown on the attachment card.
232
+ * If there's one action, it will be shown as a button, if there are multiple actions, it will be shown as a dropdown.
233
+ */
234
+ export declare interface AttachmentMenuAction {
235
+ name: string;
236
+ icon: JSX.Element;
237
+ onClick: (attachment: AttachmentMetadata) => Promise<void>;
238
+ }
239
+
251
240
  /**
252
241
  * Metadata containing basic information about the uploaded attachment.
253
242
  *
@@ -259,7 +248,7 @@ export declare interface AttachmentMetadata {
259
248
  * An unknown or empty extension will be rendered as a generic icon.
260
249
  * Example: `pdf`
261
250
  */
262
- extension: string;
251
+ extension?: string;
263
252
  /**
264
253
  * Unique ID of the attachment.
265
254
  */
@@ -271,10 +260,124 @@ export declare interface AttachmentMetadata {
271
260
  /**
272
261
  * Download URL for the attachment.
273
262
  */
274
- url: string;
275
- payload?: Record<string, string>;
263
+ url?: string;
264
+ /**
265
+ * A number between 0 and 1 indicating the progress of the upload.
266
+ */
267
+ progress?: number;
268
+ /**
269
+ * A object contains status message would be shown to the user.
270
+ */
271
+ uploadError?: AttachmentUploadStatus;
272
+ }
273
+
274
+ /**
275
+ * @beta
276
+ *
277
+ * Attachment Options that defines behaviour for uploading and downloading attachments.
278
+ */
279
+ export declare interface AttachmentOptions {
280
+ uploadOptions?: AttachmentUploadOptions;
281
+ downloadOptions?: AttachmentDownloadOptions;
282
+ }
283
+
284
+ /**
285
+ * @beta
286
+ */
287
+ export declare interface AttachmentUploadAdapter {
288
+ registerActiveUploads: (files: File[]) => AttachmentUploadManager[];
289
+ registerCompletedUploads: (metadata: AttachmentMetadata[]) => AttachmentUploadManager[];
290
+ clearUploads: () => void;
291
+ cancelUpload: (id: string) => void;
292
+ updateUploadProgress: (id: string, progress: number) => void;
293
+ updateUploadStatusMessage: (id: string, errorMessage: string) => void;
294
+ updateUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
295
+ }
296
+
297
+ /**
298
+ * @beta
299
+ * A callback function for handling attachment uploads.
300
+ *
301
+ * @param AttachmentUploads - The list of uploaded files. Each file is represented by an {@link AttachmentUpload} object.
302
+ */
303
+ export declare type AttachmentUploadHandler = (attachmentUploads: AttachmentUploadManager[]) => void;
304
+
305
+ /**
306
+ * A wrapper object for a file that is being uploaded.
307
+ * Allows managing attachment uploads by providing common functions for updating the
308
+ * upload progress, canceling an upload, completing an upload etc.
309
+ * @beta
310
+ */
311
+ export declare interface AttachmentUploadManager {
312
+ /**
313
+ * Unique identifier for the attachment upload.
314
+ */
315
+ id: string;
316
+ /**
317
+ * HTML {@link File} object for the uploaded file.
318
+ */
319
+ file?: File;
320
+ /**
321
+ * Update the progress of the upload changed.
322
+ * A upload is considered complete when the progress reaches 1.
323
+ * @param value - number between 0 and 1
324
+ */
325
+ notifyProgressChanged: (value: number) => void;
326
+ /**
327
+ * Mark the upload as complete.
328
+ * Requires the `metadata` param containing uploaded file information.
329
+ * @param metadata - {@link AttachmentMetadata}
330
+ */
331
+ notifyCompleted: (metadata: AttachmentMetadata) => void;
332
+ /**
333
+ * Mark the upload as failed.
334
+ * @param message - An error message that can be displayed to the user.
335
+ */
336
+ notifyFailed: (message: string) => void;
276
337
  }
277
338
 
339
+ /**
340
+ * @beta
341
+ */
342
+ export declare interface AttachmentUploadOptions {
343
+ /**
344
+ * A list of strings containing the comma separated list of supported media (aka. mime) types.
345
+ * i.e. ['image/*', 'video/*', 'audio/*']
346
+ * Default value is `['*']`, meaning all media types are supported.
347
+ * Similar to the `accept` attribute of the `<input type="file" />` element.
348
+ * @beta
349
+ */
350
+ supportedMediaTypes?: string[];
351
+ /**
352
+ * Disable multiple files to be selected if set to `true`.
353
+ * Default value is `false`, meaning multiple files can be selected.
354
+ * Similar to the `multiple` attribute of the `<input type="file" />` element.
355
+ * @beta
356
+ */
357
+ disableMultipleUploads?: boolean;
358
+ /**
359
+ * A function of type {@link AttachmentUploadHandler} for handling attachment uploads.
360
+ * @beta
361
+ */
362
+ handler: AttachmentUploadHandler;
363
+ }
364
+
365
+ /**
366
+ * @beta
367
+ * A attachment upload status object that contains message to be shown to
368
+ * the user and a timestamp.
369
+ */
370
+ export declare interface AttachmentUploadStatus {
371
+ message: string;
372
+ timestamp: number;
373
+ }
374
+
375
+ /**
376
+ * A record containing {@link AttachmentMetadata} mapped to unique ids.
377
+ * @beta
378
+ */
379
+ export declare type AttachmentUploadsUiState = Record<string, AttachmentMetadata>;
380
+
278
381
  /**
279
382
  * Custom data attributes for displaying avatar for a user.
280
383
  *
@@ -2469,6 +2572,30 @@ export declare interface CallCompositeStrings {
2469
2572
  * Tooltip for button to exit spotlight
2470
2573
  */
2471
2574
  exitSpotlightButtonTooltip: string;
2575
+ /**
2576
+ * Label for confirm button in hang up confirm dialog
2577
+ */
2578
+ hangUpConfirmButtonLabel?: string;
2579
+ /**
2580
+ * Label for cancel button in hang up confirm dialog
2581
+ */
2582
+ hangUpCancelButtonLabel?: string;
2583
+ /**
2584
+ * Title of confirm dialog when leaving
2585
+ */
2586
+ leaveConfirmDialogTitle?: string;
2587
+ /**
2588
+ * Content of confirm dialog when leaving
2589
+ */
2590
+ leaveConfirmDialogContent?: string;
2591
+ /**
2592
+ * Title of confirm dialog when leaving
2593
+ */
2594
+ endCallConfirmDialogTitle?: string;
2595
+ /**
2596
+ * Content of confirm dialog when leaving
2597
+ */
2598
+ endCallConfirmDialogContent?: string;
2472
2599
  /**
2473
2600
  * Error message when the meeting identifier or passcode is invalid
2474
2601
  */
@@ -2788,7 +2915,7 @@ export declare interface CallState {
2788
2915
  /**
2789
2916
  * Proxy of {@link @azure/communication-calling#PPTLiveCallFeature}.
2790
2917
  *
2791
- *@public
2918
+ *@beta
2792
2919
  */
2793
2920
  pptLive: PPTLiveCallFeatureState;
2794
2921
  /**
@@ -2820,7 +2947,7 @@ export declare interface CallState {
2820
2947
  *
2821
2948
  * This property is added by the stateful layer and is not a proxy of SDK state
2822
2949
  *
2823
- *@public
2950
+ *@beta
2824
2951
  */
2825
2952
  contentSharingRemoteParticipant?: string;
2826
2953
  /**
@@ -3185,19 +3312,19 @@ export declare interface CallWithChatAdapterManagement {
3185
3312
  */
3186
3313
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
3187
3314
  /** @beta */
3188
- registerActiveFileUploads: (files: File[]) => FileUploadManager[];
3315
+ registerActiveUploads: (files: File[]) => AttachmentUploadManager[];
3189
3316
  /** @beta */
3190
- registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
3317
+ registerCompletedUploads: (metadata: AttachmentMetadata[]) => AttachmentUploadManager[];
3191
3318
  /** @beta */
3192
- clearFileUploads: () => void;
3319
+ clearUploads: () => void;
3193
3320
  /** @beta */
3194
- cancelFileUpload: (id: string) => void;
3321
+ cancelUpload: (id: string) => void;
3195
3322
  /** @beta */
3196
- updateFileUploadProgress: (id: string, progress: number) => void;
3323
+ updateUploadProgress: (id: string, progress: number) => void;
3197
3324
  /** @beta */
3198
- updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
3325
+ updateUploadStatusMessage: (id: string, errorMessage: string) => void;
3199
3326
  /** @beta */
3200
- updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
3327
+ updateUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
3201
3328
  /** @public */
3202
3329
  downloadResourceToCache(resourceDetails: ResourceDetails): Promise<void>;
3203
3330
  /** @public */
@@ -3383,11 +3510,11 @@ export declare interface CallWithChatAdapterUiState {
3383
3510
  /**
3384
3511
  * Files being uploaded by a user in the current thread.
3385
3512
  * Should be set to null once the upload is complete.
3386
- * Array of type {@link FileUploadsUiState}
3513
+ * Array of type {@link AttachmentUploadsUiState}
3387
3514
  *
3388
3515
  * @beta
3389
3516
  */
3390
- fileUploads?: FileUploadsUiState;
3517
+ attachmentUploads?: AttachmentUploadsUiState;
3391
3518
  /**
3392
3519
  * State to track whether the end user has opted in to using a
3393
3520
  * out of date version of a supported browser. Allows the user
@@ -3543,7 +3670,7 @@ export declare type CallWithChatCompositeOptions = {
3543
3670
  * If undefined, file sharing feature will be disabled.
3544
3671
  * @beta
3545
3672
  */
3546
- fileSharing?: FileSharingOptions;
3673
+ attachmentOptions?: AttachmentOptions;
3547
3674
  /**
3548
3675
  * Device permissions check options for your call.
3549
3676
  * Here you can choose what device permissions you prompt the user for,
@@ -4334,7 +4461,7 @@ export declare type CaptionsReceivedListener = (event: {
4334
4461
  *
4335
4462
  * @public
4336
4463
  */
4337
- export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers & FileUploadAdapter;
4464
+ export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers & AttachmentUploadAdapter;
4338
4465
 
4339
4466
  /**
4340
4467
  * {@link ChatAdapter} state.
@@ -4493,10 +4620,10 @@ export declare type ChatAdapterUiState = {
4493
4620
  /**
4494
4621
  * Files being uploaded by a user in the current thread.
4495
4622
  * Should be set to null once the upload is complete.
4496
- * Array of type {@link FileUploadsUiState}
4623
+ * Array of type {@link AttachmentUploadsUiState}
4497
4624
  * @beta
4498
4625
  */
4499
- fileUploads?: FileUploadsUiState;
4626
+ attachmentUploads?: AttachmentUploadsUiState;
4500
4627
  };
4501
4628
 
4502
4629
  /**
@@ -4642,7 +4769,7 @@ export declare type ChatCompositeOptions = {
4642
4769
  * If undefined, file sharing feature will be disabled.
4643
4770
  * @beta
4644
4771
  */
4645
- fileSharing?: FileSharingOptions;
4772
+ attachmentOptions?: AttachmentOptions;
4646
4773
  /**
4647
4774
  * Properties for configuring the richTextEditor feature.
4648
4775
  * @defaultValue false
@@ -5026,7 +5153,13 @@ export declare type CommonCallControlOptions = {
5026
5153
  * Show or Hide EndCall button during a call.
5027
5154
  * @defaultValue true
5028
5155
  */
5029
- endCallButton?: boolean;
5156
+ endCallButton?: boolean | /* @conditional-compile-remove(end-call-options) */ {
5157
+ /**
5158
+ * whether to make end call button to trigger a menu, which will enable end call for everybody functionality.
5159
+ * @defaultValue false
5160
+ */
5161
+ hangUpForEveryone?: false | 'endCallOptions';
5162
+ };
5030
5163
  /**
5031
5164
  * Show or Hide Microphone button during a call.
5032
5165
  * @defaultValue true
@@ -6226,8 +6359,9 @@ export declare const DEFAULT_COMPONENT_ICONS: {
6226
6359
  RaiseHandContextualMenuItem: React_2.JSX.Element;
6227
6360
  LowerHandContextualMenuItem: React_2.JSX.Element;
6228
6361
  ReactionButtonIcon: React_2.JSX.Element;
6229
- CancelFileUpload: React_2.JSX.Element;
6230
- DownloadFile: React_2.JSX.Element;
6362
+ CancelAttachmentUpload: React_2.JSX.Element;
6363
+ DownloadAttachment: React_2.JSX.Element;
6364
+ OpenAttachment: React_2.JSX.Element;
6231
6365
  DataLossPreventionProhibited: React_2.JSX.Element;
6232
6366
  EditBoxCancel: React_2.JSX.Element;
6233
6367
  EditBoxSubmit: React_2.JSX.Element;
@@ -6423,8 +6557,9 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
6423
6557
  MoreDrawerSpeakers?: JSX.Element | undefined;
6424
6558
  ChatMessageOptions: React_2.JSX.Element;
6425
6559
  ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
6426
- CancelFileUpload: React_2.JSX.Element;
6427
- DownloadFile: React_2.JSX.Element;
6560
+ CancelAttachmentUpload: React_2.JSX.Element;
6561
+ DownloadAttachment: React_2.JSX.Element;
6562
+ OpenAttachment: React_2.JSX.Element;
6428
6563
  DataLossPreventionProhibited: React_2.JSX.Element;
6429
6564
  ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
6430
6565
  ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
@@ -6484,6 +6619,13 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
6484
6619
  RichTextTableDeleteMenuIcon: React_2.JSX.Element;
6485
6620
  };
6486
6621
 
6622
+ /**
6623
+ * @beta
6624
+ *
6625
+ * The default menu action for downloading attachments. This action will open the attachment's URL in a new tab.
6626
+ */
6627
+ export declare const defaultAttachmentMenuAction: AttachmentMenuAction;
6628
+
6487
6629
  /**
6488
6630
  * Device Checks.
6489
6631
  * Choose whether or not to block starting a call depending on camera and microphone permission options.
@@ -6872,7 +7014,12 @@ export declare interface EndCallButtonProps extends ControlBarButtonProps {
6872
7014
  * Utility property for using this component with `communication react eventHandlers`.
6873
7015
  * Maps directly to the `onClick` property.
6874
7016
  */
6875
- onHangUp?: () => Promise<void>;
7017
+ onHangUp?: (forEveryone?: boolean) => Promise<void>;
7018
+ /**
7019
+ * Set this to true to make it a split button.
7020
+ * The split arrow will trigger a contextual menu to allow end for everyone or just for the user.
7021
+ */
7022
+ enableEndCallMenu?: boolean;
6876
7023
  /**
6877
7024
  * Optional strings to override in component
6878
7025
  */
@@ -6891,6 +7038,10 @@ export declare interface EndCallButtonStrings {
6891
7038
  label: string;
6892
7039
  /** Tooltip content. */
6893
7040
  tooltipContent?: string;
7041
+ /** Label for leave option when ending call */
7042
+ leaveOption?: string;
7043
+ /** Label for end the whole call option when ending call */
7044
+ endCallOption?: string;
6894
7045
  }
6895
7046
 
6896
7047
  /**
@@ -7101,178 +7252,6 @@ export declare interface ErrorBarStrings {
7101
7252
  */
7102
7253
  export declare type ErrorType = keyof ErrorBarStrings;
7103
7254
 
7104
- /**
7105
- * @beta
7106
- * A attachment download error returned via a {@link FileDownloadHandler}.
7107
- * This error message is used to render an error message in the UI.
7108
- */
7109
- export declare interface FileDownloadError {
7110
- /** The error message to display in the UI */
7111
- errorMessage: string;
7112
- }
7113
-
7114
- /**
7115
- * @beta
7116
- *
7117
- * A callback function for handling attachment downloads.
7118
- * The function needs to return a promise that resolves to a attachment download URL.
7119
- * If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
7120
- *
7121
- * @example
7122
- * ```ts
7123
- * const attachmentDownloadHandler: FileDownloadHandler = async (userId, attachmentData) => {
7124
- * if (isUnauthorizedUser(userId)) {
7125
- * return { errorMessage: 'You don’t have permission to download this attachment.' };
7126
- * } else {
7127
- * return new URL(attachmentData.url);
7128
- * }
7129
- * }
7130
- *
7131
- * const App = () => (
7132
- * <ChatComposite
7133
- * ...
7134
- * fileSharing={{
7135
- * fileDownloadHandler: fileDownloadHandler
7136
- * }}
7137
- * />
7138
- * )
7139
- *
7140
- * ```
7141
- * @param userId - The user ID of the user downloading the attachment.
7142
- * @param fileMetadata - The {@link AttachmentMetadata} containing file `url`, `extension` and `name`.
7143
- */
7144
- export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
7145
-
7146
- /**
7147
- * Properties for configuring the File Sharing feature.
7148
- * @beta
7149
- */
7150
- export declare interface FileSharingOptions {
7151
- /**
7152
- * A string containing the comma separated list of accepted file types.
7153
- * Similar to the `accept` attribute of the `<input type="file" />` element.
7154
- * Accepts any type of file if not specified.
7155
- * @beta
7156
- */
7157
- accept?: string;
7158
- /**
7159
- * Allows multiple files to be selected if set to `true`.
7160
- * Similar to the `multiple` attribute of the `<input type="file" />` element.
7161
- * @defaultValue false
7162
- * @beta
7163
- */
7164
- multiple?: boolean;
7165
- /**
7166
- * A function of type {@link FileUploadHandler} for handling file uploads.
7167
- * @beta
7168
- */
7169
- uploadHandler: FileUploadHandler;
7170
- /**
7171
- * A function of type {@link FileDownloadHandler} for handling file downloads.
7172
- * If the function is not specified, the file's `url` will be opened in a new tab to
7173
- * initiate the download.
7174
- */
7175
- downloadHandler?: FileDownloadHandler;
7176
- }
7177
-
7178
- /**
7179
- * @beta
7180
- */
7181
- export declare interface FileUploadAdapter {
7182
- registerActiveFileUploads: (files: File[]) => FileUploadManager[];
7183
- registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
7184
- clearFileUploads: () => void;
7185
- cancelFileUpload: (id: string) => void;
7186
- updateFileUploadProgress: (id: string, progress: number) => void;
7187
- updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
7188
- updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
7189
- }
7190
-
7191
- /**
7192
- * @beta
7193
- * Error message to be displayed to the user if the upload fails.
7194
- */
7195
- export declare type FileUploadError = {
7196
- message: string;
7197
- timestamp: number;
7198
- };
7199
-
7200
- /**
7201
- * @beta
7202
- * A callback function for handling file uploads.
7203
- *
7204
- * @param userId - The user ID of the user uploading the file.
7205
- * @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
7206
- */
7207
- export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
7208
-
7209
- /**
7210
- * A wrapper object for a file that is being uploaded.
7211
- * Allows managing file uploads by providing common functions for updating the
7212
- * upload progress, canceling an upload, completing an upload etc.
7213
- * @beta
7214
- */
7215
- export declare interface FileUploadManager {
7216
- /**
7217
- * Unique identifier for the file upload.
7218
- */
7219
- id: string;
7220
- /**
7221
- * HTML {@link File} object for the uploaded file.
7222
- */
7223
- file?: File;
7224
- /**
7225
- * Update the progress of the upload.
7226
- * @param value - number between 0 and 1
7227
- */
7228
- notifyUploadProgressChanged: (value: number) => void;
7229
- /**
7230
- * Mark the upload as complete.
7231
- * Requires the `metadata` param containing uploaded file information.
7232
- * @param metadata - {@link AttachmentMetadata}
7233
- */
7234
- notifyUploadCompleted: (metadata: AttachmentMetadata) => void;
7235
- /**
7236
- * Mark the upload as failed.
7237
- * @param message - An error message that can be displayed to the user.
7238
- */
7239
- notifyUploadFailed: (message: string) => void;
7240
- }
7241
-
7242
- /**
7243
- * Contains the state attributes of a file upload like name, progress etc.
7244
- * @beta
7245
- */
7246
- export declare interface FileUploadState {
7247
- /**
7248
- * Unique identifier for the file upload.
7249
- */
7250
- id: string;
7251
- /**
7252
- * Filename extracted from the {@link File} object.
7253
- * This attribute is used to render the filename if `metadata.name` is not available.
7254
- */
7255
- filename: string;
7256
- /**
7257
- * A number between 0 and 1 indicating the progress of the upload.
7258
- */
7259
- progress: number;
7260
- /**
7261
- * Metadata {@link AttachmentMetadata} containing information about the uploaded file.
7262
- */
7263
- metadata?: AttachmentMetadata;
7264
- /**
7265
- * Error message to be displayed to the user if the upload fails.
7266
- */
7267
- error?: FileUploadError;
7268
- }
7269
-
7270
- /**
7271
- * A record containing {@link FileUploadState} mapped to unique ids.
7272
- * @beta
7273
- */
7274
- export declare type FileUploadsUiState = Record<string, FileUploadState>;
7275
-
7276
7255
  /**
7277
7256
  * Provider to apply a Fluent theme across this library's react components.
7278
7257
  *
@@ -8307,10 +8286,10 @@ export declare type MessageThreadProps = {
8307
8286
  */
8308
8287
  onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
8309
8288
  /**
8310
- * Optional callback to render attached files in the message component.
8289
+ * Optional callback to render attachments in the message component.
8311
8290
  * @beta
8312
8291
  */
8313
- onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
8292
+ onRenderAttachmentDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
8314
8293
  /**
8315
8294
  * Optional callback to edit a message.
8316
8295
  *
@@ -8354,11 +8333,10 @@ export declare type MessageThreadProps = {
8354
8333
  strings?: Partial<MessageThreadStrings>;
8355
8334
  /**
8356
8335
  * @beta
8357
- * Optional function called when someone clicks on the file download icon.
8358
- * If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
8359
- * this function will be called with the data inside `fileSharingMetadata` key.
8336
+ * Optional attachment options, which defines behvaiour for uploading and downloading attachments.
8337
+ * As this moment, the uploadOptions would be ignored and this option is intended for download only.
8360
8338
  */
8361
- fileDownloadHandler?: FileDownloadHandler;
8339
+ attachmentOptions?: AttachmentOptions;
8362
8340
  /**
8363
8341
  * Optional function to provide customized date format.
8364
8342
  * @beta
@@ -8447,13 +8425,15 @@ export declare interface MessageThreadStrings {
8447
8425
  actionMenuMoreOptions?: string;
8448
8426
  /** Aria label to announce when a message is deleted */
8449
8427
  messageDeletedAnnouncementAriaLabel: string;
8450
- /** String for download file button in attachment card */
8428
+ /** String for download attachment button in attachment card */
8451
8429
  downloadAttachment: string;
8430
+ /** String for open attachment button in attachment card */
8431
+ openAttachment: string;
8452
8432
  /** String for policy violation message removal */
8453
8433
  blockedWarningText: string;
8454
8434
  /** String for policy violation message removal details link */
8455
8435
  blockedWarningLinkText: string;
8456
- /** String for aria text in file attachment group*/
8436
+ /** String for aria text in attachment card group*/
8457
8437
  attachmentCardGroupMessage: string;
8458
8438
  }
8459
8439
 
@@ -9191,7 +9171,7 @@ export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Conn
9191
9171
  * State only version of {@link @azure/communication-calling#PPTLiveCallFeature}. {@link StatefulCallClient} will
9192
9172
  * automatically listen for pptLive on the call and update the state exposed by {@link StatefulCallClient} accordingly.
9193
9173
  *
9194
- * @public
9174
+ * @beta
9195
9175
  */
9196
9176
  export declare interface PPTLiveCallFeatureState {
9197
9177
  /**
@@ -9355,10 +9335,10 @@ export declare interface ReactionButtonStrings {
9355
9335
  likeReactionTooltipContent?: string;
9356
9336
  /** Tooltip content of heart reaction button. */
9357
9337
  heartReactionTooltipContent?: string;
9358
- /** Tooltip content of laugh reaction button. */
9359
- laughReactionTooltipContent?: string;
9360
9338
  /** Tooltip content of clap reaction button. */
9361
9339
  applauseReactionTooltipContent?: string;
9340
+ /** Tooltip content of laugh reaction button. */
9341
+ laughReactionTooltipContent?: string;
9362
9342
  /** Tooltip content of surprised reaction button. */
9363
9343
  surprisedReactionTooltipContent?: string;
9364
9344
  }
@@ -9509,7 +9489,7 @@ export declare interface RemoteParticipantState {
9509
9489
  /**
9510
9490
  * Proxy of {@link @azure/communication-calling#Call.PPTLive.target}.
9511
9491
  *
9512
- * @public
9492
+ * @beta
9513
9493
  */
9514
9494
  contentSharingStream?: HTMLElement;
9515
9495
  /**
@@ -9631,17 +9611,17 @@ export declare interface RichTextSendBoxProps {
9631
9611
  */
9632
9612
  systemMessage?: string;
9633
9613
  /**
9634
- * Optional array of active file uploads where each object has attributes
9635
- * of a file upload like name, progress, errorMessage etc.
9614
+ * Optional array of active attachment uploads where each object has attributes
9615
+ * of a attachment upload like name, progress, errorMessage etc.
9636
9616
  * @beta
9637
9617
  */
9638
- activeFileUploads?: ActiveFileUpload[];
9618
+ activeAttachmentUploads?: AttachmentMetadata[];
9639
9619
  /**
9640
- * Optional callback to remove the file upload before sending by clicking on
9620
+ * Optional callback to remove the attachment upload before sending by clicking on
9641
9621
  * cancel icon.
9642
9622
  * @beta
9643
9623
  */
9644
- onCancelFileUpload?: (fileId: string) => void;
9624
+ onCancelAttachmentUpload?: (fileId: string) => void;
9645
9625
  /**
9646
9626
  * Callback function used when the send button is clicked.
9647
9627
  */
@@ -9878,23 +9858,23 @@ export declare interface SendBoxProps {
9878
9858
  autoFocus?: 'sendBoxTextField';
9879
9859
  /**
9880
9860
  * Optional callback to render uploaded files in the SendBox. The sendBox will expand
9881
- * vertically to accommodate the uploaded files. File uploads will
9861
+ * vertically to accommodate the uploaded files. Attachment uploads will
9882
9862
  * be rendered below the text area in sendBox.
9883
9863
  * @beta
9884
9864
  */
9885
- onRenderFileUploads?: () => JSX.Element;
9865
+ onRenderAttachmentUploads?: () => JSX.Element;
9886
9866
  /**
9887
9867
  * Optional array of active attachment uploads where each object has attributes
9888
9868
  * of a attachment upload like name, progress, errorMessage etc.
9889
9869
  * @beta
9890
9870
  */
9891
- activeFileUploads?: ActiveFileUpload[];
9871
+ activeAttachmentUploads?: AttachmentMetadata[];
9892
9872
  /**
9893
9873
  * Optional callback to remove the attachment upload before sending by clicking on
9894
9874
  * cancel icon.
9895
9875
  * @beta
9896
9876
  */
9897
- onCancelFileUpload?: (fileId: string) => void;
9877
+ onCancelAttachmentUpload?: (fileId: string) => void;
9898
9878
  }
9899
9879
 
9900
9880
  /**