@azure/communication-react 1.3.1-alpha-202205310013.0 → 1.3.1-beta.1

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 (384) hide show
  1. package/CHANGELOG.json +1260 -0
  2. package/CHANGELOG.md +110 -1
  3. package/dist/communication-react.d.ts +405 -31
  4. package/dist/dist-cjs/communication-react/index.js +1682 -783
  5. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/index.d.ts +2 -0
  7. package/dist/dist-esm/acs-ui-common/src/index.d.ts.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/index.js +1 -0
  9. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/logEvent.d.ts +16 -0
  11. package/dist/dist-esm/acs-ui-common/src/logEvent.d.ts.map +1 -0
  12. package/dist/dist-esm/acs-ui-common/src/logEvent.js +11 -0
  13. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -0
  14. package/dist/dist-esm/acs-ui-common/src/safeStringify.d.ts.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/safeStringify.js +17 -1
  16. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  17. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  19. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +4 -0
  20. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts.map +1 -1
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +9 -1
  22. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  23. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +12 -0
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts.map +1 -1
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +14 -2
  26. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  27. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.d.ts.map +1 -1
  28. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +32 -13
  29. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  30. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +2 -0
  31. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts.map +1 -1
  32. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +6 -2
  33. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  34. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +4 -1
  35. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts.map +1 -1
  36. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +22 -0
  37. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +4 -2
  39. package/dist/dist-esm/calling-component-bindings/src/index.d.ts.map +1 -1
  40. package/dist/dist-esm/calling-component-bindings/src/index.js +4 -2
  41. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  42. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts.map +1 -1
  43. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +34 -36
  44. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  45. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.d.ts +6 -0
  46. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.d.ts.map +1 -0
  47. package/dist/dist-esm/calling-component-bindings/src/{SelectorUtils.js → utils/SelectorUtils.js} +0 -0
  48. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -0
  49. package/dist/dist-esm/calling-component-bindings/src/{callUtils.d.ts → utils/callUtils.d.ts} +7 -1
  50. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts.map +1 -0
  51. package/dist/dist-esm/calling-component-bindings/src/{callUtils.js → utils/callUtils.js} +28 -0
  52. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -0
  53. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +6 -0
  54. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts.map +1 -0
  55. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +25 -0
  56. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -0
  57. package/dist/dist-esm/calling-component-bindings/src/{videoGalleryUtils.d.ts → utils/videoGalleryUtils.d.ts} +3 -5
  58. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts.map +1 -0
  59. package/dist/dist-esm/calling-component-bindings/src/{videoGalleryUtils.js → utils/videoGalleryUtils.js} +3 -1
  60. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -0
  61. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +10 -3
  63. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  64. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +17 -1
  65. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts.map +1 -1
  66. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js +22 -5
  67. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  68. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +6 -1
  69. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts.map +1 -1
  70. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  71. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -0
  72. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts.map +1 -1
  73. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +19 -0
  74. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  75. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts.map +1 -1
  76. package/dist/dist-esm/calling-stateful-client/src/Converter.js +2 -0
  77. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  78. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.d.ts +22 -0
  79. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.d.ts.map +1 -0
  80. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +49 -0
  81. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -0
  82. package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts +26 -0
  83. package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts.map +1 -1
  84. package/dist/dist-esm/calling-stateful-client/src/Logger.js +30 -0
  85. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  86. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
  87. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts.map +1 -1
  88. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
  89. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  90. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +13 -0
  91. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts.map +1 -1
  92. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  93. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.d.ts.map +1 -1
  94. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +133 -25
  95. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  96. package/dist/dist-esm/calling-stateful-client/src/index.d.ts +2 -0
  97. package/dist/dist-esm/calling-stateful-client/src/index.d.ts.map +1 -1
  98. package/dist/dist-esm/communication-react/src/index.d.ts +7 -1
  99. package/dist/dist-esm/communication-react/src/index.d.ts.map +1 -1
  100. package/dist/dist-esm/communication-react/src/index.js +4 -0
  101. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  102. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +2 -2
  103. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts.map +1 -1
  104. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts +1 -1
  105. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts.map +1 -1
  106. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.d.ts.map +1 -1
  107. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +1 -0
  108. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  109. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts.map +1 -1
  110. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +1 -1
  111. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  112. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts.map +1 -1
  113. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +16 -2
  114. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  115. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +33 -21
  116. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts.map +1 -1
  117. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +87 -30
  118. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  119. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +16 -3
  120. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts.map +1 -1
  121. package/dist/dist-esm/react-components/src/components/ErrorBar.js +22 -1
  122. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  123. package/dist/dist-esm/react-components/src/components/FileCard.d.ts +5 -0
  124. package/dist/dist-esm/react-components/src/components/FileCard.d.ts.map +1 -1
  125. package/dist/dist-esm/react-components/src/components/FileCard.js +44 -14
  126. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  127. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +13 -0
  128. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts.map +1 -1
  129. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +18 -1
  130. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  131. package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts +17 -0
  132. package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts.map +1 -1
  133. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +19 -2
  134. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  135. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
  136. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts.map +1 -0
  137. package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
  138. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
  139. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.d.ts.map +1 -1
  140. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +15 -4
  141. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  142. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +3 -1
  143. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts.map +1 -1
  144. package/dist/dist-esm/react-components/src/components/MessageThread.js +15 -12
  145. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  146. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +3 -3
  147. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts.map +1 -1
  148. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +14 -6
  149. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  150. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +5 -1
  151. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts.map +1 -1
  152. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +3 -2
  153. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  154. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +2 -0
  155. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts.map +1 -1
  156. package/dist/dist-esm/react-components/src/components/ParticipantList.js +5 -7
  157. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  158. package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts +2 -0
  159. package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts.map +1 -1
  160. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +4 -3
  161. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  162. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +1 -0
  163. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts.map +1 -1
  164. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +6 -3
  165. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  166. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +12 -0
  167. package/dist/dist-esm/react-components/src/components/SendBox.d.ts.map +1 -1
  168. package/dist/dist-esm/react-components/src/components/SendBox.js +10 -5
  169. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  170. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts.map +1 -1
  171. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +8 -5
  172. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  173. package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts +7 -0
  174. package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts.map +1 -1
  175. package/dist/dist-esm/react-components/src/components/StreamMedia.js +7 -4
  176. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  177. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +4 -1
  178. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  179. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts +1 -0
  180. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts.map +1 -1
  181. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +2 -2
  182. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  183. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts +2 -2
  184. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts.map +1 -1
  185. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +18 -70
  186. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  187. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +2 -0
  188. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts.map +1 -1
  189. package/dist/dist-esm/react-components/src/components/VideoGallery.js +6 -4
  190. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  191. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts.map +1 -1
  192. package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -1
  193. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  194. package/dist/dist-esm/react-components/src/components/VoiceOverButton.d.ts +7 -0
  195. package/dist/dist-esm/react-components/src/components/VoiceOverButton.d.ts.map +1 -0
  196. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js +32 -0
  197. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js.map +1 -0
  198. package/dist/dist-esm/react-components/src/components/index.d.ts +6 -2
  199. package/dist/dist-esm/react-components/src/components/index.d.ts.map +1 -1
  200. package/dist/dist-esm/react-components/src/components/index.js +4 -1
  201. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  202. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts.map +1 -1
  203. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +7 -2
  204. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.d.ts +13 -1
  206. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.d.ts.map +1 -1
  207. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +34 -0
  208. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  209. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.d.ts +9 -0
  210. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.d.ts.map +1 -0
  211. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js +26 -0
  212. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js.map +1 -0
  213. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +3 -0
  214. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts.map +1 -1
  215. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  216. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +45 -7
  217. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +45 -7
  218. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +22 -4
  219. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +46 -8
  220. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +45 -7
  221. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +45 -7
  222. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +45 -7
  223. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +45 -7
  224. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +45 -7
  225. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +45 -7
  226. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +45 -7
  227. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +45 -7
  228. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +45 -7
  229. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +45 -7
  230. package/dist/dist-esm/react-components/src/theming/icons.d.ts +6 -0
  231. package/dist/dist-esm/react-components/src/theming/icons.d.ts.map +1 -1
  232. package/dist/dist-esm/react-components/src/theming/icons.js +12 -2
  233. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  234. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +2 -0
  235. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts.map +1 -1
  236. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +12 -2
  237. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts.map +1 -1
  238. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +52 -3
  239. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  240. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +42 -2
  241. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts.map +1 -1
  242. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts.map +1 -1
  243. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +1 -1
  244. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  245. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +1 -0
  246. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts.map +1 -1
  247. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +7 -18
  248. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  249. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.d.ts.map +1 -1
  250. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +3 -3
  251. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  252. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.d.ts.map +1 -1
  253. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +3 -2
  254. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  255. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts.map +1 -1
  256. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +2 -23
  257. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  258. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.d.ts.map +1 -1
  259. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +3 -3
  260. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  261. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts +2 -3
  262. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts.map +1 -1
  263. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +2 -2
  264. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  265. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +9 -1
  266. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts.map +1 -1
  267. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +39 -10
  268. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
  269. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts +1 -0
  270. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts.map +1 -1
  271. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +1 -1
  272. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  273. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +10 -9
  274. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  275. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -1
  276. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts.map +1 -1
  277. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  278. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +1 -1
  279. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  280. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts.map +1 -1
  281. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +4 -4
  282. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  283. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts.map +1 -1
  284. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +10 -1
  285. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  286. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +41 -13
  287. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts.map +1 -1
  288. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +7 -0
  289. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts.map +1 -1
  290. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +7 -2
  291. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  292. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts.map +1 -1
  293. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +20 -3
  294. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
  295. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts +68 -0
  296. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts.map +1 -0
  297. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js +70 -0
  298. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +1 -0
  299. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js +1 -1
  300. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js.map +1 -1
  301. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +4 -4
  302. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts.map +1 -1
  303. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +11 -2
  304. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts.map +1 -1
  305. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +38 -2
  306. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  307. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +27 -3
  308. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts.map +1 -1
  309. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +7 -2
  310. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts.map +1 -1
  311. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +14 -2
  312. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  313. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts +1 -1
  314. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts.map +1 -1
  315. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js +19 -1
  316. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +1 -1
  317. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -0
  318. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts.map +1 -1
  319. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts.map +1 -1
  320. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +1 -1
  321. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  322. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +1 -0
  323. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts.map +1 -1
  324. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +2 -2
  325. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -1
  326. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
  327. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts.map +1 -1
  328. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.d.ts.map +1 -1
  329. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +11 -1
  330. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  331. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts +5 -0
  332. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts.map +1 -1
  333. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +9 -2
  334. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  335. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts.map +1 -1
  336. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +32 -8
  337. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  338. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.d.ts.map +1 -1
  339. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +8 -2
  340. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  341. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts.map +1 -1
  342. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +8 -4
  343. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  344. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +10 -0
  345. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts.map +1 -1
  346. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  347. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.d.ts +6 -0
  348. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.d.ts.map +1 -0
  349. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js +12 -0
  350. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -0
  351. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts +6 -2
  352. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts.map +1 -1
  353. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +20 -4
  354. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  355. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +12 -6
  356. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +12 -6
  357. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +3 -2
  358. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +12 -6
  359. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +12 -6
  360. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +12 -6
  361. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +12 -6
  362. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +12 -6
  363. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +12 -6
  364. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +12 -6
  365. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +12 -6
  366. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +12 -6
  367. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +12 -6
  368. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +12 -6
  369. package/package.json +11 -11
  370. package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.d.ts +0 -6
  371. package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.d.ts.map +0 -1
  372. package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.js.map +0 -1
  373. package/dist/dist-esm/calling-component-bindings/src/callUtils.d.ts.map +0 -1
  374. package/dist/dist-esm/calling-component-bindings/src/callUtils.js.map +0 -1
  375. package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.d.ts.map +0 -1
  376. package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.js.map +0 -1
  377. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.d.ts +0 -74
  378. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.d.ts.map +0 -1
  379. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.js +0 -85
  380. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.js.map +0 -1
  381. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts +0 -21
  382. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts.map +0 -1
  383. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js +0 -59
  384. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js.map +0 -1
@@ -43,6 +43,7 @@ import { CreateViewOptions } from '@azure/communication-calling';
43
43
  import { DeviceAccess } from '@azure/communication-calling';
44
44
  import { DeviceManager } from '@azure/communication-calling';
45
45
  import { DominantSpeakersInfo } from '@azure/communication-calling';
46
+ import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
46
47
  import { GroupCallLocator } from '@azure/communication-calling';
47
48
  import { IButtonProps } from '@fluentui/react';
48
49
  import { IButtonStyles } from '@fluentui/react';
@@ -50,11 +51,13 @@ import { IContextualMenuItem } from '@fluentui/react';
50
51
  import { IContextualMenuItemStyles } from '@fluentui/react';
51
52
  import { IContextualMenuStyles } from '@fluentui/react';
52
53
  import { IMessageBarProps } from '@fluentui/react';
54
+ import { IncomingCall } from '@azure/communication-calling';
53
55
  import { IPersonaStyleProps } from '@fluentui/react';
54
56
  import { IPersonaStyles } from '@fluentui/react';
55
57
  import { IRenderFunction } from '@fluentui/react';
56
58
  import { IStyle } from '@fluentui/react';
57
59
  import { IStyleFunctionOrObject } from '@fluentui/react';
60
+ import { ITextFieldStyles } from '@fluentui/react';
58
61
  import { LatestMediaDiagnostics } from '@azure/communication-calling';
59
62
  import { LatestNetworkDiagnostics } from '@azure/communication-calling';
60
63
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
@@ -68,6 +71,7 @@ import { PersonaPresence } from '@fluentui/react';
68
71
  import { PersonaSize } from '@fluentui/react';
69
72
  import { PhoneNumberIdentifier } from '@azure/communication-common';
70
73
  import { PhoneNumberKind } from '@azure/communication-common';
74
+ import { PropertyChangedEvent } from '@azure/communication-calling';
71
75
  import { default as React_2 } from 'react';
72
76
  import type { RemoteParticipant } from '@azure/communication-calling';
73
77
  import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
@@ -407,7 +411,7 @@ export declare interface CallAdapterCallManagement {
407
411
  *
408
412
  * @public
409
413
  */
410
- startCall(participants: string[]): Call | undefined;
414
+ startCall(participants: string[], options?: StartCallOptions): Call | undefined;
411
415
  /**
412
416
  * Start sharing the screen during a call.
413
417
  *
@@ -452,6 +456,24 @@ export declare interface CallAdapterCallManagement {
452
456
  * @public
453
457
  */
454
458
  disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
459
+ /**
460
+ * Holds the call.
461
+ *
462
+ * @beta
463
+ */
464
+ holdCall(): Promise<void>;
465
+ /**
466
+ * Resumes the call from a `LocalHold` state.
467
+ *
468
+ * @beta
469
+ */
470
+ resumeCall(): Promise<void>;
471
+ /**
472
+ * Add a participant to the call.
473
+ *
474
+ * @beta
475
+ */
476
+ addParticipant(participant: CommunicationIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
455
477
  }
456
478
 
457
479
  /**
@@ -615,6 +637,18 @@ export declare interface CallAdapterSubscribers {
615
637
  * This event fires whenever there is a change in user facing diagnostics about the ongoing call.
616
638
  */
617
639
  on(event: 'diagnosticChanged', listener: DiagnosticChangedEventListner): void;
640
+ /**
641
+ * Subscribe function for 'selectedMicrophoneChanged' event.
642
+ *
643
+ * This event fires whenever the user selects a new microphone device.
644
+ */
645
+ on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
646
+ /**
647
+ * Subscribe function for 'selectedSpeakerChanged' event.
648
+ *
649
+ * This event fires whenever the user selects a new speaker device.
650
+ */
651
+ on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
618
652
  /**
619
653
  * Subscribe function for 'error' event.
620
654
  */
@@ -655,6 +689,14 @@ export declare interface CallAdapterSubscribers {
655
689
  * Unsubscribe function for 'diagnosticChanged' event.
656
690
  */
657
691
  off(event: 'diagnosticChanged', listener: DiagnosticChangedEventListner): void;
692
+ /**
693
+ * Unsubscribe function for 'selectedMicrophoneChanged' event.
694
+ */
695
+ off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
696
+ /**
697
+ * Unsubscribe function for 'selectedSpeakerChanged' event.
698
+ */
699
+ off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
658
700
  /**
659
701
  * Unsubscribe function for 'error' event.
660
702
  */
@@ -834,9 +876,11 @@ export declare type CallCompositeIcons = {
834
876
  ErrorBarCallMacOsMicrophoneAccessDenied?: JSX.Element;
835
877
  ErrorBarCallMicrophoneAccessDenied?: JSX.Element;
836
878
  ErrorBarCallMicrophoneMutedBySystem?: JSX.Element;
879
+ ErrorBarCallMicrophoneUnmutedBySystem?: JSX.Element;
837
880
  ErrorBarCallNetworkQualityLow?: JSX.Element;
838
881
  ErrorBarCallNoMicrophoneFound?: JSX.Element;
839
882
  ErrorBarCallNoSpeakerFound?: JSX.Element;
883
+ ErrorBarClear?: JSX.Element;
840
884
  HorizontalGalleryLeftButton?: JSX.Element;
841
885
  HorizontalGalleryRightButton?: JSX.Element;
842
886
  LobbyScreenConnectingToCall?: JSX.Element;
@@ -1217,7 +1261,7 @@ export declare type CallErrors = {
1217
1261
  *
1218
1262
  * @public
1219
1263
  */
1220
- export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopVideo' | 'Call.unmute' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker';
1264
+ export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopVideo' | 'Call.unmute' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | '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';
1221
1265
 
1222
1266
  /**
1223
1267
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -1264,6 +1308,7 @@ export declare type CallingHandlers = {
1264
1308
  onRemoveParticipant: (userId: string) => Promise<void>;
1265
1309
  onDisposeRemoteStreamView: (userId: string) => Promise<void>;
1266
1310
  onDisposeLocalStreamView: () => Promise<void>;
1311
+ onSendDtmfTone?: (dtmfTone: DtmfTone_2) => Promise<void>;
1267
1312
  };
1268
1313
 
1269
1314
  /**
@@ -1508,7 +1553,7 @@ export declare interface CallWithChatAdapterManagement {
1508
1553
  *
1509
1554
  * @public
1510
1555
  */
1511
- startCall(participants: string[]): Call | undefined;
1556
+ startCall(participants: string[], options?: StartCallOptions): Call | undefined;
1512
1557
  /**
1513
1558
  * Start sharing the screen during a call.
1514
1559
  *
@@ -1675,6 +1720,24 @@ export declare interface CallWithChatAdapterManagement {
1675
1720
  updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
1676
1721
  /** @beta */
1677
1722
  updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
1723
+ /**
1724
+ * Puts the Call in a Localhold.
1725
+ *
1726
+ * @beta
1727
+ */
1728
+ holdCall: () => Promise<void>;
1729
+ /**
1730
+ * Resumes the call from a LocalHold state.
1731
+ *
1732
+ * @beta
1733
+ */
1734
+ resumeCall: () => Promise<void>;
1735
+ /**
1736
+ * Adds a new Participant to the call.
1737
+ *
1738
+ * @beta
1739
+ */
1740
+ addParticipant: (participant: CommunicationIdentifier, options?: AddPhoneNumberOptions) => Promise<void>;
1678
1741
  }
1679
1742
 
1680
1743
  /**
@@ -1699,6 +1762,8 @@ export declare interface CallWithChatAdapterSubscriptions {
1699
1762
  on(event: 'isSpeakingChanged', listener: IsSpeakingChangedListener): void;
1700
1763
  on(event: 'callParticipantsJoined', listener: ParticipantsJoinedListener): void;
1701
1764
  on(event: 'callParticipantsLeft', listener: ParticipantsLeftListener): void;
1765
+ on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
1766
+ on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
1702
1767
  on(event: 'callError', listener: (e: AdapterError) => void): void;
1703
1768
  off(event: 'callEnded', listener: CallEndedListener): void;
1704
1769
  off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
@@ -1708,6 +1773,8 @@ export declare interface CallWithChatAdapterSubscriptions {
1708
1773
  off(event: 'isSpeakingChanged', listener: IsSpeakingChangedListener): void;
1709
1774
  off(event: 'callParticipantsJoined', listener: ParticipantsJoinedListener): void;
1710
1775
  off(event: 'callParticipantsLeft', listener: ParticipantsLeftListener): void;
1776
+ off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
1777
+ off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
1711
1778
  off(event: 'callError', listener: (e: AdapterError) => void): void;
1712
1779
  on(event: 'messageReceived', listener: MessageReceivedListener): void;
1713
1780
  on(event: 'messageSent', listener: MessageSentListener): void;
@@ -1813,9 +1880,11 @@ export declare type CallWithChatCompositeIcons = {
1813
1880
  ErrorBarCallMacOsMicrophoneAccessDenied?: JSX.Element;
1814
1881
  ErrorBarCallMicrophoneAccessDenied?: JSX.Element;
1815
1882
  ErrorBarCallMicrophoneMutedBySystem?: JSX.Element;
1883
+ ErrorBarCallMicrophoneUnmutedBySystem?: JSX.Element;
1816
1884
  ErrorBarCallNetworkQualityLow?: JSX.Element;
1817
1885
  ErrorBarCallNoMicrophoneFound?: JSX.Element;
1818
1886
  ErrorBarCallNoSpeakerFound?: JSX.Element;
1887
+ ErrorBarClear?: JSX.Element;
1819
1888
  HorizontalGalleryLeftButton?: JSX.Element;
1820
1889
  HorizontalGalleryRightButton?: JSX.Element;
1821
1890
  LobbyScreenConnectingToCall?: JSX.Element;
@@ -1941,7 +2010,7 @@ export declare interface CallWithChatCompositeStrings {
1941
2010
  *
1942
2011
  * Only used with `mobileView` set to `true` and when no speakers are available.
1943
2012
  */
1944
- moreDrawerAudioDeviceMenuTitle: string;
2013
+ moreDrawerAudioDeviceMenuTitle?: string;
1945
2014
  /**
1946
2015
  * Title for the microphone selection sub-menu in more button drawer.
1947
2016
  *
@@ -1997,15 +2066,15 @@ export declare interface CallWithChatCompositeStrings {
1997
2066
  /**
1998
2067
  * Label for SidePaneHeader dismiss button
1999
2068
  */
2000
- dismissSidePaneButton: string;
2069
+ dismissSidePaneButtonLabel?: string;
2001
2070
  /**
2002
2071
  * Aria Description string for return to call button
2003
2072
  */
2004
- returnToCallButtonAriaDescription: string;
2073
+ returnToCallButtonAriaDescription?: string;
2005
2074
  /**
2006
2075
  * Aria label string for return to call back button
2007
2076
  */
2008
- returnToCallButtonAriaLabel: string;
2077
+ returnToCallButtonAriaLabel?: string;
2009
2078
  }
2010
2079
 
2011
2080
  /**
@@ -2056,6 +2125,12 @@ export declare interface CallWithChatControlOptions {
2056
2125
  * @defaultValue true
2057
2126
  */
2058
2127
  peopleButton?: boolean;
2128
+ /**
2129
+ * Inject custom buttons in the call controls.
2130
+ *
2131
+ * @beta
2132
+ */
2133
+ onFetchCustomButtonProps?: CustomCallWithChatControlButtonCallback[];
2059
2134
  }
2060
2135
 
2061
2136
  /**
@@ -2063,7 +2138,7 @@ export declare interface CallWithChatControlOptions {
2063
2138
  *
2064
2139
  * @public
2065
2140
  */
2066
- export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2141
+ export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2067
2142
 
2068
2143
  /**
2069
2144
  * A button to turn camera on / off.
@@ -2182,11 +2257,11 @@ export declare interface CameraButtonStrings {
2182
2257
  /**
2183
2258
  * Camera action turned on string for announcer
2184
2259
  */
2185
- cameraActionTurnedOnAnnouncement: string;
2260
+ cameraActionTurnedOnAnnouncement?: string;
2186
2261
  /**
2187
2262
  * Camera action turned off string for announcer
2188
2263
  */
2189
- cameraActionTurnedOffAnnouncement: string;
2264
+ cameraActionTurnedOffAnnouncement?: string;
2190
2265
  }
2191
2266
 
2192
2267
  /**
@@ -2532,6 +2607,10 @@ export declare interface ChatCompositeStrings {
2532
2607
  * Chat list header text
2533
2608
  */
2534
2609
  chatListHeader: string;
2610
+ /**
2611
+ * Upload File Button text
2612
+ */
2613
+ uploadFile: string;
2535
2614
  }
2536
2615
 
2537
2616
  /**
@@ -2937,6 +3016,8 @@ export declare interface ComponentStrings {
2937
3016
  errorBar: ErrorBarStrings;
2938
3017
  /** Strings for VideoGallery */
2939
3018
  videoGallery: VideoGalleryStrings;
3019
+ /** Strings for Dialpad */
3020
+ dialpad: DialpadStrings;
2940
3021
  }
2941
3022
 
2942
3023
  /**
@@ -3420,33 +3501,106 @@ export declare interface CustomCallControlButtonCallbackArgs {
3420
3501
  /**
3421
3502
  * Placement for a custom button injected in the {@link CallControls}.
3422
3503
  *
3423
- * 'first': Place the button on the left end (right end in rtl mode).
3424
- * 'afterCameraButton': Place the button on the right (left in rtl mode) of the camera button.
3425
- * ... and so on.
3426
- *
3427
- * It is an error to place the button in reference to another button that has
3428
- * been hidden via a {@link CallControlOptions} field.
3504
+ * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
3429
3505
  *
3430
- * Multiple buttons placed in the same position are appended in order.
3431
- * E.g., if two buttons are placed 'first', they'll both appear on the left end (right end in rtl mode)
3432
- * in the order provided.
3506
+ * Multiple buttons assigned the same placement are appended in order.
3507
+ * E.g., if two buttons are placed in 'primary', they'll both appear on the right end (left end in rtl mode)
3508
+ * before the EndCallButton in the order provided.
3433
3509
  *
3434
3510
  * @beta
3435
3511
  */
3436
- export declare type CustomCallControlButtonPlacement = 'first' | 'last' | 'afterCameraButton' | 'afterEndCallButton' | 'afterMicrophoneButton' | 'afterDevicesButton' | 'afterParticipantsButton' | 'afterScreenShareButton';
3512
+ export declare type CustomCallControlButtonPlacement = 'primary';
3437
3513
 
3438
3514
  /**
3439
3515
  * Response from {@link CustomCallControlButtonCallback}.
3440
3516
  *
3441
- * Includes the props necessary to render a {@link ControlBarButton} and indication of where to place the button.
3517
+ * Includes the placement prop necessary to indicate where to place the
3518
+ * {@link ControlBarButton} and a {@link DrawerMenuItem}
3442
3519
  *
3443
3520
  * @beta
3444
3521
  */
3445
- export declare interface CustomCallControlButtonProps extends ControlBarButtonProps {
3522
+ export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
3446
3523
  /**
3447
3524
  * Where to place the custom button relative to other buttons.
3448
3525
  */
3449
3526
  placement: CustomCallControlButtonPlacement;
3527
+ /**
3528
+ * Icon to render. Icon is a non-default icon that is already registered by the composites.
3529
+ * Examples include icons from {@link CallCompositeIcons}
3530
+ */
3531
+ iconName?: keyof CallCompositeIcons;
3532
+ }
3533
+
3534
+ /**
3535
+ * A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
3536
+ *
3537
+ * The response indicates where the custom button should be placed.
3538
+ *
3539
+ * Performance tip: This callback is only called when either the callback or its arguments change.
3540
+ * @beta
3541
+ */
3542
+ export declare type CustomCallWithChatControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
3543
+
3544
+ /**
3545
+ * Placement for a custom button injected in the {@link CallWithChatControlBar}.
3546
+ *
3547
+ * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
3548
+ * 'overflow': Place the buttons(s) on the end of the overflow Menu.
3549
+ * 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
3550
+ *
3551
+ * Multiple buttons assigned the same placement are appended in order.
3552
+ * E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
3553
+ * in the order provided.
3554
+ *
3555
+ * @beta
3556
+ */
3557
+ export declare type CustomCallWithChatControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
3558
+
3559
+ /**
3560
+ * Response from {@link CustomCallWithChatControlButtonCallback}.
3561
+ *
3562
+ * Includes the icon and placement prop necessary to indicate where to place the
3563
+ * {@link ControlBarButton} and a {@link DrawerMenuItem}
3564
+ *
3565
+ * @beta
3566
+ */
3567
+ export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
3568
+ /**
3569
+ * Where to place the custom button relative to other buttons.
3570
+ */
3571
+ placement: CustomCallWithChatControlButtonPlacement;
3572
+ /**
3573
+ * Icon to render. Icon is a non-default icon that is already registered by the composites.
3574
+ * Examples include icons from {@link CallWithChatCompositeIcons}
3575
+ */
3576
+ iconName?: keyof CallWithChatCompositeIcons;
3577
+ }
3578
+
3579
+ /**
3580
+ * Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
3581
+ *
3582
+ * @beta
3583
+ */
3584
+ export declare interface CustomControlButtonProps {
3585
+ onItemClick?: () => void;
3586
+ /**
3587
+ * Whether the buttons is disabled
3588
+ */
3589
+ disabled?: boolean;
3590
+ /**
3591
+ * Whether the label is displayed or not.
3592
+ *
3593
+ * @defaultValue `false`
3594
+ */
3595
+ showLabel?: boolean;
3596
+ /**
3597
+ * Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
3598
+ */
3599
+ styles?: ControlBarButtonStyles | BaseCustomStyles;
3600
+ /**
3601
+ * Optional label for the button
3602
+ */
3603
+ text?: string;
3450
3604
  }
3451
3605
 
3452
3606
  /**
@@ -3468,6 +3622,28 @@ export declare interface CustomMessage extends MessageCommon {
3468
3622
  */
3469
3623
  export declare const darkTheme: PartialTheme & CallingTheme;
3470
3624
 
3625
+ /**
3626
+ * @public
3627
+ * `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
3628
+ */
3629
+ export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ {
3630
+ /**
3631
+ * @beta
3632
+ * A readonly array that returns all the active `incomingCalls`.
3633
+ * An active incoming call is a call that has not been answered, declined or disconnected.
3634
+ *
3635
+ * @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
3636
+ * @returns readonly array of {@link DeclarativeIncomingCall}
3637
+ */
3638
+ incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
3639
+ };
3640
+
3641
+ /**
3642
+ * @beta
3643
+ * Proxies the {@link @azure/communication-calling#IncomingCall} interface.
3644
+ */
3645
+ export declare type DeclarativeIncomingCall = IncomingCall;
3646
+
3471
3647
  /**
3472
3648
  * The default set of icons that are available to use in the UI components.
3473
3649
  *
@@ -3497,9 +3673,13 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3497
3673
  ErrorBarCallMacOsMicrophoneAccessDenied: JSX.Element;
3498
3674
  ErrorBarCallMicrophoneAccessDenied: JSX.Element;
3499
3675
  ErrorBarCallMicrophoneMutedBySystem: JSX.Element;
3676
+ ErrorBarCallMicrophoneUnmutedBySystem: JSX.Element;
3500
3677
  ErrorBarCallNetworkQualityLow: JSX.Element;
3501
3678
  ErrorBarCallNoMicrophoneFound: JSX.Element;
3502
3679
  ErrorBarCallNoSpeakerFound: JSX.Element;
3680
+ ErrorBarClear: JSX.Element;
3681
+ ErrorBarCallVideoRecoveredBySystem: JSX.Element;
3682
+ ErrorBarCallVideoStoppedBySystem: JSX.Element;
3503
3683
  HorizontalGalleryLeftButton: JSX.Element;
3504
3684
  HorizontalGalleryRightButton: JSX.Element;
3505
3685
  MessageDelivered: JSX.Element;
@@ -3516,6 +3696,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3516
3696
  ParticipantItemOptions: JSX.Element;
3517
3697
  ParticipantItemOptionsHovered: JSX.Element;
3518
3698
  ParticipantItemScreenShareStart: JSX.Element;
3699
+ HoldCall: JSX.Element;
3700
+ ResumeCall: JSX.Element;
3519
3701
  SendBoxSend: JSX.Element;
3520
3702
  SendBoxSendHovered: JSX.Element;
3521
3703
  VideoTileMicOff: JSX.Element;
@@ -3556,9 +3738,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3556
3738
  ErrorBarCallMacOsMicrophoneAccessDenied: JSX.Element;
3557
3739
  ErrorBarCallMicrophoneAccessDenied: JSX.Element;
3558
3740
  ErrorBarCallMicrophoneMutedBySystem: JSX.Element;
3741
+ ErrorBarCallMicrophoneUnmutedBySystem: JSX.Element;
3559
3742
  ErrorBarCallNetworkQualityLow: JSX.Element;
3560
3743
  ErrorBarCallNoMicrophoneFound: JSX.Element;
3561
3744
  ErrorBarCallNoSpeakerFound: JSX.Element;
3745
+ ErrorBarClear: JSX.Element;
3562
3746
  HorizontalGalleryLeftButton: JSX.Element;
3563
3747
  HorizontalGalleryRightButton: JSX.Element;
3564
3748
  LobbyScreenConnectingToCall?: JSX.Element | undefined;
@@ -3593,7 +3777,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3593
3777
  ChatMessageOptions: JSX.Element;
3594
3778
  CancelFileUpload: JSX.Element;
3595
3779
  DownloadFile: JSX.Element;
3780
+ ErrorBarCallVideoRecoveredBySystem: JSX.Element;
3781
+ ErrorBarCallVideoStoppedBySystem: JSX.Element;
3596
3782
  MessageResend: JSX.Element;
3783
+ HoldCall: JSX.Element;
3784
+ ResumeCall: JSX.Element;
3597
3785
  };
3598
3786
 
3599
3787
  /**
@@ -3814,6 +4002,64 @@ export declare interface DiagnosticsCallFeatureState {
3814
4002
  media: MediaDiagnosticsState;
3815
4003
  }
3816
4004
 
4005
+ /**
4006
+ * A component to allow users to enter phone number through clicking on dialpad/using keyboard
4007
+ * It will return empty component for stable builds
4008
+ *
4009
+ * @beta
4010
+ */
4011
+ export declare const Dialpad: (props: DialpadProps) => JSX.Element;
4012
+
4013
+ /**
4014
+ * Type for {@link DialpadButton} input
4015
+ *
4016
+ * @beta
4017
+ */
4018
+ export declare interface DialpadButtonProps {
4019
+ primaryContent: string;
4020
+ secondaryContent?: string;
4021
+ }
4022
+
4023
+ /**
4024
+ * Props for {@link Dialpad} component.
4025
+ *
4026
+ * @beta
4027
+ */
4028
+ export declare interface DialpadProps {
4029
+ strings?: DialpadStrings;
4030
+ /** function to send dtmf tones on button click */
4031
+ onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
4032
+ /** Callback for dialpad button behavior*/
4033
+ onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
4034
+ /** customize dialpad input formatting */
4035
+ onDisplayDialpadInput?: (input: string) => string;
4036
+ /** on change function for text field */
4037
+ onChange?: (input: string) => void;
4038
+ styles?: DialpadStyles;
4039
+ }
4040
+
4041
+ /**
4042
+ * Strings of {@link Dialpad} that can be overridden.
4043
+ *
4044
+ * @beta
4045
+ */
4046
+ export declare interface DialpadStrings {
4047
+ placeholderText: string;
4048
+ }
4049
+
4050
+ /**
4051
+ * Styles for {@link Dialpad} component.
4052
+ *
4053
+ * @beta
4054
+ */
4055
+ export declare interface DialpadStyles {
4056
+ root?: IStyle;
4057
+ button?: IButtonStyles;
4058
+ textField?: Partial<ITextFieldStyles>;
4059
+ primaryContent?: IStyle;
4060
+ secondaryContent?: IStyle;
4061
+ }
4062
+
3817
4063
  /**
3818
4064
  * Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
3819
4065
  *
@@ -3834,6 +4080,13 @@ export declare interface Disposable {
3834
4080
  dispose(): void;
3835
4081
  }
3836
4082
 
4083
+ /**
4084
+ * DTMF tone for PSTN calls.
4085
+ *
4086
+ * @beta
4087
+ */
4088
+ export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
4089
+
3837
4090
  /**
3838
4091
  * A type for trivial selectors that return no data.
3839
4092
  *
@@ -3996,6 +4249,11 @@ export declare interface ErrorBarStrings {
3996
4249
  * Message shown when microphone is muted by the system (not by local or remote participants)
3997
4250
  */
3998
4251
  callMicrophoneMutedBySystem: string;
4252
+ /**
4253
+ * Message shown when microphone is unmuted by the system (not by local or remote participants).
4254
+ * This typically occurs if the system recovers from an unexpected mute.
4255
+ */
4256
+ callMicrophoneUnmutedBySystem: string;
3999
4257
  /**
4000
4258
  * Mac OS specific message shown when microphone can be enumerated but access is
4001
4259
  * blocked by the system.
@@ -4014,6 +4272,14 @@ export declare interface ErrorBarStrings {
4014
4272
  * another applciation.
4015
4273
  */
4016
4274
  callCameraAlreadyInUse: string;
4275
+ /**
4276
+ * Message shown when local video is stopped by the system (not by local or remote participants)
4277
+ */
4278
+ callVideoStoppedBySystem: string;
4279
+ /**
4280
+ * Message shown when local video was recovered by the system (not by the local participant)
4281
+ */
4282
+ callVideoRecoveredBySystem: string;
4017
4283
  /**
4018
4284
  * Mac OS specific message shown when system denies access to camera.
4019
4285
  */
@@ -4025,15 +4291,15 @@ export declare interface ErrorBarStrings {
4025
4291
  /**
4026
4292
  * Dimiss errorbar button aria label read by screen reader accessibility tools
4027
4293
  */
4028
- dismissButtonAriaLabel: string;
4294
+ dismissButtonAriaLabel?: string;
4029
4295
  /**
4030
4296
  * An error message when joining a call fails.
4031
4297
  */
4032
- failedToJoinCallGeneric: string;
4298
+ failedToJoinCallGeneric?: string;
4033
4299
  /**
4034
4300
  * An error message when joining a call fails specifically due to an invalid meeting link.
4035
4301
  */
4036
- failedToJoinCallInvalidMeetingLink: string;
4302
+ failedToJoinCallInvalidMeetingLink?: string;
4037
4303
  }
4038
4304
 
4039
4305
  /**
@@ -4276,7 +4542,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
4276
4542
  *
4277
4543
  * @public
4278
4544
  */
4279
- export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : undefined;
4545
+ export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector : AreEqual<Component, typeof HoldButton> extends true ? HoldButtonSelector : undefined;
4280
4546
 
4281
4547
  /**
4282
4548
  * Get the selector for a specified component.
@@ -4338,6 +4604,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
4338
4604
  children?: IStyle;
4339
4605
  }
4340
4606
 
4607
+ /**
4608
+ * a button to hold or resume a ongoing call.
4609
+ *
4610
+ * Can be used with {@link ControlBar}
4611
+ *
4612
+ * @param props - properties for the hold button.
4613
+ * @returns
4614
+ * @beta
4615
+ */
4616
+ export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
4617
+
4618
+ /**
4619
+ *@beta
4620
+ */
4621
+ export declare interface HoldButtonProps extends ControlBarButtonProps {
4622
+ /**
4623
+ * Utility property for using this component with communication react handlers
4624
+ * Holds the call or resumes it based on call state.
4625
+ */
4626
+ onToggleHold: () => Promise<void>;
4627
+ /**
4628
+ * Optional strings to override in component
4629
+ */
4630
+ strings?: HoldButtonStrings;
4631
+ }
4632
+
4633
+ /**
4634
+ * Selector type for the {@link HoldButton} component.
4635
+ * @public
4636
+ */
4637
+ export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
4638
+ checked: boolean;
4639
+ };
4640
+
4641
+ /**
4642
+ * Strings for the hold button labels
4643
+ * @beta
4644
+ */
4645
+ export declare interface HoldButtonStrings {
4646
+ /**
4647
+ * Label for when action is to resume call.
4648
+ */
4649
+ onLabel: string;
4650
+ /**
4651
+ * Label for when action is to hold call.
4652
+ */
4653
+ offLabel: string;
4654
+ /**
4655
+ * Content for when button is checked
4656
+ */
4657
+ tooltipOnContent: string;
4658
+ /**
4659
+ * Content for when button is unchecked
4660
+ */
4661
+ toolTipOffContent: string;
4662
+ }
4663
+
4341
4664
  /**
4342
4665
  * {@link HorizontalGallery} Component Styles.
4343
4666
  * @public
@@ -4498,6 +4821,12 @@ export declare interface JumpToNewMessageButtonProps {
4498
4821
  */
4499
4822
  export declare const lightTheme: PartialTheme & CallingTheme;
4500
4823
 
4824
+ /**
4825
+ * Whether the stream is loading or not.
4826
+ * @public
4827
+ */
4828
+ export declare type LoadingState = 'loading' | 'none';
4829
+
4501
4830
  /**
4502
4831
  * Provider to provide localized strings for this library's react components.
4503
4832
  *
@@ -4996,7 +5325,9 @@ export declare interface MessageThreadStrings {
4996
5325
  /** String for Submit in EditBox when there is no user input*/
4997
5326
  editBoxSubmitButton: string;
4998
5327
  /** String for action menu indicating there are more options */
4999
- actionMenuMoreOptions: string;
5328
+ actionMenuMoreOptions?: string;
5329
+ /** String for download file button in file card */
5330
+ downloadFile: string;
5000
5331
  }
5001
5332
 
5002
5333
  /**
@@ -5146,7 +5477,7 @@ export declare interface MicrophoneButtonStrings {
5146
5477
  /**
5147
5478
  * Description of microphone button split button role
5148
5479
  */
5149
- microphoneButtonSplitRoleDescription: string;
5480
+ microphoneButtonSplitRoleDescription?: string;
5150
5481
  /**
5151
5482
  * Microphone split button aria label when mic is enabled.
5152
5483
  */
@@ -5158,11 +5489,11 @@ export declare interface MicrophoneButtonStrings {
5158
5489
  /**
5159
5490
  * Microphone action turned on string for announcer
5160
5491
  */
5161
- microphoneActionTurnedOnAnnouncement: string;
5492
+ microphoneActionTurnedOnAnnouncement?: string;
5162
5493
  /**
5163
5494
  * Microphone action turned off string for announcer
5164
5495
  */
5165
- microphoneActionTurnedOffAnnouncement: string;
5496
+ microphoneActionTurnedOffAnnouncement?: string;
5166
5497
  }
5167
5498
 
5168
5499
  /**
@@ -5255,7 +5586,7 @@ export declare interface ParticipantItemProps {
5255
5586
  /** Unique User ID of the participant. This `userId` is available in the `onRenderAvatar` callback function */
5256
5587
  userId?: string;
5257
5588
  /** Name of participant. */
5258
- displayName: string;
5589
+ displayName?: string;
5259
5590
  /** Optional indicator to show participant is the user. */
5260
5591
  me?: boolean;
5261
5592
  /** Optional callback returning a JSX element to override avatar. */
@@ -5282,6 +5613,8 @@ export declare interface ParticipantItemProps {
5282
5613
  * Optional callback when component is clicked
5283
5614
  */
5284
5615
  onClick?: (props?: ParticipantItemProps) => void;
5616
+ /** prop to determine if we should show tooltip for participants or not */
5617
+ showParticipantOverflowTooltip?: boolean;
5285
5618
  }
5286
5619
 
5287
5620
  /**
@@ -5300,6 +5633,8 @@ export declare interface ParticipantItemStrings {
5300
5633
  sharingIconLabel: string;
5301
5634
  /** Label for the muted icon in participant state stack */
5302
5635
  mutedIconLabel: string;
5636
+ /** placeholder text for participants who does not have a display name*/
5637
+ displayNamePlaceholder?: string;
5303
5638
  }
5304
5639
 
5305
5640
  /**
@@ -5377,6 +5712,8 @@ export declare type ParticipantListProps = {
5377
5712
  onParticipantClick?: (participant?: ParticipantListParticipant) => void;
5378
5713
  /** Styles for the {@link ParticipantList} */
5379
5714
  styles?: ParticipantListStyles;
5715
+ /** prop to determine if we should show tooltip for participants or not */
5716
+ showParticipantOverflowTooltip?: boolean;
5380
5717
  };
5381
5718
 
5382
5719
  /**
@@ -5511,6 +5848,8 @@ export declare interface ParticipantsButtonProps extends ControlBarButtonProps {
5511
5848
  * Optional strings to override in component
5512
5849
  */
5513
5850
  strings?: Partial<ParticipantsButtonStrings>;
5851
+ /** prop to determine if we should show tooltip for participants or not */
5852
+ showParticipantOverflowTooltip?: boolean;
5514
5853
  }
5515
5854
 
5516
5855
  /**
@@ -5676,6 +6015,11 @@ export declare interface RemoteVideoStreamState {
5676
6015
  * Proxy of {@link @azure/communication-calling#RemoteVideoStream.isAvailable}.
5677
6016
  */
5678
6017
  isAvailable: boolean;
6018
+ /**
6019
+ * Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
6020
+ * @beta
6021
+ */
6022
+ isReceiving: boolean;
5679
6023
  /**
5680
6024
  * {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
5681
6025
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
@@ -5874,6 +6218,18 @@ export declare interface SendBoxStrings {
5874
6218
  * Error message indicating that all file uploads are not complete.
5875
6219
  */
5876
6220
  fileUploadsPendingError: string;
6221
+ /**
6222
+ * Aria label to notify user when focus is on cancel file upload button.
6223
+ */
6224
+ removeFile: string;
6225
+ /**
6226
+ * Aria label to notify user file uploading starts.
6227
+ */
6228
+ uploading: string;
6229
+ /**
6230
+ * Aria label to notify user file is uploaded.
6231
+ */
6232
+ uploadCompleted: string;
5877
6233
  }
5878
6234
 
5879
6235
  /**
@@ -6000,6 +6356,18 @@ export declare interface StatefulCallClient extends CallClient {
6000
6356
  * @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
6001
6357
  */
6002
6358
  disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
6359
+ /**
6360
+ * The CallAgent is used to handle calls.
6361
+ * To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
6362
+ * - The CallClient can only have one active CallAgent instance at a time.
6363
+ * - You can create a new CallClient instance to create a new CallAgent.
6364
+ * - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
6365
+ * createCallAgent() method again to create a new CallAgent.
6366
+ * @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
6367
+ * @param options - The CallAgentOptions for additional options like display name.
6368
+ * @public
6369
+ */
6370
+ createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
6003
6371
  }
6004
6372
 
6005
6373
  /**
@@ -6121,6 +6489,8 @@ export declare interface StreamMediaProps {
6121
6489
  videoStreamElement: HTMLElement | null;
6122
6490
  /** Decides whether to mirror the video or not. */
6123
6491
  isMirrored?: boolean;
6492
+ /** Whether the stream is loading data */
6493
+ loadingState?: LoadingState;
6124
6494
  /**
6125
6495
  * Allows users to pass in an object contains custom CSS styles.
6126
6496
  * @Example
@@ -6617,6 +6987,8 @@ export declare interface VideoGalleryStream {
6617
6987
  id?: number;
6618
6988
  /** Whether the video stream is available or not */
6619
6989
  isAvailable?: boolean;
6990
+ /** Whether the video stream is receiving data or not */
6991
+ isReceiving?: boolean;
6620
6992
  /** Whether the video stream is mirrored or not */
6621
6993
  isMirrored?: boolean;
6622
6994
  /** Render element of the video stream */
@@ -6641,6 +7013,8 @@ export declare interface VideoGalleryStrings {
6641
7013
  localVideoMovementLabel: string;
6642
7014
  /** String for announcing the selected camera */
6643
7015
  localVideoSelectedDescription: string;
7016
+ /** placeholder text for participants who does not have a display name*/
7017
+ displayNamePlaceholder: string;
6644
7018
  }
6645
7019
 
6646
7020
  /**