@azure/communication-react 1.5.1-alpha-202211250013.0 → 1.5.1-alpha-202301250013

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 (307) hide show
  1. package/CHANGELOG.beta.md +47 -1
  2. package/CHANGELOG.json +1554 -0
  3. package/CHANGELOG.stable.md +88 -2
  4. package/dist/communication-react.d.ts +469 -297
  5. package/dist/dist-cjs/communication-react/index.js +2975 -1716
  6. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/identifier.js +3 -47
  8. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  11. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +5 -0
  12. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +8 -0
  13. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  14. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +30 -11
  15. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  16. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +1 -2
  17. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -7
  18. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  19. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +13 -4
  20. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  21. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +7 -0
  22. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +9 -0
  23. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  24. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +12 -0
  25. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +31 -6
  26. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  27. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +2 -13
  28. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  29. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +2 -1
  30. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  31. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +2 -1
  32. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +14 -0
  33. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  34. package/dist/dist-esm/calling-stateful-client/src/Converter.js +1 -1
  35. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  36. package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts +3 -0
  37. package/dist/dist-esm/calling-stateful-client/src/Logger.js +3 -0
  38. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  39. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +2 -1
  40. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +11 -4
  41. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  42. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +93 -27
  43. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  44. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +2 -2
  45. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  46. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.d.ts +19 -0
  47. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +43 -0
  48. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -0
  49. package/dist/dist-esm/communication-react/src/index.d.ts +7 -5
  50. package/dist/dist-esm/communication-react/src/index.js +5 -3
  51. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  52. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
  53. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +86 -0
  54. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
  55. package/dist/dist-esm/react-components/src/components/DevicePermissions/{DomainPermissionsScaffolding.d.ts → SitePermissionsScaffolding.d.ts} +12 -12
  56. package/dist/dist-esm/react-components/src/components/DevicePermissions/{DomainPermissionsScaffolding.js → SitePermissionsScaffolding.js} +4 -4
  57. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
  58. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +20 -9
  59. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  60. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.d.ts +1 -0
  61. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +18 -2
  62. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  63. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.d.ts +4 -0
  64. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +1 -1
  65. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  66. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.d.ts +4 -0
  67. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +1 -1
  68. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  69. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +8 -0
  70. package/dist/dist-esm/react-components/src/components/ErrorBar.js +1 -2
  71. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  72. package/dist/dist-esm/react-components/src/components/MessageThread.js +6 -4
  73. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  74. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +0 -2
  75. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +10 -12
  76. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  77. package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts +4 -0
  78. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +26 -4
  79. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  80. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +10 -4
  81. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +79 -7
  82. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  83. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.d.ts +6 -6
  84. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +13 -21
  85. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  86. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.d.ts +37 -0
  87. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +27 -0
  88. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -0
  89. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.d.ts +41 -0
  90. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +32 -0
  91. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -0
  92. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.d.ts +32 -0
  93. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +25 -0
  94. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -0
  95. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.d.ts +16 -0
  96. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +60 -0
  97. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -0
  98. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.d.ts +12 -0
  99. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +41 -0
  100. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -0
  101. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +25 -0
  102. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +76 -0
  103. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -0
  104. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +38 -0
  105. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js +4 -0
  106. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -0
  107. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +9 -0
  108. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +18 -0
  109. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -0
  110. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.d.ts +14 -0
  111. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js +19 -0
  112. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js.map +1 -0
  113. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.d.ts +6 -0
  114. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +9 -0
  115. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -0
  116. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +62 -0
  117. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +118 -0
  118. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -0
  119. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.d.ts +14 -0
  120. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +28 -0
  121. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -0
  122. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.d.ts +6 -0
  123. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js +9 -0
  124. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -0
  125. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.d.ts +9 -0
  126. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js +22 -0
  127. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -0
  128. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.d.ts +10 -0
  129. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +29 -0
  130. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -0
  131. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.d.ts +45 -0
  132. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +57 -0
  133. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -0
  134. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts +2 -2
  135. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +7 -2
  136. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  137. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +23 -0
  138. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +96 -0
  139. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -0
  140. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +27 -0
  141. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +121 -0
  142. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -0
  143. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +66 -0
  144. package/dist/dist-esm/react-components/src/components/VideoGallery.js +131 -124
  145. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  146. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +12 -17
  147. package/dist/dist-esm/react-components/src/components/VideoTile.js +71 -38
  148. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  149. package/dist/dist-esm/react-components/src/components/index.d.ts +8 -3
  150. package/dist/dist-esm/react-components/src/components/index.js +3 -2
  151. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  152. package/dist/dist-esm/react-components/src/components/styles/{DomainPermissions.styles.d.ts → SitePermissions.styles.d.ts} +1 -1
  153. package/dist/dist-esm/react-components/src/components/styles/{DomainPermissions.styles.js → SitePermissions.styles.js} +1 -1
  154. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
  155. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +2 -1
  156. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  157. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
  158. package/dist/dist-esm/react-components/src/components/styles/{UnsupportedBrowser.styles.js → UnsupportedEnvironment.styles.js} +25 -10
  159. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
  160. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.d.ts +1 -95
  161. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +3 -138
  162. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  163. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +1 -1
  164. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +11 -26
  165. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  166. package/dist/dist-esm/react-components/src/components/utils/useLongPress.d.ts +13 -10
  167. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +66 -37
  168. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  169. package/dist/dist-esm/react-components/src/components/utils.d.ts +1 -6
  170. package/dist/dist-esm/react-components/src/components/utils.js +4 -16
  171. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  172. package/dist/dist-esm/react-components/src/index.d.ts +0 -1
  173. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  174. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +31 -19
  175. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  176. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +1 -1
  177. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +1 -1
  178. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +49 -14
  179. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +1 -1
  180. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +1 -1
  181. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +1 -1
  182. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +1 -1
  183. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +1 -1
  184. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +1 -1
  185. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +1 -1
  186. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +1 -1
  187. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +1 -1
  188. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +1 -1
  189. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +1 -1
  190. package/dist/dist-esm/react-components/src/theming/icons.d.ts +11 -6
  191. package/dist/dist-esm/react-components/src/theming/icons.js +30 -20
  192. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  193. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +1 -1
  194. package/dist/dist-esm/react-components/src/theming/icons.styles.js +1 -1
  195. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -1
  196. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +2 -0
  197. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  198. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +24 -11
  199. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +9 -9
  200. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  201. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +56 -0
  202. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  203. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +16 -10
  204. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +89 -40
  205. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  206. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +11 -16
  207. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  208. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +2 -2
  209. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +1 -1
  210. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  211. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +1 -0
  212. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +19 -18
  213. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  214. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +5 -4
  215. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +79 -39
  216. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -1
  217. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +16 -0
  218. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageCameraDropdown.js → ConfigurationPageCameraDropdown.js} +4 -6
  219. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -0
  220. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageErrorBar.d.ts → ConfigurationPageErrorBar.d.ts} +3 -4
  221. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageErrorBar.js → ConfigurationPageErrorBar.js} +4 -6
  222. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -0
  223. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +16 -0
  224. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageMicDropdown.js → ConfigurationPageMicDropdown.js} +4 -8
  225. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -0
  226. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +1 -0
  227. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  228. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +0 -1
  229. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +16 -14
  230. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  231. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +8 -3
  232. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  233. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +3 -0
  234. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +26 -4
  235. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  236. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +1 -1
  237. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  238. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +11 -3
  239. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  240. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +4 -4
  241. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +1 -1
  242. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  243. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +6 -2
  244. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  245. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +3 -3
  246. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +46 -27
  247. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  248. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +2 -0
  249. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +28 -7
  250. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -1
  251. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +7 -0
  252. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +9 -1
  253. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  254. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.d.ts +4 -0
  255. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +10 -0
  256. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  257. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.d.ts +29 -0
  258. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +119 -0
  259. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -0
  260. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +20 -4
  261. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +74 -21
  262. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  263. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +16 -7
  264. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +22 -10
  265. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  266. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +2 -0
  267. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
  268. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +1 -0
  269. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +11 -5
  270. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  271. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +4 -0
  272. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  273. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +1 -0
  274. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +7 -1
  275. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  276. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +8 -0
  277. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  278. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +4 -0
  279. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  280. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +26 -3
  281. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  282. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.d.ts +8 -0
  283. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +40 -0
  284. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -0
  285. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +1 -1
  286. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  287. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -1
  288. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  289. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +11 -6
  290. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +1 -0
  291. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  292. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +2 -1
  293. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  294. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +15 -1
  295. package/package.json +13 -12
  296. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.d.ts +0 -101
  297. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.js +0 -80
  298. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.js.map +0 -1
  299. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.js.map +0 -1
  300. package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js.map +0 -1
  301. package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.styles.d.ts +0 -22
  302. package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.styles.js.map +0 -1
  303. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.d.ts +0 -17
  304. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.js.map +0 -1
  305. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageErrorBar.js.map +0 -1
  306. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.d.ts +0 -17
  307. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.js.map +0 -1
@@ -26,6 +26,7 @@ import { CallClientOptions } from '@azure/communication-calling';
26
26
  import { CallDirection } from '@azure/communication-calling';
27
27
  import { CallEndReason } from '@azure/communication-calling';
28
28
  import { CallerInfo } from '@azure/communication-calling';
29
+ import { CallKind } from '@azure/communication-calling';
29
30
  import { CallState as CallState_2 } from '@azure/communication-calling';
30
31
  import { ChatClient } from '@azure/communication-chat';
31
32
  import { ChatClientOptions } from '@azure/communication-chat';
@@ -50,10 +51,8 @@ import { IButtonProps } from '@fluentui/react';
50
51
  import { IButtonStyles } from '@fluentui/react';
51
52
  import { IContextualMenuItem } from '@fluentui/react';
52
53
  import { IContextualMenuItemStyles } from '@fluentui/react';
54
+ import { IContextualMenuProps } from '@fluentui/react';
53
55
  import { IContextualMenuStyles } from '@fluentui/react';
54
- import { IDropdownOption } from '@fluentui/react';
55
- import { IDropdownStyles } from '@fluentui/react';
56
- import { IIconProps } from '@fluentui/react';
57
56
  import { ILinkStyles } from '@fluentui/react';
58
57
  import { IMessageBarProps } from '@fluentui/react';
59
58
  import { IncomingCall } from '@azure/communication-calling';
@@ -67,6 +66,7 @@ import { LatestMediaDiagnostics } from '@azure/communication-calling';
67
66
  import { LatestNetworkDiagnostics } from '@azure/communication-calling';
68
67
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
69
68
  import { MediaStreamType } from '@azure/communication-calling';
69
+ import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
70
70
  import { MicrosoftTeamsUserKind } from '@azure/communication-common';
71
71
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
72
72
  import { PartialTheme } from '@fluentui/react';
@@ -291,10 +291,6 @@ export declare type AzureCommunicationCallAdapterOptions = {
291
291
  * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
292
292
  */
293
293
  roleHint?: Role;
294
- /**
295
- * Optional feature flags to be enabled in the CallAdapter.
296
- */
297
- features?: CallAdapterOptionalFeatures;
298
294
  };
299
295
 
300
296
  /**
@@ -709,6 +705,10 @@ export declare interface CallAdapterCallOperations {
709
705
  * @beta
710
706
  */
711
707
  sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
708
+ /**
709
+ * Continues into a call when the browser version is not supported.
710
+ */
711
+ allowUnsupportedBrowserVersion(): void;
712
712
  }
713
713
 
714
714
  /**
@@ -735,16 +735,17 @@ export declare type CallAdapterClientState = {
735
735
  * Environment information about system the adapter is made on
736
736
  */
737
737
  environmentInfo?: EnvironmentInfo;
738
- /**
739
- * Optional features that are to be enabled through the adapter.
740
- */
741
- features?: CallAdapterOptionalFeatures;
742
738
  /**
743
739
  * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
744
740
  * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
745
741
  * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
746
742
  */
747
743
  roleHint?: Role;
744
+ /**
745
+ * State to track whether the local participant's camera is on. To be used when creating a custom
746
+ * control bar with the CallComposite.
747
+ */
748
+ cameraStatus?: 'On' | 'Off';
748
749
  };
749
750
 
750
751
  /**
@@ -831,18 +832,6 @@ export declare interface CallAdapterDeviceManagement {
831
832
  */
832
833
  export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
833
834
 
834
- /**
835
- * options object to enable opt in features for the CallAdapter
836
- *
837
- * @beta
838
- */
839
- export declare type CallAdapterOptionalFeatures = {
840
- /**
841
- * Feature flag for enabling the unsupported environment logic in the CallAdapter.
842
- */
843
- unsupportedEnvironment?: boolean;
844
- };
845
-
846
835
  /**
847
836
  * {@link CommonCallAdapter} state.
848
837
  *
@@ -976,6 +965,7 @@ export declare interface CallAdapterSubscribers {
976
965
  export declare type CallAdapterUiState = {
977
966
  isLocalPreviewMicrophoneEnabled: boolean;
978
967
  page: CallCompositePage;
968
+ unsupportedBrowserVersionsAllowed?: boolean;
979
969
  };
980
970
 
981
971
  /**
@@ -1204,15 +1194,11 @@ export declare type CallCompositeOptions = {
1204
1194
  */
1205
1195
  callControls?: boolean | CallControlOptions;
1206
1196
  /**
1207
- * Device permission restrictions for your call.
1208
- * Require device permissions to be set or have them as optional or not required to start a call
1197
+ * Device permissions check options for your call.
1198
+ * Here you can choose what device permissions you prompt the user for,
1199
+ * as well as what device permissions must be accepted before starting a call.
1209
1200
  */
1210
- devicePermissions?: DevicePermissionRestrictions;
1211
- /**
1212
- * Opt in call readiness feature for your call
1213
- * Setting this to `true` will add call readiness features to the call experience
1214
- */
1215
- callReadinessOptedIn?: boolean;
1201
+ deviceChecks?: DeviceCheckOptions;
1216
1202
  /**
1217
1203
  * Callback you may provide to supply users with further steps to troubleshoot why they have been
1218
1204
  * unable to grant your site the required permissions for the call.
@@ -1257,6 +1243,10 @@ export declare type CallCompositeOptions = {
1257
1243
  * if this is not supplied, the composite will not show a unsupported browser page.
1258
1244
  */
1259
1245
  onEnvironmentInfoTroubleshootingClick?: () => void;
1246
+ /**
1247
+ * Remote participant video tile menu options
1248
+ */
1249
+ remoteVideoTileMenu?: RemoteVideoTileMenuOptions;
1260
1250
  };
1261
1251
 
1262
1252
  /**
@@ -1326,10 +1316,22 @@ export declare interface CallCompositeStrings {
1326
1316
  * Label for camera dropdown.
1327
1317
  */
1328
1318
  cameraLabel: string;
1319
+ /**
1320
+ * Label for when there are no cameras present on configuration screen.
1321
+ */
1322
+ noCamerasLabel: string;
1329
1323
  /**
1330
1324
  * Label for sound dropdown.
1331
1325
  */
1332
1326
  soundLabel: string;
1327
+ /**
1328
+ * Label for when no microphones were found on the configuration screen
1329
+ */
1330
+ noMicrophonesLabel: string;
1331
+ /**
1332
+ * Label for when no speakers were found on the configuration screen.
1333
+ */
1334
+ noSpeakersLabel: string;
1333
1335
  /**
1334
1336
  * Error shown when camera access is blocked by the browser.
1335
1337
  */
@@ -1590,6 +1592,50 @@ export declare interface CallCompositeStrings {
1590
1592
  * Label disaplayed on the lobby screen during a 1:1 outbound call.
1591
1593
  */
1592
1594
  outboundCallingNoticeString: string;
1595
+ /**
1596
+ * Notice to be announced by narrator when a participant joins a call
1597
+ */
1598
+ participantJoinedNoticeString: string;
1599
+ /**
1600
+ * Notice to be announced by narrator when a participant joins a call
1601
+ */
1602
+ twoParticipantJoinedNoticeString: string;
1603
+ /**
1604
+ * Notice to be announced by narrator when a participant joins a call
1605
+ */
1606
+ threeParticipantJoinedNoticeString: string;
1607
+ /**
1608
+ * Notice to be announced by narrator when a participant leaves a call
1609
+ */
1610
+ participantLeftNoticeString: string;
1611
+ /**
1612
+ * Notice to be announced by narrator when 2 participants leave a call
1613
+ */
1614
+ twoParticipantLeftNoticeString: string;
1615
+ /**
1616
+ * Notice to be announced by narrator when 3 participants leave a call
1617
+ */
1618
+ threeParticipantLeftNoticeString: string;
1619
+ /**
1620
+ * string to be used to announce a change in participant if they have no displayName
1621
+ */
1622
+ unnamedParticipantString: string;
1623
+ /**
1624
+ * string to be used to announce when more than 3 participants have joined at the same time.
1625
+ */
1626
+ manyParticipantsJoined: string;
1627
+ /**
1628
+ * string to be used to announce when more than 3 participants have left at the same time.
1629
+ */
1630
+ manyParticipantsLeft: string;
1631
+ /**
1632
+ * string to be used to announce when multiple unnamed participants have joined at the same time.
1633
+ */
1634
+ manyUnnamedParticipantsJoined: string;
1635
+ /**
1636
+ * string to be used to announce when multiple unnamed participants have left at the same time.
1637
+ */
1638
+ manyUnnamedParticipantsLeft: string;
1593
1639
  }
1594
1640
 
1595
1641
  /**
@@ -1851,7 +1897,7 @@ export declare interface CallState {
1851
1897
  /**
1852
1898
  * Type of the call.
1853
1899
  */
1854
- type: 'Teams' | 'ACS';
1900
+ kind: CallKind;
1855
1901
  /**
1856
1902
  * Proxy of {@link @azure/communication-calling#Call.callerInfo}.
1857
1903
  */
@@ -2218,6 +2264,10 @@ export declare interface CallWithChatAdapterManagement {
2218
2264
  * @beta
2219
2265
  */
2220
2266
  sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
2267
+ /**
2268
+ * Continues into a call when the browser version is not supported.
2269
+ */
2270
+ allowUnsupportedBrowserVersion(): void;
2221
2271
  }
2222
2272
 
2223
2273
  /**
@@ -2296,6 +2346,14 @@ export declare interface CallWithChatAdapterUiState {
2296
2346
  * @beta
2297
2347
  */
2298
2348
  fileUploads?: FileUploadsUiState;
2349
+ /**
2350
+ * State to track whether the end user has opted in to using a
2351
+ * out of date version of a supported browser. Allows the user
2352
+ * to start a call in this state.
2353
+ *
2354
+ * @beta
2355
+ */
2356
+ unsupportedBrowserVersionsAllowed?: boolean;
2299
2357
  }
2300
2358
 
2301
2359
  /**
@@ -2426,10 +2484,11 @@ export declare type CallWithChatCompositeOptions = {
2426
2484
  */
2427
2485
  fileSharing?: FileSharingOptions;
2428
2486
  /**
2429
- * Device permission restrictions for your call.
2430
- * Require device permissions to be set or have them as optional or not required to start a call
2487
+ * Device permissions check options for your call.
2488
+ * Here you can choose what device permissions you prompt the user for,
2489
+ * as well as what device permissions must be accepted before starting a call.
2431
2490
  */
2432
- devicePermissions?: DevicePermissionRestrictions;
2491
+ deviceChecks?: DeviceCheckOptions;
2433
2492
  /**
2434
2493
  * Callback you may provide to supply users with further steps to troubleshoot why they have been
2435
2494
  * unable to grant your site the required permissions for the call.
@@ -2462,10 +2521,18 @@ export declare type CallWithChatCompositeOptions = {
2462
2521
  */
2463
2522
  onNetworkingTroubleShootingClick?: () => void;
2464
2523
  /**
2465
- * Opt in call readiness feature for your call
2466
- * setting this to True will add call readiness feature in call experience
2524
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
2525
+ *
2526
+ * @example
2527
+ * ```ts
2528
+ * onBrowserTroubleShootingClick?: () =>
2529
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
2530
+ * ```
2531
+ *
2532
+ * @remarks
2533
+ * if this is not supplied, the composite will not show a unsupported browser page.
2467
2534
  */
2468
- callReadinessOptedIn?: boolean;
2535
+ onEnvironmentInfoTroubleshootingClick?: () => void;
2469
2536
  };
2470
2537
 
2471
2538
  /**
@@ -2728,28 +2795,28 @@ export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded'
2728
2795
  * Component to allow Contoso to help their end user with their devices should their permissions be blocked
2729
2796
  * by their browsers settings.
2730
2797
  */
2731
- export declare const CameraAndMicrophoneDomainPermissions: (props: CameraAndMicrophoneDomainPermissionsProps) => JSX.Element;
2798
+ export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
2732
2799
 
2733
2800
  /**
2734
2801
  * @beta
2735
- * Props for CameraAndMicrophoneDomainPermissions component.
2802
+ * Props for CameraAndMicrophoneSitePermissions component.
2736
2803
  */
2737
- export declare interface CameraAndMicrophoneDomainPermissionsProps extends CommonDomainPermissionsProps {
2804
+ export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
2738
2805
  /** Icon name for the camera icon */
2739
2806
  cameraIconName?: string;
2740
2807
  /** Icon name for the microphone icon */
2741
2808
  microphoneIconName?: string;
2742
2809
  /** Icon name for the central icon between the camera and microphone icons */
2743
2810
  connectorIconName?: string;
2744
- /** Strings for use with the {@link CameraAndMicrophoneDomainPermissions} */
2745
- strings?: CameraAndMicrophoneDomainPermissionsStrings;
2811
+ /** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
2812
+ strings?: CameraAndMicrophoneSitePermissionsStrings;
2746
2813
  }
2747
2814
 
2748
2815
  /**
2749
2816
  * @beta
2750
- * Strings for CameraAndMicrophoneDomainPermissions component.
2817
+ * Strings for CameraAndMicrophoneSitePermissions component.
2751
2818
  */
2752
- export declare type CameraAndMicrophoneDomainPermissionsStrings = DomainPermissionsStrings;
2819
+ export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
2753
2820
 
2754
2821
  /**
2755
2822
  * A button to turn camera on / off.
@@ -2893,24 +2960,24 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
2893
2960
  *
2894
2961
  * @beta
2895
2962
  */
2896
- export declare const CameraDomainPermissions: (props: CameraDomainPermissionsProps) => JSX.Element;
2963
+ export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
2897
2964
 
2898
2965
  /**
2899
2966
  * @beta
2900
- * Props for CameraDomainPermissions component.
2967
+ * Props for CameraSitePermissions component.
2901
2968
  */
2902
- export declare interface CameraDomainPermissionsProps extends CommonDomainPermissionsProps {
2969
+ export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
2903
2970
  /** Icon name for the camera icon */
2904
2971
  cameraIconName?: string;
2905
- /** Strings for use with the {@link CameraDomainPermissions} */
2906
- strings?: CameraDomainPermissionsStrings;
2972
+ /** Strings for use with the {@link CameraSitePermissions} */
2973
+ strings?: CameraSitePermissionsStrings;
2907
2974
  }
2908
2975
 
2909
2976
  /**
2910
2977
  * @beta
2911
- * Strings for CameraDomainPermissions component.
2978
+ * Strings for CameraSitePermissions component.
2912
2979
  */
2913
- export declare type CameraDomainPermissionsStrings = DomainPermissionsStrings;
2980
+ export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
2914
2981
 
2915
2982
  /**
2916
2983
  * {@link ChatComposite} Adapter interface.
@@ -3533,19 +3600,32 @@ export declare interface CommonCallingHandlers {
3533
3600
  onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
3534
3601
  }
3535
3602
 
3603
+ /**
3604
+ * Return intersect properties of 2 types
3605
+ *
3606
+ * @public
3607
+ */
3608
+ export declare type CommonProperties<A, B> = {
3609
+ [P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
3610
+ }[keyof A & keyof B];
3611
+
3536
3612
  /**
3537
3613
  * @beta
3538
- * Props for DomainPermissions components.
3614
+ * Props for SitePermissions components.
3539
3615
  */
3540
- export declare interface CommonDomainPermissionsProps {
3616
+ export declare interface CommonSitePermissionsProps {
3541
3617
  /**
3542
3618
  * Name of application calling experience is in.
3543
3619
  */
3544
3620
  appName: string;
3545
3621
  /**
3546
- * Type of the Domain Permissions component.
3622
+ * Kind of the Site Permissions component.
3623
+ */
3624
+ kind: 'request' | 'denied' | 'check';
3625
+ /**
3626
+ * Type of the browser used, the Site permission component will show different guidance text based on the browser type
3547
3627
  */
3548
- type: 'request' | 'denied' | 'check';
3628
+ browserHint?: 'safari' | 'unset';
3549
3629
  /**
3550
3630
  * Action to be taken by the more help link. Possible to send to external page or show other modal.
3551
3631
  * If this is not provided the button will not be shown.
@@ -3557,20 +3637,11 @@ export declare interface CommonDomainPermissionsProps {
3557
3637
  */
3558
3638
  onContinueAnywayClick?: () => void;
3559
3639
  /**
3560
- * Styles for DomainPermissions component.
3640
+ * Styles for SitePermissions component.
3561
3641
  */
3562
- styles?: DomainPermissionsStyles;
3642
+ styles?: SitePermissionsStyles;
3563
3643
  }
3564
3644
 
3565
- /**
3566
- * Return intersect properties of 2 types
3567
- *
3568
- * @public
3569
- */
3570
- export declare type CommonProperties<A, B> = {
3571
- [P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
3572
- }[keyof A & keyof B];
3573
-
3574
3645
  /**
3575
3646
  * A Chat or Calling participant's state, as reflected in the UI.
3576
3647
  *
@@ -3750,26 +3821,36 @@ export declare interface ComponentStrings {
3750
3821
  videoTile: VideoTileStrings;
3751
3822
  /** Strings for HoldButton */
3752
3823
  holdButton: HoldButtonStrings;
3753
- /** Strings for a domain permission request prompt */
3754
- CameraAndMicrophoneDomainPermissionsRequest: DomainPermissionsStrings;
3755
- /** Strings for a domain permission request prompt */
3756
- CameraDomainPermissionsRequest: DomainPermissionsStrings;
3757
- /** Strings for a domain permission request prompt */
3758
- MicrophoneDomainPermissionsRequest: DomainPermissionsStrings;
3759
- /** Strings for a domain permission generic checking prompt */
3760
- CameraAndMicrophoneDomainPermissionsCheck: DomainPermissionsStrings;
3761
- /** Strings for a domain permission generic checking prompt */
3762
- CameraDomainPermissionsCheck: DomainPermissionsStrings;
3763
- /** Strings for a domain permission generic checking prompt */
3764
- MicrophoneDomainPermissionsCheck: DomainPermissionsStrings;
3765
- /** Strings for a domain permission denied prompt */
3766
- CameraAndMicrophoneDomainPermissionsDenied: DomainPermissionsStrings;
3767
- /** Strings for a domain permission denied prompt */
3768
- CameraDomainPermissionsDenied: DomainPermissionsStrings;
3769
- /** Strings for a domain permission denied prompt */
3770
- MicrophoneDomainPermissionsDenied: DomainPermissionsStrings;
3824
+ /** Strings for a site's permission request prompt */
3825
+ CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
3826
+ /** Strings for a site's permission request prompt */
3827
+ CameraSitePermissionsRequest: SitePermissionsStrings;
3828
+ /** Strings for a site's permission request prompt */
3829
+ MicrophoneSitePermissionsRequest: SitePermissionsStrings;
3830
+ /** Strings for a site's permission generic checking prompt */
3831
+ CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
3832
+ /** Strings for a site's permission generic checking prompt */
3833
+ CameraSitePermissionsCheck: SitePermissionsStrings;
3834
+ /** Strings for a site's permission generic checking prompt */
3835
+ MicrophoneSitePermissionsCheck: SitePermissionsStrings;
3836
+ /** Strings for a site's permission denied prompt */
3837
+ CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
3838
+ /** Strings for a site's permission denied prompt for safari browsers*/
3839
+ CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
3840
+ /** Strings for a site's permission denied prompt */
3841
+ CameraSitePermissionsDenied: SitePermissionsStrings;
3842
+ /** Strings for a site's permission denied prompt */
3843
+ MicrophoneSitePermissionsDenied: SitePermissionsStrings;
3844
+ /** Strings for a site's permission denied prompt for safari browsers*/
3845
+ CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
3846
+ /** Strings for a site's permission denied prompt for safari browsers*/
3847
+ MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
3771
3848
  /** Strings for unsupported browser UI */
3772
3849
  UnsupportedBrowser: UnsupportedBrowserStrings;
3850
+ /** Strings for unsupported browser version UI */
3851
+ UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
3852
+ /** Strings for unsupported browser version UI */
3853
+ UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
3773
3854
  /** Strings for BrowserPemissionDenied */
3774
3855
  BrowserPermissionDenied: BrowserPermissionDeniedStrings;
3775
3856
  /** Strings for BrowserPemissionDeniedIOS */
@@ -4081,7 +4162,7 @@ export declare interface ControlBarProps {
4081
4162
  *
4082
4163
  * @public
4083
4164
  */
4084
- export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
4165
+ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
4085
4166
 
4086
4167
  /**
4087
4168
  * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
@@ -4130,21 +4211,6 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
4130
4211
  */
4131
4212
  export declare const createAzureCommunicationChatAdapterFromClient: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => Promise<ChatAdapter>;
4132
4213
 
4133
- /**
4134
- * @beta
4135
- */
4136
- export declare const createAzureCommunicationTeamsCallAdapter: ({ userId, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<TeamsCallAdapter>;
4137
-
4138
- /**
4139
- * Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
4140
- *
4141
- * Useful if you want to keep a reference to {@link StatefulCallClient}.
4142
- * Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
4143
- *
4144
- * @beta
4145
- */
4146
- export declare const createAzureCommunicationTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator) => Promise<TeamsCallAdapter>;
4147
-
4148
4214
  /**
4149
4215
  * Create the default implementation of {@link CallingHandlers} for teams call.
4150
4216
  *
@@ -4202,6 +4268,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
4202
4268
  */
4203
4269
  export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
4204
4270
 
4271
+ /**
4272
+ * @beta
4273
+ */
4274
+ export declare const createTeamsCallAdapter: ({ userId, credential, locator }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
4275
+
4276
+ /**
4277
+ * Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
4278
+ *
4279
+ * Useful if you want to keep a reference to {@link StatefulCallClient}.
4280
+ * Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
4281
+ *
4282
+ * @beta
4283
+ */
4284
+ export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator) => Promise<TeamsCallAdapter>;
4285
+
4205
4286
  /**
4206
4287
  * Object returned after creating a local or remote VideoStream.
4207
4288
  * This contains helper functions to manipulate the render of the stream.
@@ -4501,14 +4582,19 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4501
4582
  SendBoxSendHovered: JSX.Element;
4502
4583
  VideoTileMicOff: JSX.Element;
4503
4584
  DialpadBackspace: JSX.Element;
4504
- DomainPermissionsSparkle: JSX.Element;
4505
- DomainPermissionCamera: JSX.Element;
4506
- DomainPermissionMic: JSX.Element;
4507
- DomainPermissionCameraDenied: JSX.Element;
4508
- DomainPermissionMicDenied: JSX.Element;
4509
- UnsupportedBrowserWarning: JSX.Element;
4585
+ SitePermissionsSparkle: JSX.Element;
4586
+ SitePermissionCamera: JSX.Element;
4587
+ SitePermissionMic: JSX.Element;
4588
+ SitePermissionCameraDenied: JSX.Element;
4589
+ SitePermissionMicDenied: JSX.Element;
4590
+ UnsupportedEnvironmentWarning: JSX.Element;
4510
4591
  BrowserPermissionDeniedError: JSX.Element;
4511
4592
  VideoTilePinned: JSX.Element;
4593
+ VideoTileMoreOptions: JSX.Element;
4594
+ VideoTileScaleFit: JSX.Element;
4595
+ VideoTileScaleFill: JSX.Element;
4596
+ PinParticipant: JSX.Element;
4597
+ UnpinParticipant: JSX.Element;
4512
4598
  };
4513
4599
 
4514
4600
  /**
@@ -4597,16 +4683,44 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4597
4683
  HoldCallButton: JSX.Element;
4598
4684
  ResumeCall: JSX.Element;
4599
4685
  DialpadBackspace: JSX.Element;
4600
- DomainPermissionsSparkle: JSX.Element;
4601
- DomainPermissionCamera: JSX.Element;
4602
- DomainPermissionMic: JSX.Element;
4603
- DomainPermissionCameraDenied: JSX.Element;
4604
- DomainPermissionMicDenied: JSX.Element;
4605
- UnsupportedBrowserWarning: JSX.Element;
4686
+ SitePermissionsSparkle: JSX.Element;
4687
+ SitePermissionCamera: JSX.Element;
4688
+ SitePermissionMic: JSX.Element;
4689
+ SitePermissionCameraDenied: JSX.Element;
4690
+ SitePermissionMicDenied: JSX.Element;
4691
+ UnsupportedEnvironmentWarning: JSX.Element;
4606
4692
  BrowserPermissionDeniedError: JSX.Element;
4607
4693
  VideoTilePinned: JSX.Element;
4694
+ VideoTileMoreOptions: JSX.Element;
4695
+ VideoTileScaleFit: JSX.Element;
4696
+ VideoTileScaleFill: JSX.Element;
4697
+ PinParticipant: JSX.Element;
4698
+ UnpinParticipant: JSX.Element;
4608
4699
  };
4609
4700
 
4701
+ /**
4702
+ * Device Checks.
4703
+ * Choose whether or not to block starting a call depending on camera and microphone permission options.
4704
+ *
4705
+ * @beta
4706
+ */
4707
+ export declare interface DeviceCheckOptions {
4708
+ /**
4709
+ * Camera Permission prompts for your call.
4710
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
4711
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
4712
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
4713
+ */
4714
+ camera: 'required' | 'optional' | 'doNotPrompt';
4715
+ /**
4716
+ * Microphone permission prompts for your call.
4717
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
4718
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
4719
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
4720
+ */
4721
+ microphone: 'required' | 'optional' | 'doNotPrompt';
4722
+ }
4723
+
4610
4724
  /**
4611
4725
  * This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
4612
4726
  * optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
@@ -4662,95 +4776,6 @@ export declare type DeviceManagerState = {
4662
4776
  unparentedViews: LocalVideoStreamState[];
4663
4777
  };
4664
4778
 
4665
- /**
4666
- * A dropdown to trigger device permission prompt
4667
- *
4668
- * @internal
4669
- */
4670
- export declare const _DevicePermissionDropdown: (props: _DevicePermissionDropdownProps) => JSX.Element;
4671
-
4672
- /**
4673
- * Props for {@link _DevicePermissionDropdown}.
4674
- *
4675
- * @internal
4676
- */
4677
- export declare interface _DevicePermissionDropdownProps {
4678
- /**
4679
- * icon shown in dropdown placeholder
4680
- */
4681
- icon?: JSX.Element;
4682
- /**
4683
- * Dropdown content
4684
- */
4685
- options?: IDropdownOption[];
4686
- /**
4687
- * Ask for permissions of devices.
4688
- *
4689
- * @remarks
4690
- * Browser permission window will pop up if permissions are not granted yet
4691
- *
4692
- * @param constrain - Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
4693
- */
4694
- askDevicePermission?(constrain: _PermissionConstraints): Promise<void>;
4695
- /**
4696
- * Optional callback when component is clicked
4697
- */
4698
- onClick?: () => void;
4699
- /**
4700
- * Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
4701
- */
4702
- constrain?: _PermissionConstraints;
4703
- /**
4704
- * Strings for devicepermissiondropdown
4705
- */
4706
- strings?: _DevicePermissionDropdownStrings;
4707
- /**
4708
- * Styles for devicepermissiondropdown
4709
- */
4710
- styles?: Partial<IDropdownStyles>;
4711
- }
4712
-
4713
- /**
4714
- * Strings of {@link DevicePermissionDropdown} that can be overridden.
4715
- *
4716
- * @internal
4717
- */
4718
- export declare interface _DevicePermissionDropdownStrings {
4719
- /**
4720
- * dropdown label
4721
- */
4722
- label?: string;
4723
- /**
4724
- * dropdown placeholder
4725
- */
4726
- placeHolderText: string;
4727
- /** string for action button */
4728
- actionButtonContent?: string;
4729
- }
4730
-
4731
- /**
4732
- * Device Permission restrictions.
4733
- * Be able to start a call depending on camera and microphone permission options.
4734
- *
4735
- * @beta
4736
- */
4737
- export declare interface DevicePermissionRestrictions {
4738
- /**
4739
- * Camera Permission prompts for your call.
4740
- * 'required' - requires the permission to be allowed before permitting the user join the call.
4741
- * 'optional' - permission can be disallowed and the user is still permitted to join the call.
4742
- * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
4743
- */
4744
- camera: 'required' | 'optional' | 'doNotPrompt';
4745
- /**
4746
- * Microphone permission prompts for your call.
4747
- * 'required' - requires the permission to be allowed before permitting the user join the call.
4748
- * 'optional' - permission can be disallowed and the user is still permitted to join the call.
4749
- * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
4750
- */
4751
- microphone: 'required' | 'optional' | 'doNotPrompt';
4752
- }
4753
-
4754
4779
  /**
4755
4780
  * A button to open a menu that controls device options.
4756
4781
  *
@@ -4988,45 +5013,6 @@ export declare interface Disposable {
4988
5013
  dispose(): void;
4989
5014
  }
4990
5015
 
4991
- /**
4992
- * @beta
4993
- * Strings for DomainPermissions component
4994
- */
4995
- export declare type DomainPermissionsStrings = {
4996
- /**
4997
- * Main text string.
4998
- */
4999
- primaryText?: string;
5000
- /**
5001
- * Subtext string.
5002
- */
5003
- secondaryText?: string;
5004
- /**
5005
- * More help link string.
5006
- */
5007
- linkText?: string;
5008
- /**
5009
- * Primary button text string.
5010
- */
5011
- primaryButtonText?: string;
5012
- /**
5013
- * Aria label describing the content of the container
5014
- */
5015
- ariaLabel?: string;
5016
- };
5017
-
5018
- /**
5019
- * Fluent styles for {@link DomainPermissionsContainer}.
5020
- *
5021
- * @beta
5022
- */
5023
- export declare interface DomainPermissionsStyles extends BaseCustomStyles {
5024
- /** Styles for the primary button. */
5025
- primaryButton?: IButtonStyles;
5026
- /** Styles for the help troubleshooting link text. */
5027
- troubleshootingLink?: ILinkStyles;
5028
- }
5029
-
5030
5016
  /**
5031
5017
  * DTMF tone for PSTN calls.
5032
5018
  *
@@ -5202,6 +5188,10 @@ export declare interface ErrorBarStrings {
5202
5188
  * Message shown when microphone can be enumerated but access is blocked by the system.
5203
5189
  */
5204
5190
  callMicrophoneAccessDenied: string;
5191
+ /**
5192
+ * Message shown when microphone can be enumerated but access is blocked by the system, for safari browsers
5193
+ */
5194
+ callMicrophoneAccessDeniedSafari: string;
5205
5195
  /**
5206
5196
  * Message shown when microphone is muted by the system (not by local or remote participants)
5207
5197
  */
@@ -5224,6 +5214,10 @@ export declare interface ErrorBarStrings {
5224
5214
  * Message shown when camera can be enumerated but access is blocked by the system.
5225
5215
  */
5226
5216
  callCameraAccessDenied: string;
5217
+ /**
5218
+ * Message shown when camera can be enumerated but access is blocked by the system, for safari browsers
5219
+ */
5220
+ callCameraAccessDeniedSafari: string;
5227
5221
  /**
5228
5222
  * Message shown when local video fails to start because camera is already in use by
5229
5223
  * another applciation.
@@ -5499,7 +5493,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
5499
5493
  *
5500
5494
  * @public
5501
5495
  */
5502
- 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 : AreEqual<Component, typeof _DevicePermissionDropdown> extends true ? EmptySelector : undefined;
5496
+ 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;
5503
5497
 
5504
5498
  /**
5505
5499
  * Get the selector for a specified component.
@@ -6491,24 +6485,24 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
6491
6485
  *
6492
6486
  * @beta
6493
6487
  */
6494
- export declare const MicrophoneDomainPermissions: (props: MicrophoneDomainPermissionsProps) => JSX.Element;
6488
+ export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
6495
6489
 
6496
6490
  /**
6497
6491
  * @beta
6498
- * Props for MicrophoneDomainPermissions component.
6492
+ * Props for MicrophoneSitePermissions component.
6499
6493
  */
6500
- export declare interface MicrophoneDomainPermissionsProps extends CommonDomainPermissionsProps {
6494
+ export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
6501
6495
  /** Icon name for the microphone icon */
6502
6496
  microphoneIconName?: string;
6503
- /** Strings for use with the {@link MicrophoneDomainPermissions} */
6504
- strings?: MicrophoneDomainPermissionsStrings;
6497
+ /** Strings for use with the {@link MicrophoneSitePermissions} */
6498
+ strings?: MicrophoneSitePermissionsStrings;
6505
6499
  }
6506
6500
 
6507
6501
  /**
6508
6502
  * @beta
6509
- * Strings for MicrophoneDomainPermissions component.
6503
+ * Strings for MicrophoneSitePermissions component.
6510
6504
  */
6511
- export declare type MicrophoneDomainPermissionsStrings = DomainPermissionsStrings;
6505
+ export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
6512
6506
 
6513
6507
  /**
6514
6508
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
@@ -6645,8 +6639,6 @@ export declare interface ParticipantItemStrings {
6645
6639
  mutedIconLabel: string;
6646
6640
  /** placeholder text for participants who does not have a display name*/
6647
6641
  displayNamePlaceholder?: string;
6648
- /** String shown when `participantState` is `Connecting` */
6649
- participantStateConnecting?: string;
6650
6642
  /** String shown when `participantState` is `Ringing` */
6651
6643
  participantStateRinging?: string;
6652
6644
  /** String shown when `participantState` is `Hold` */
@@ -6908,6 +6900,10 @@ export declare interface ParticipantsButtonStrings {
6908
6900
  * Label of menu button to mute all participants
6909
6901
  */
6910
6902
  muteAllButtonLabel: string;
6903
+ /**
6904
+ * Narrator announcement for when the invite link has been copied by the user to the clipboard
6905
+ */
6906
+ copyInviteLinkActionedAriaLabel: string;
6911
6907
  }
6912
6908
 
6913
6909
  /**
@@ -6954,16 +6950,6 @@ export declare type ParticipantsRemovedListener = (event: {
6954
6950
  */
6955
6951
  export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
6956
6952
 
6957
- /**
6958
- * Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
6959
- *
6960
- * @internal
6961
- */
6962
- export declare type _PermissionConstraints = {
6963
- audio: boolean;
6964
- video: boolean;
6965
- };
6966
-
6967
6953
  /**
6968
6954
  * An array of key value pairs that stores each sender's display name and last read message
6969
6955
  *
@@ -7063,6 +7049,20 @@ export declare interface RemoteVideoStreamState {
7063
7049
  view?: VideoStreamRendererViewState;
7064
7050
  }
7065
7051
 
7052
+ /**
7053
+ * Menu options for remote video tiles in {@link VideoGallery}.
7054
+ *
7055
+ * @beta
7056
+ */
7057
+ export declare interface RemoteVideoTileMenuOptions {
7058
+ /**
7059
+ * If set to true, remote video tiles in the VideoGallery will not have menu options
7060
+ *
7061
+ * @defaultValue false
7062
+ */
7063
+ isHidden?: boolean;
7064
+ }
7065
+
7066
7066
  /**
7067
7067
  * @beta
7068
7068
  * The role of a call participant.
@@ -7293,6 +7293,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
7293
7293
  systemMessage?: IStyle;
7294
7294
  }
7295
7295
 
7296
+ /**
7297
+ * @beta
7298
+ * Strings for SitePermissions component
7299
+ */
7300
+ export declare type SitePermissionsStrings = {
7301
+ /**
7302
+ * Main text string.
7303
+ */
7304
+ primaryText?: string;
7305
+ /**
7306
+ * Subtext string.
7307
+ */
7308
+ secondaryText?: string;
7309
+ /**
7310
+ * More help link string.
7311
+ */
7312
+ linkText?: string;
7313
+ /**
7314
+ * Primary button text string.
7315
+ */
7316
+ primaryButtonText?: string;
7317
+ /**
7318
+ * Aria label describing the content of the container
7319
+ */
7320
+ ariaLabel?: string;
7321
+ };
7322
+
7323
+ /**
7324
+ * Fluent styles for {@link SitePermissionsContainer}.
7325
+ *
7326
+ * @beta
7327
+ */
7328
+ export declare interface SitePermissionsStyles extends BaseCustomStyles {
7329
+ /** Styles for the primary button. */
7330
+ primaryButton?: IButtonStyles;
7331
+ /** Styles for the help troubleshooting link text. */
7332
+ troubleshootingLink?: ILinkStyles;
7333
+ }
7334
+
7296
7335
  /**
7297
7336
  * Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
7298
7337
  * The interface provides access to proxied state and also allows registering a handler for state change events. For
@@ -7424,7 +7463,7 @@ export declare type StatefulCallClientArgs = {
7424
7463
  * UserId from SDK. This is provided for developer convenience to easily access the userId from the
7425
7464
  * state. It is not used by StatefulCallClient.
7426
7465
  */
7427
- userId: CommunicationUserIdentifier;
7466
+ userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
7428
7467
  /**
7429
7468
  * A phone number in E.164 format that will be used to represent the callers identity. This number is required
7430
7469
  * to start a PSTN call.
@@ -7603,6 +7642,17 @@ export declare interface TeamsCallAdapter extends CommonCallAdapter {
7603
7642
  startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
7604
7643
  }
7605
7644
 
7645
+ /**
7646
+ * Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
7647
+ *
7648
+ * @beta
7649
+ */
7650
+ export declare type TeamsCallAdapterArgs = {
7651
+ userId: MicrosoftTeamsUserIdentifier;
7652
+ credential: CommunicationTokenCredential;
7653
+ locator: TeamsMeetingLinkLocator;
7654
+ };
7655
+
7606
7656
  /**
7607
7657
  * Object containing all the teams call handlers required for calling components.
7608
7658
  *
@@ -7795,22 +7845,22 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
7795
7845
  }
7796
7846
 
7797
7847
  /**
7798
- * UI to display to the user that the browser they are using is not supported by calling application.
7848
+ * UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
7799
7849
  *
7800
7850
  * @beta
7801
7851
  */
7802
7852
  export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
7803
7853
 
7804
7854
  /**
7805
- * props for UnsupportedBrowser UI
7855
+ * props for {@link UnsupportedBrowser} UI
7806
7856
  *
7807
7857
  * @beta
7808
7858
  */
7809
7859
  export declare interface UnsupportedBrowserProps {
7810
- /** Handler to perform a action when the help link is actioned */
7860
+ /** Handler to perform an action when the help link is actioned */
7811
7861
  onTroubleshootingClick?: () => void;
7812
7862
  /** String overrides for the component */
7813
- strings: UnsupportedBrowserStrings;
7863
+ strings?: UnsupportedBrowserStrings;
7814
7864
  }
7815
7865
 
7816
7866
  /**
@@ -7823,8 +7873,79 @@ export declare interface UnsupportedBrowserStrings {
7823
7873
  primaryText: string;
7824
7874
  /** String for the secondary text */
7825
7875
  secondaryText: string;
7826
- /** String for the help link */
7827
- moreHelpLink: string;
7876
+ /** String to display in the text for the help link */
7877
+ moreHelpLinkText: string;
7878
+ }
7879
+
7880
+ /**
7881
+ * UI to display to the user that the browser version they are using is out of date
7882
+ * and not supported by Azure Communications Calling service.
7883
+ *
7884
+ * @beta
7885
+ */
7886
+ export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
7887
+
7888
+ /**
7889
+ * props for {@link UnsupportedBrowserVersion} UI
7890
+ *
7891
+ * @beta
7892
+ */
7893
+ export declare interface UnsupportedBrowserVersionProps {
7894
+ /** Handler to perform an action when the help link is actioned */
7895
+ onTroubleshootingClick?: () => void;
7896
+ /** String overrides for the component */
7897
+ strings?: UnsupportedBrowserVersionStrings;
7898
+ /** Handler to allow user to continue into the call */
7899
+ onContinueAnywayClick?: () => void;
7900
+ }
7901
+
7902
+ /**
7903
+ * Strings for UnsupportedBrowser component
7904
+ *
7905
+ * @beta
7906
+ */
7907
+ export declare interface UnsupportedBrowserVersionStrings {
7908
+ /** String for the primary text */
7909
+ primaryText: string;
7910
+ /** String for the secondary text */
7911
+ secondaryText: string;
7912
+ /** String to display in the text for the help link */
7913
+ moreHelpLinkText: string;
7914
+ /** String for continue without updating button */
7915
+ continueAnywayButtonText?: string;
7916
+ }
7917
+
7918
+ /**
7919
+ * UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
7920
+ *
7921
+ * @beta
7922
+ */
7923
+ export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
7924
+
7925
+ /**
7926
+ * Props for {@link UnsupportedOperatingSystem} UI
7927
+ *
7928
+ * @beta
7929
+ */
7930
+ export declare interface UnsupportedOperatingSystemProps {
7931
+ /** Handler to perform a action when the help link is actioned */
7932
+ onTroubleshootingClick?: () => void;
7933
+ /** String overrides for the component */
7934
+ strings?: UnsupportedOperatingSystemStrings;
7935
+ }
7936
+
7937
+ /**
7938
+ * Strings for UnsupportedBrowser component
7939
+ *
7940
+ * @beta
7941
+ */
7942
+ export declare interface UnsupportedOperatingSystemStrings {
7943
+ /** String for the primary text */
7944
+ primaryText: string;
7945
+ /** String for the secondary text */
7946
+ secondaryText: string;
7947
+ /** String to display in the text for the help link */
7948
+ moreHelpLinkText: string;
7828
7949
  }
7829
7950
 
7830
7951
  /**
@@ -7883,22 +8004,6 @@ export declare const useAzureCommunicationCallWithChatAdapter: (args: Partial<Az
7883
8004
  */
7884
8005
  export declare const useAzureCommunicationChatAdapter: (args: Partial<AzureCommunicationChatAdapterArgs>, afterCreate?: ((adapter: ChatAdapter) => Promise<ChatAdapter>) | undefined, beforeDispose?: ((adapter: ChatAdapter) => Promise<void>) | undefined) => ChatAdapter | undefined;
7885
8006
 
7886
- /**
7887
- * A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
7888
- *
7889
- * Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
7890
- * creation of the adapter internally.
7891
- *
7892
- * Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
7893
- * as they are created. The adapter is only created when all arguments are defined.
7894
- *
7895
- * Note that you must memoize the arguments to avoid recreating adapter on each render.
7896
- * See storybook for typical usage examples.
7897
- *
7898
- * @beta
7899
- */
7900
- export declare const useAzureCommunicationTeamsCallAdapter: (args: Partial<AzureCommunicationCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
7901
-
7902
8007
  /**
7903
8008
  * Hook to obtain {@link @azure/communication-calling#Call} from the provider.
7904
8009
  *
@@ -8009,6 +8114,22 @@ export declare const useSelector: <ParamT extends Selector | undefined>(selector
8009
8114
  */
8010
8115
  export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
8011
8116
 
8117
+ /**
8118
+ * A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
8119
+ *
8120
+ * Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
8121
+ * creation of the adapter internally.
8122
+ *
8123
+ * Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
8124
+ * as they are created. The adapter is only created when all arguments are defined.
8125
+ *
8126
+ * Note that you must memoize the arguments to avoid recreating adapter on each render.
8127
+ * See storybook for typical usage examples.
8128
+ *
8129
+ * @beta
8130
+ */
8131
+ export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
8132
+
8012
8133
  /**
8013
8134
  * Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
8014
8135
  *
@@ -8125,6 +8246,24 @@ export declare interface VideoGalleryProps {
8125
8246
  * Camera control information for button to switch cameras.
8126
8247
  */
8127
8248
  localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps;
8249
+ /**
8250
+ * List of pinned participant userIds.
8251
+ */
8252
+ pinnedParticipants?: string[];
8253
+ /**
8254
+ * This callback will be called when a participant video tile is pinned.
8255
+ */
8256
+ onPinParticipant?: (userId: string) => void;
8257
+ /**
8258
+ * This callback will be called when a participant video tile is un-pinned.
8259
+ */
8260
+ onUnpinParticipant?: (userId: string) => void;
8261
+ /**
8262
+ * Options for showing the remote video tile menu.
8263
+ *
8264
+ * @defaultValue \{ kind: 'contextual' \}
8265
+ */
8266
+ remoteVideoTileMenuOptions?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
8128
8267
  }
8129
8268
 
8130
8269
  /**
@@ -8172,6 +8311,8 @@ export declare interface VideoGalleryStream {
8172
8311
  isMirrored?: boolean;
8173
8312
  /** Render element of the video stream */
8174
8313
  renderElement?: HTMLElement;
8314
+ /** Scaling mode of the video stream */
8315
+ scalingMode?: ViewScalingMode;
8175
8316
  }
8176
8317
 
8177
8318
  /**
@@ -8194,6 +8335,14 @@ export declare interface VideoGalleryStrings {
8194
8335
  localVideoSelectedDescription: string;
8195
8336
  /** placeholder text for participants who does not have a display name*/
8196
8337
  displayNamePlaceholder: string;
8338
+ /** Menu text shown in Video Tile contextual menu for setting a remote participants video to fit in frame */
8339
+ fitRemoteParticipantToFrame: string;
8340
+ /** Menu text shown in Video Tile contextual menu for setting a remote participants video to fill the frame */
8341
+ fillRemoteParticipantFrame: string;
8342
+ /** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
8343
+ pinParticipantForMe: string;
8344
+ /** Menu text shown in Video Tile contextual menu for setting a remote participant's video tile */
8345
+ unpinParticipantForMe: string;
8197
8346
  }
8198
8347
 
8199
8348
  /**
@@ -8252,16 +8401,34 @@ export declare interface VideoStreamRendererViewState {
8252
8401
  export declare const VideoTile: (props: VideoTileProps) => JSX.Element;
8253
8402
 
8254
8403
  /**
8404
+ * Properties for showing contextual menu for remote {@link VideoTile} components in {@link VideoGallery}.
8405
+ *
8255
8406
  * @beta
8256
- * MenuItems to be diplayed in video tile in the contextual/drawer menu
8257
8407
  */
8258
- export declare type VideoTileMenuItems = Array<{
8259
- key: string;
8260
- ariaLabel?: string;
8261
- text: string;
8262
- onClick: () => void;
8263
- iconProps: IIconProps;
8264
- }>;
8408
+ export declare interface VideoTileContextualMenuProps {
8409
+ /**
8410
+ * The menu property kind
8411
+ */
8412
+ kind: 'contextual';
8413
+ }
8414
+
8415
+ /**
8416
+ * Properties for showing drawer menu on remote {@link VideoTile} long touch in {@link VideoGallery}.
8417
+ *
8418
+ * @beta
8419
+ */
8420
+ export declare interface VideoTileDrawerMenuProps {
8421
+ /**
8422
+ * The menu property kind
8423
+ */
8424
+ kind: 'drawer';
8425
+ /**
8426
+ * The optional id property provided on an element that the drawer menu should render within when a
8427
+ * remote participant video tile Drawer is shown. If an id is not provided, then a drawer menu will
8428
+ * render within the VideoGallery component.
8429
+ */
8430
+ hostId?: string;
8431
+ }
8265
8432
 
8266
8433
  /**
8267
8434
  * Props for {@link VideoTile}.
@@ -8301,10 +8468,6 @@ export declare interface VideoTileProps {
8301
8468
  * Whether the video is muted or not.
8302
8469
  */
8303
8470
  isMuted?: boolean;
8304
- /**
8305
- * Display custom menu items in the VideoTile's contextual menu.
8306
- */
8307
- menuItems?: VideoTileMenuItems;
8308
8471
  /**
8309
8472
  * If true, the video tile will show the pin icon.
8310
8473
  */
@@ -8343,6 +8506,16 @@ export declare interface VideoTileProps {
8343
8506
  */
8344
8507
  participantState?: ParticipantState;
8345
8508
  strings?: VideoTileStrings;
8509
+ /**
8510
+ * Display custom menu items in the VideoTile's contextual menu.
8511
+ * Uses Fluent UI ContextualMenu.
8512
+ * An ellipses icon will be displayed to open the contextual menu if this prop is defined.
8513
+ */
8514
+ contextualMenu?: IContextualMenuProps;
8515
+ /**
8516
+ * Callback triggered by video tile on touch and hold.
8517
+ */
8518
+ onLongTouch?: () => void;
8346
8519
  }
8347
8520
 
8348
8521
  /**
@@ -8350,7 +8523,6 @@ export declare interface VideoTileProps {
8350
8523
  * @beta
8351
8524
  */
8352
8525
  export declare interface VideoTileStrings {
8353
- participantStateConnecting: string;
8354
8526
  participantStateRinging: string;
8355
8527
  participantStateHold: string;
8356
8528
  }