@azure/communication-react 1.2.3-alpha-202206280015.0 → 1.3.1-alpha-202208032336

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 (290) hide show
  1. package/CHANGELOG.json +1260 -0
  2. package/CHANGELOG.md +110 -1
  3. package/dist/communication-react.d.ts +118 -11
  4. package/dist/dist-cjs/communication-react/index.js +3331 -2795
  5. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/identifier.d.ts.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/identifier.js +7 -6
  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/callControlSelectors.d.ts +1 -0
  12. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts.map +1 -1
  13. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +5 -2
  14. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  15. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js +1 -1
  16. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  17. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +7 -1
  18. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts.map +1 -1
  19. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  20. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -1
  21. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts.map +1 -1
  22. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +3 -1
  23. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  24. package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts +6 -0
  25. package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts.map +1 -1
  26. package/dist/dist-esm/calling-stateful-client/src/Logger.js +6 -0
  27. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  28. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +9 -0
  29. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts.map +1 -1
  30. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +5 -2
  31. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  32. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.d.ts.map +1 -1
  33. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +73 -5
  34. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  35. package/dist/dist-esm/communication-react/src/index.d.ts +1 -0
  36. package/dist/dist-esm/communication-react/src/index.d.ts.map +1 -1
  37. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  38. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.d.ts.map +1 -1
  39. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +7 -13
  40. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  41. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts.map +1 -1
  42. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +8 -4
  43. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  44. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +1 -0
  45. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts.map +1 -1
  46. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +25 -13
  47. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  48. package/dist/dist-esm/react-components/src/components/ControlBar.js +1 -1
  49. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  50. package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts.map +1 -1
  51. package/dist/dist-esm/react-components/src/components/DevicesButton.js +2 -15
  52. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  53. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +2 -0
  54. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts.map +1 -1
  55. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +30 -7
  56. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  57. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts.map +1 -1
  58. package/dist/dist-esm/react-components/src/components/ErrorBar.js +16 -1
  59. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  60. package/dist/dist-esm/react-components/src/components/FileCard.d.ts.map +1 -1
  61. package/dist/dist-esm/react-components/src/components/FileCard.js +3 -12
  62. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  63. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts.map +1 -1
  64. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +7 -8
  65. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  66. package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts.map +1 -1
  67. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +3 -10
  68. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  69. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +2 -0
  70. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts.map +1 -1
  71. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  72. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts.map +1 -1
  73. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +3 -13
  74. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  75. package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts.map +1 -1
  76. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +8 -15
  77. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  78. package/dist/dist-esm/react-components/src/components/SendBox.d.ts.map +1 -1
  79. package/dist/dist-esm/react-components/src/components/SendBox.js +24 -27
  80. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  81. package/dist/dist-esm/react-components/src/components/SystemMessage.js +1 -1
  82. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  83. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.d.ts +0 -5
  84. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.d.ts.map +1 -1
  85. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js +0 -8
  86. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  87. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.d.ts +4 -0
  88. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.d.ts.map +1 -1
  89. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +16 -2
  90. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  91. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +2 -2
  92. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts.map +1 -1
  93. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +13 -4
  94. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  95. package/dist/dist-esm/react-components/src/components/utils/common.d.ts +19 -0
  96. package/dist/dist-esm/react-components/src/components/utils/common.d.ts.map +1 -1
  97. package/dist/dist-esm/react-components/src/components/utils/common.js +30 -0
  98. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  99. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.d.ts +1 -1
  100. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.d.ts.map +1 -1
  101. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js +3 -5
  102. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  103. package/dist/dist-esm/react-components/src/index.d.ts +2 -0
  104. package/dist/dist-esm/react-components/src/index.d.ts.map +1 -1
  105. package/dist/dist-esm/react-components/src/index.js +2 -0
  106. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  107. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +37 -6
  108. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +37 -6
  109. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +3 -1
  110. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +38 -7
  111. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +37 -6
  112. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +37 -6
  113. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +37 -6
  114. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +37 -6
  115. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +37 -6
  116. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +37 -6
  117. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +37 -6
  118. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +37 -6
  119. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +37 -6
  120. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +37 -6
  121. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts +55 -0
  122. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts.map +1 -0
  123. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js +61 -0
  124. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +1 -0
  125. package/dist/dist-esm/react-components/src/permissions/index.d.ts +2 -0
  126. package/dist/dist-esm/react-components/src/permissions/index.d.ts.map +1 -0
  127. package/dist/dist-esm/react-components/src/permissions/index.js +4 -0
  128. package/dist/dist-esm/react-components/src/permissions/index.js.map +1 -0
  129. package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -0
  130. package/dist/dist-esm/react-components/src/theming/icons.d.ts.map +1 -1
  131. package/dist/dist-esm/react-components/src/theming/icons.js +8 -3
  132. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  133. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +5 -0
  134. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts.map +1 -1
  135. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +52 -9
  136. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  137. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +36 -0
  138. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts.map +1 -1
  139. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +11 -3
  140. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts.map +1 -1
  141. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +67 -23
  142. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  143. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +25 -1
  144. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts.map +1 -1
  145. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +3 -0
  146. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts.map +1 -1
  147. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +82 -9
  148. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  149. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +2 -0
  150. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts.map +1 -1
  151. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +27 -3
  152. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  153. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.d.ts +28 -0
  154. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.d.ts.map +1 -0
  155. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js +66 -0
  156. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +1 -0
  157. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts.map +1 -1
  158. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +3 -2
  159. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
  160. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +8 -0
  161. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts.map +1 -0
  162. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +26 -0
  163. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -0
  164. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.d.ts.map +1 -1
  165. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +6 -1
  166. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  167. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +1 -0
  168. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts.map +1 -1
  169. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +5 -1
  170. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  171. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts.map +1 -1
  172. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +5 -1
  173. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  174. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.d.ts +1 -0
  175. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.d.ts.map +1 -1
  176. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +3 -1
  177. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  178. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.d.ts +3 -0
  179. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.d.ts.map +1 -1
  180. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +13 -0
  181. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  182. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +3 -4
  183. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts.map +1 -1
  184. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts.map +1 -1
  185. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +2 -1
  186. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  187. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts.map +1 -1
  188. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +10 -2
  189. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
  190. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.d.ts.map +1 -1
  191. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js +30 -54
  192. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js.map +1 -1
  193. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts +3 -4
  194. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts.map +1 -1
  195. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js +3 -5
  196. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +1 -1
  197. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +14 -9
  198. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts.map +1 -1
  199. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +59 -33
  200. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  201. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +6 -2
  202. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts.map +1 -1
  203. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +7 -7
  204. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts.map +1 -1
  205. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +28 -28
  206. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  207. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts.map +1 -1
  208. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js +5 -3
  209. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +1 -1
  210. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.d.ts +1 -6
  211. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.d.ts.map +1 -1
  212. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js +0 -15
  213. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  214. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts.map +1 -1
  215. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +3 -2
  216. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  217. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.d.ts.map +1 -1
  218. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +6 -8
  219. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  220. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts +1 -1
  221. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts.map +1 -1
  222. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +7 -3
  223. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  224. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.d.ts +4 -0
  225. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.d.ts.map +1 -1
  226. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +20 -2
  227. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  228. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/ModalLocalAndRemotePIP.d.ts +1 -7
  229. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.d.ts.map +1 -0
  230. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/ModalLocalAndRemotePIP.js +1 -21
  231. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -0
  232. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/PeoplePaneContent.d.ts +4 -6
  233. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts.map +1 -0
  234. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/PeoplePaneContent.js +7 -15
  235. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -0
  236. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +12 -0
  237. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts.map +1 -0
  238. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/SidePaneHeader.js +1 -3
  239. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -0
  240. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/TabHeader.d.ts +3 -0
  241. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts.map +1 -0
  242. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/TabHeader.js +6 -7
  243. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -0
  244. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +4 -0
  245. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts.map +1 -1
  246. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  247. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.d.ts +40 -0
  248. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.d.ts.map +1 -0
  249. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +73 -0
  250. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -0
  251. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/styles/MobilePane.styles.d.ts → common/styles/Pane.styles.d.ts} +18 -2
  252. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.d.ts.map +1 -0
  253. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/styles/MobilePane.styles.js → common/styles/Pane.styles.js} +29 -1
  254. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -0
  255. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/styles/PeoplePaneContent.styles.d.ts +0 -0
  256. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.d.ts.map +1 -0
  257. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/styles/PeoplePaneContent.styles.js +0 -0
  258. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -0
  259. package/dist/dist-esm/react-composites/src/composites/common/utils.d.ts +14 -0
  260. package/dist/dist-esm/react-composites/src/composites/common/utils.d.ts.map +1 -0
  261. package/dist/dist-esm/react-composites/src/composites/common/utils.js +32 -0
  262. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -0
  263. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +10 -5
  264. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +10 -5
  265. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +22 -13
  266. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +10 -5
  267. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +10 -5
  268. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +10 -5
  269. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +10 -5
  270. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +10 -5
  271. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +10 -5
  272. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +10 -5
  273. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +10 -5
  274. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +10 -5
  275. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +10 -5
  276. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +10 -5
  277. package/package.json +11 -10
  278. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ModalLocalAndRemotePIP.d.ts.map +0 -1
  279. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ModalLocalAndRemotePIP.js.map +0 -1
  280. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeoplePaneContent.d.ts.map +0 -1
  281. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeoplePaneContent.js.map +0 -1
  282. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.d.ts +0 -9
  283. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.d.ts.map +0 -1
  284. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js.map +0 -1
  285. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/TabHeader.d.ts.map +0 -1
  286. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/TabHeader.js.map +0 -1
  287. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/MobilePane.styles.d.ts.map +0 -1
  288. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/MobilePane.styles.js.map +0 -1
  289. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/PeoplePaneContent.styles.d.ts.map +0 -1
  290. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/PeoplePaneContent.styles.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,9 +1,118 @@
1
1
  # Change Log - @azure/communication-react
2
2
 
3
- This log was last generated on Tue, 19 Apr 2022 20:46:13 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 29 Jun 2022 17:31:05 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [1.3.1-beta.1](https://github.com/azure/communication-ui-library/tree/@azure/communication-react_v1.3.1-beta.1)
8
+
9
+ Wed, 29 Jun 2022 17:31:05 GMT
10
+ [Compare changes](https://github.com/azure/communication-ui-library/compare/1.3.0...1.3.1-beta.1)
11
+
12
+ ### Features
13
+
14
+ - Add two new UFDs based on cameraStoppedUnexpectedly call diagnostic: 'callVideoStoppedBySystem','callVideoRecoveredBySystem' ([PR #1991](https://github.com/azure/communication-ui-library/pull/1991) by 2684369+JamesBurnside@users.noreply.github.com)
15
+ - Add error message for call video stopped unexpectedly and call video resumed ([PR #1991](https://github.com/azure/communication-ui-library/pull/1991) by 2684369+JamesBurnside@users.noreply.github.com)
16
+ - Add callMicrophoneUnmutedBySystem UFD and e2e tests for callMicrophoneUnmutedBySystem and callMicrophoneMutedBySystem ([PR #1994](https://github.com/azure/communication-ui-library/pull/1994) by 2684369+JamesBurnside@users.noreply.github.com)
17
+ - Update error message shown when microphoneNotFunctioning is triggered per Calling guidence([PR #1994](https://github.com/azure/communication-ui-library/pull/1994) by 2684369+JamesBurnside@users.noreply.github.com)
18
+ - Update device change events in Calling and CallWithChat Adapters : 'selectedCameraChanged', 'selectedMicrophoneChanged'
19
+ 'selectedSpeakerChanged', expose these events so that contoso can perform actions on them ([PR #1982](https://github.com/azure/communication-ui-library/pull/1982) by 94866715+dmceachernmsft@users.noreply.github.com)
20
+ - Update microphone and camera button to be disabled when there are no cameras or microphones present ([PR #1993](https://github.com/azure/communication-ui-library/pull/1993) by 2684369+JamesBurnside@users.noreply.github.com)
21
+ - Add autofocus to rejoin call button on call end page ([PR #2008](https://github.com/azure/communication-ui-library/pull/2008) by 82062616+prprabhu-ms@users.noreply.github.com)
22
+ - Add new prop onChange to dialpad to grab textfield values and modified onClickDialpadButton type to (buttonValue: string, buttonIndex: number) => void so we can grab info regarding which button is clicked ([PR #1989](https://github.com/azure/communication-ui-library/pull/1989) by carolinecao@microsoft.com)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ - Fix SendBox button for VoiceOver user on iOS so it is actionable by double tap on it ([PR #2004](https://github.com/azure/communication-ui-library/pull/2004) by miguelgamis@microsoft.com)
28
+ - Disable tooltip for Persona components for mobile users ([PR #1990](https://github.com/azure/communication-ui-library/pull/1990) by carolinecao@microsoft.com)
29
+ - Fix read receipts tooltip position issue in UI tests ([PR #2005](https://github.com/azure/communication-ui-library/pull/2005) by anjulgarg@live.com)
30
+ - Fix bug: When a developer uses the onFetchPersonaAvatarData prop for the CallWIthChat Composite to override the name of the participants, the display name in the chat thread on messages sent will not be overridden. ([PR #2013](https://github.com/azure/communication-ui-library/pull/2013) by 94866715+dmceachernmsft@users.noreply.github.com)
31
+ - Fix 'No Microphones Found' message persisting when new microphones have been reconnected ([PR #2000](https://github.com/azure/communication-ui-library/pull/2000) by 2684369+JamesBurnside@users.noreply.github.com)
32
+ - Fix loading spinner size in small containers ([PR #1995](https://github.com/azure/communication-ui-library/pull/1995) by 2684369+JamesBurnside@users.noreply.github.com)
33
+ - Add aria labels and announcer to file sharing components to make file sharing meet accessibility standards ([PR #1960](https://github.com/azure/communication-ui-library/pull/1960) by 97124699+prabhjot-msft@users.noreply.github.com)
34
+ - Update Participant pane to be an overlay on top of message thread so it can be tapped into when opened ([PR #1943](https://github.com/azure/communication-ui-library/pull/1943) by 97124699+prabhjot-msft@users.noreply.github.com)
35
+ - Fix bug where the "New Message" button was getting hidden under messages ([PR #2046](https://github.com/Azure/communication-ui-library/pull/2046) by carolinecao@microsoft.com)
36
+ - Fix bug where Chat participant pane in chat composite mobile view causing overflow ([PR #2038](https://github.com/Azure/communication-ui-library/pull/2038) by anjulgarg@live.com)
37
+ - Fix bug where Chat message thread size is wrong and shows scrollbar when a gif image is shared ([PR #2037](https://github.com/Azure/communication-ui-library/pull/2037) by anjulgarg@live.com)
38
+
39
+
40
+ ### Improvements
41
+
42
+ - Update variable name dismissSidePaneButton to dismissSidePaneButtonLabel, make some localization string variable optional ([PR #2009](https://github.com/azure/communication-ui-library/pull/2009) by 94866715+dmceachernmsft@users.noreply.github.com)
43
+ - Add 0.3rem padding to the top of the fluent message bar to create even spacing in the errorbar component between the text and the edges of the bar and add registered icon for dissmissal button. ([PR #2003](https://github.com/azure/communication-ui-library/pull/2003) by 94866715+dmceachernmsft@users.noreply.github.com)
44
+ - Add aria-live: "assertive" for announcing lobby, network failure and call end notices so screen reader users can be aware of call status change immediately([PR #2007](https://github.com/azure/communication-ui-library/pull/2007) by 82062616+prprabhu-ms@users.noreply.github.com)
45
+ - Add best practice around only allowing one instance of the sample to be open at a time on mobile ([PR #1981](https://github.com/azure/communication-ui-library/pull/1981) by 2684369+JamesBurnside@users.noreply.github.com)
46
+ - Memoizes the return from the participant list selector for better optimization. ([PR #1980](https://github.com/azure/communication-ui-library/pull/1980) by 94866715+dmceachernmsft@users.noreply.github.com)
47
+ - Update fluentui/react version ([PR #1979](https://github.com/azure/communication-ui-library/pull/1979) by carolinecao@microsoft.com)
48
+ - Update startCall handler in the Calling and CallWithChat Adapters to support the StartCallOptions parameter needed to start a PSTN Call. ([PR #1976](https://github.com/azure/communication-ui-library/pull/1976) by 94866715+dmceachernmsft@users.noreply.github.com)
49
+ - Add a new attribute `incomingCalls` to CallAgentDeclarative that returns all active incoming calls ([PR #1975](https://github.com/azure/communication-ui-library/pull/1975) by anjulgarg@live.com)
50
+
51
+
52
+ ## [1.3.0](https://github.com/azure/communication-ui-library/tree/@azure/communication-react_v1.3.0)
53
+
54
+ This stable release is mostly minor changes and bug fixes and quality of life improvements, there are no major feature introductions.
55
+
56
+ A lot of bug fixes in this stable release are related to accessibility. Fixes include improved narration from screen readers in CallWithChat composite as well as improved keyboard navigation.
57
+
58
+ Also included are updates to the video streams with new features like a loading spinner in the remote stream when the remote participants connection is loading. Available in the components now and coming soon to the composites.
59
+
60
+ Mon, 13 Jun 2022 18:29:25 GMT
61
+ [Compare changes](https://github.com/azure/communication-ui-library/compare/@azure/communication-react_v1.2.2-beta.1...@azure/communication-react_v1.3.0)
62
+
63
+ ### Minor changes
64
+ - Video Gallery supports a loading spinner to indicate a video stream is incoming but has not yet loaded. This feature will be enabled in the Composites soon. ([PR #1954](https://github.com/azure/communication-ui-library/pull/1954) by chwhilar@microsoft.com)
65
+ - Support updateScalingMode in the VideoGallery to avoid having to destroy and recreate the stream when the localVideoViewOption scaling mode is changed ([PR #1890](https://github.com/azure/communication-ui-library/pull/1890) by 2684369+JamesBurnside@users.noreply.github.com)
66
+ - Announce when microphone is turned on/off and video is turned on/off to screen readers and narrator tools ([PR #1772](https://github.com/azure/communication-ui-library/pull/1772) by 94866715+dmceachernmsft@users.noreply.github.com)
67
+
68
+ ### Patches
69
+ - Fix support for onDisposeLocalStreamView in `VideoGallery` ([PR #1866](https://github.com/azure/communication-ui-library/pull/1866) by 2684369+JamesBurnside@users.noreply.github.com)
70
+ - Fixed theming of links for html and richtext/html messages in MessageThread. ([PR #1824](https://github.com/azure/communication-ui-library/pull/1824) by miguelgamis@microsoft.com)
71
+ - Added error text color in light and dark themes in semanticColors property. ([PR #1861](https://github.com/azure/communication-ui-library/pull/1861) by 79475487+mgamis-msft@users.noreply.github.com)
72
+ - Change Microphone Contextual Menu header text to Audio Device when no speakers are detected ([PR #1883](https://github.com/azure/communication-ui-library/pull/1883) by edwardlee@microsoft.com)
73
+ - when there is no menu items, participant item should not be clickable ([PR #1844](https://github.com/azure/communication-ui-library/pull/1844) by carolinecao@microsoft.com)
74
+ - Fix inverted host element when local video plays in picture-in-picture window ([PR #1933](https://github.com/azure/communication-ui-library/pull/1933) by 82062616+prprabhu-ms@users.noreply.github.com)
75
+ - Add split button aria labels to the microphone and camera buttons. Remove the aria-role of menu from the split buttons. ([PR #1829](https://github.com/azure/communication-ui-library/pull/1829) by 94866715+dmceachernmsft@users.noreply.github.com)
76
+ - Fixed chat status not annoucing on voice over on iphone bug ([PR #1939](https://github.com/azure/communication-ui-library/pull/1939) by 96077406+carocao-msft@users.noreply.github.com)
77
+ - Delay consecutive messages in _ComplianceBanner to give user time to read the message ([PR #1878](https://github.com/azure/communication-ui-library/pull/1878) by 82062616+prprabhu-ms@users.noreply.github.com)
78
+ - Disable hover behavior when no content in sendBox ([PR #1534](https://github.com/azure/communication-ui-library/pull/1534) by jiangnanhello@live.com)
79
+ - add placeholder participant name for unnamed participants ([PR #1978](https://github.com/azure/communication-ui-library/pull/1978) by carolinecao@microsoft.com)
80
+ - Code refactor: Update remote video tile to use the useVideoStreamLifecycleMaintainer ([PR #1906](https://github.com/azure/communication-ui-library/pull/1906) by 2684369+JamesBurnside@users.noreply.github.com)
81
+ - Fix local preview in the VideoGallery not re-rendering when localVideoViewOptions property changed ([PR #1841](https://github.com/azure/communication-ui-library/pull/1841) by 2684369+JamesBurnside@users.noreply.github.com)
82
+ - Fix tab ordering of the New Messages button in the Chat Composite ([PR #1961](https://github.com/azure/communication-ui-library/pull/1961) by 2684369+JamesBurnside@users.noreply.github.com)
83
+ - Add a default host layer in base provider 1. make our lib compatible with react-full-screen 2. avoid polluting global dom tree ([PR #1950](https://github.com/azure/communication-ui-library/pull/1950) by jinan@microsoft.com)
84
+ - Refactor: Ensure the LocalAndRemotePiP reuses the same LocalVideoTile and RemoteVideoTile the VideoGallery component uses ([PR #1930](https://github.com/azure/communication-ui-library/pull/1930) by 2684369+JamesBurnside@users.noreply.github.com)
85
+ - Fix param value in callId change event ([PR #1819](https://github.com/azure/communication-ui-library/pull/1819) by jiangnanhello@live.com)
86
+ - Fixed font of LocalPreview label that indicates camera is off. ([PR #1827](https://github.com/azure/communication-ui-library/pull/1827) by 79475487+mgamis-msft@users.noreply.github.com)
87
+ - Fix a memoization in Call-based composites to prevent onRenderAvatar triggering unecessary re-renders ([PR #1935](https://github.com/azure/communication-ui-library/pull/1935) by 2684369+JamesBurnside@users.noreply.github.com)
88
+ - Update createStreamView to return the created stream view result ([PR #1891](https://github.com/azure/communication-ui-library/pull/1891) by 2684369+JamesBurnside@users.noreply.github.com)
89
+ - Fixed contextual menus in CallWithChatComposite and CallComposite to be responsive to window resize. ([PR #1800](https://github.com/azure/communication-ui-library/pull/1800) by miguelgamis@microsoft.com)
90
+ - Ensure referential ID of callwithchatcomposite is unique among call with chat instances ([PR #1869](https://github.com/azure/communication-ui-library/pull/1869) by 2684369+JamesBurnside@users.noreply.github.com)
91
+ - Introduce tests to support new custom data model behaviors. ([PR #1836](https://github.com/azure/communication-ui-library/pull/1836) by 94866715+dmceachernmsft@users.noreply.github.com)
92
+ - Introduce the usage of the adapters error handling to the fetchInitialData function. ([PR #1845](https://github.com/azure/communication-ui-library/pull/1845) by 94866715+dmceachernmsft@users.noreply.github.com)
93
+ - Fix whole app re-render when callId changes ([PR #1820](https://github.com/azure/communication-ui-library/pull/1820) by jiangnanhello@live.com)
94
+ - Fix the display name of the remote participants when they provide onFetchAvatarPersonaData prop. ([PR #1822](https://github.com/azure/communication-ui-library/pull/1822) by 94866715+dmceachernmsft@users.noreply.github.com)
95
+ - Change Microphone Contextual Menu header text to Audio Device when no speakers are detected ([PR #1883](https://github.com/azure/communication-ui-library/pull/1883) by edwardlee@microsoft.com)
96
+ - Remove spurius console log ([PR #1451](https://github.com/azure/communication-ui-library/pull/1451) by 82062616+prprabhu-ms@users.noreply.github.com)
97
+ - update storybook to v6.5.7 ([PR #1972](https://github.com/azure/communication-ui-library/pull/1972) by 2684369+JamesBurnside@users.noreply.github.com)
98
+ - Fix video freeze in LocalPreview story ([PR #1949](https://github.com/azure/communication-ui-library/pull/1949) by 82062616+prprabhu-ms@users.noreply.github.com)
99
+ - Resolve icon centering on SendBox storybook examples ([PR #1833](https://github.com/azure/communication-ui-library/pull/1833) by edwardlee@microsoft.com)
100
+ - patched error on storybook participant item not showing name ([PR #1844](https://github.com/azure/communication-ui-library/pull/1844) by carolinecao@microsoft.com)
101
+ - Add Best Practices documentation to Storybook ([PR #1970](https://github.com/azure/communication-ui-library/pull/1970) by 2684369+JamesBurnside@users.noreply.github.com)
102
+ - Add default replacer to do safe stringify ([PR #1921](https://github.com/azure/communication-ui-library/pull/1921) by jinan@microsoft.com)
103
+ - Update VideoGallery bindings to return the created view when starting a local video stream ([PR #1891](https://github.com/azure/communication-ui-library/pull/1891) by 2684369+JamesBurnside@users.noreply.github.com)
104
+ - When participant doesnt have a name, set the name to unnamed participant ([PR #1978](https://github.com/azure/communication-ui-library/pull/1978) by carolinecao@microsoft.com)
105
+ - Fix Calling handler to correctly dispose a local view when view is attached to a call ([PR #1867](https://github.com/azure/communication-ui-library/pull/1867) by 2684369+JamesBurnside@users.noreply.github.com)
106
+ - Support calling `updateScalingMode` in the Video Gallery with remote video streams instead of recreating the stream when the scaling mode changes ([PR #1907](https://github.com/azure/communication-ui-library/pull/1907) by 2684369+JamesBurnside@users.noreply.github.com)
107
+ - Fixed onCreateLocalStreamView handler default videostream options to be cropped and mirrored. ([PR #1909](https://github.com/azure/communication-ui-library/pull/1909) by miguelgamis@microsoft.com)
108
+ - Return the renderer and view created when statefulCallClient.createView is called ([PR #1889](https://github.com/azure/communication-ui-library/pull/1889) by 2684369+JamesBurnside@users.noreply.github.com)
109
+ - Add callIdHistory to context + internal context - Update all visit to callId using latestCallId - Encapsule the access to internalMap directly to ensure no leaks ([PR #1817](https://github.com/azure/communication-ui-library/pull/1817) by jiangnanhello@live.com)
110
+ - Update the right call.id into state ([PR #1818](https://github.com/azure/communication-ui-library/pull/1818) by jiangnanhello@live.com)
111
+ - Remove dependency on azure/communication-signalling, instead use types from azure/communication-chat ([PR #1895](https://github.com/azure/communication-ui-library/pull/1895) by 2684369+JamesBurnside@users.noreply.github.com)
112
+ - Only emit stateChanged events where there is an actual change ([PR #1449](https://github.com/azure/communication-ui-library/pull/1449) by 82062616+prprabhu-ms@users.noreply.github.com)
113
+
114
+
115
+
7
116
  ## [1.2.2-beta.1](https://github.com/azure/communication-ui-library/tree/@azure/communication-react_v1.2.2-beta.1)
8
117
 
9
118
  Tue, 19 Apr 2022 20:46:13 GMT
@@ -71,9 +71,11 @@ import { PersonaPresence } from '@fluentui/react';
71
71
  import { PersonaSize } from '@fluentui/react';
72
72
  import { PhoneNumberIdentifier } from '@azure/communication-common';
73
73
  import { PhoneNumberKind } from '@azure/communication-common';
74
+ import { PropertyChangedEvent } from '@azure/communication-calling';
74
75
  import { default as React_2 } from 'react';
75
76
  import type { RemoteParticipant } from '@azure/communication-calling';
76
77
  import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
78
+ import { RoomCallLocator } from '@azure/communication-calling';
77
79
  import { ScalingMode } from '@azure/communication-calling';
78
80
  import { SendMessageOptions } from '@azure/communication-chat';
79
81
  import { StartCallOptions } from '@azure/communication-calling';
@@ -253,6 +255,7 @@ export declare type AzureCommunicationCallAdapterArgs = {
253
255
  displayName: string;
254
256
  credential: CommunicationTokenCredential;
255
257
  locator: CallAdapterLocator;
258
+ alternateCallerId?: string;
256
259
  };
257
260
 
258
261
  /**
@@ -266,6 +269,7 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
266
269
  displayName: string;
267
270
  credential: CommunicationTokenCredential;
268
271
  locator: CallAndChatLocator | TeamsMeetingLinkLocator;
272
+ alternateCallerId?: string;
269
273
  };
270
274
 
271
275
  /**
@@ -326,6 +330,10 @@ export declare interface BaseCompositeProps<TIcons extends Record<string, JSX.El
326
330
  /**
327
331
  * A callback function that can be used to provide custom data to Avatars rendered
328
332
  * in Composite.
333
+ *
334
+ * This will not affect the displayName shown in the composite.
335
+ * The displayName throughout the composite will be what is provided to the adapter when the adapter is created.
336
+ * will be what is provided to the adapter when the adapter is created.
329
337
  */
330
338
  onFetchAvatarPersonaData?: AvatarPersonaDataCallback;
331
339
  /**
@@ -491,6 +499,10 @@ export declare type CallAdapterClientState = {
491
499
  * Latest error encountered for each operation performed via the adapter.
492
500
  */
493
501
  latestErrors: AdapterErrors;
502
+ /**
503
+ * Azure communications Phone number to make PSTN calls with.
504
+ */
505
+ alternateCallerId?: string;
494
506
  };
495
507
 
496
508
  /**
@@ -575,7 +587,7 @@ export declare interface CallAdapterDeviceManagement {
575
587
  *
576
588
  * @public
577
589
  */
578
- export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
590
+ export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
579
591
 
580
592
  /**
581
593
  * {@link CallAdapter} state.
@@ -636,6 +648,18 @@ export declare interface CallAdapterSubscribers {
636
648
  * This event fires whenever there is a change in user facing diagnostics about the ongoing call.
637
649
  */
638
650
  on(event: 'diagnosticChanged', listener: DiagnosticChangedEventListner): void;
651
+ /**
652
+ * Subscribe function for 'selectedMicrophoneChanged' event.
653
+ *
654
+ * This event fires whenever the user selects a new microphone device.
655
+ */
656
+ on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
657
+ /**
658
+ * Subscribe function for 'selectedSpeakerChanged' event.
659
+ *
660
+ * This event fires whenever the user selects a new speaker device.
661
+ */
662
+ on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
639
663
  /**
640
664
  * Subscribe function for 'error' event.
641
665
  */
@@ -676,6 +700,14 @@ export declare interface CallAdapterSubscribers {
676
700
  * Unsubscribe function for 'diagnosticChanged' event.
677
701
  */
678
702
  off(event: 'diagnosticChanged', listener: DiagnosticChangedEventListner): void;
703
+ /**
704
+ * Unsubscribe function for 'selectedMicrophoneChanged' event.
705
+ */
706
+ off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
707
+ /**
708
+ * Unsubscribe function for 'selectedSpeakerChanged' event.
709
+ */
710
+ off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
679
711
  /**
680
712
  * Unsubscribe function for 'error' event.
681
713
  */
@@ -820,6 +852,12 @@ export declare interface CallClientState {
820
852
  * See documentation of {@Link CallErrors} for details.
821
853
  */
822
854
  latestErrors: CallErrors;
855
+ /**
856
+ * A phone number in E.164 format that will be used to represent callers identity.
857
+ * For example, using the alternateCallerId to add a participant using PSTN, this number will
858
+ * be used as the caller id in the PSTN call.
859
+ */
860
+ alternateCallerId?: string;
823
861
  }
824
862
 
825
863
  /**
@@ -859,6 +897,7 @@ export declare type CallCompositeIcons = {
859
897
  ErrorBarCallNetworkQualityLow?: JSX.Element;
860
898
  ErrorBarCallNoMicrophoneFound?: JSX.Element;
861
899
  ErrorBarCallNoSpeakerFound?: JSX.Element;
900
+ ErrorBarClear?: JSX.Element;
862
901
  HorizontalGalleryLeftButton?: JSX.Element;
863
902
  HorizontalGalleryRightButton?: JSX.Element;
864
903
  LobbyScreenConnectingToCall?: JSX.Element;
@@ -937,6 +976,10 @@ export declare interface CallCompositeProps extends BaseCompositeProps<CallCompo
937
976
  * Flags to enable/disable or customize UI elements of the {@link CallComposite}.
938
977
  */
939
978
  options?: CallCompositeOptions;
979
+ /**
980
+ * Set this to enable/disable capacities for different roles
981
+ */
982
+ role?: Role;
940
983
  }
941
984
 
942
985
  /**
@@ -1111,6 +1154,42 @@ export declare interface CallCompositeStrings {
1111
1154
  * Tooltip text used to inform a user that toggling microphone in lobby is not supported.
1112
1155
  */
1113
1156
  microphoneToggleInLobbyNotAllowed: string;
1157
+ /**
1158
+ * Side pane People section Title.
1159
+ */
1160
+ peoplePaneTitle: string;
1161
+ /**
1162
+ * Aria label string for return to call back button
1163
+ */
1164
+ returnToCallButtonAriaLabel?: string;
1165
+ /**
1166
+ * Aria Description string for return to call button
1167
+ */
1168
+ returnToCallButtonAriaDescription?: string;
1169
+ /**
1170
+ * control bar People button label
1171
+ */
1172
+ peopleButtonLabel: string;
1173
+ /**
1174
+ * control bar Chat button label.
1175
+ */
1176
+ chatButtonLabel: string;
1177
+ /**
1178
+ * Label for SidePaneHeader dismiss button
1179
+ */
1180
+ dismissSidePaneButtonLabel?: string;
1181
+ /**
1182
+ * Side pane People section subheader.
1183
+ */
1184
+ peoplePaneSubTitle: string;
1185
+ /**
1186
+ * Label for button to copy invite link
1187
+ */
1188
+ copyInviteLinkButtonLabel: string;
1189
+ /**
1190
+ * Label for menu item to remove participant
1191
+ */
1192
+ removeMenuLabel: string;
1114
1193
  }
1115
1194
 
1116
1195
  /**
@@ -1239,7 +1318,7 @@ export declare type CallErrors = {
1239
1318
  *
1240
1319
  * @public
1241
1320
  */
1242
- 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';
1321
+ export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.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';
1243
1322
 
1244
1323
  /**
1245
1324
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -1740,6 +1819,8 @@ export declare interface CallWithChatAdapterSubscriptions {
1740
1819
  on(event: 'isSpeakingChanged', listener: IsSpeakingChangedListener): void;
1741
1820
  on(event: 'callParticipantsJoined', listener: ParticipantsJoinedListener): void;
1742
1821
  on(event: 'callParticipantsLeft', listener: ParticipantsLeftListener): void;
1822
+ on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
1823
+ on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
1743
1824
  on(event: 'callError', listener: (e: AdapterError) => void): void;
1744
1825
  off(event: 'callEnded', listener: CallEndedListener): void;
1745
1826
  off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
@@ -1749,6 +1830,8 @@ export declare interface CallWithChatAdapterSubscriptions {
1749
1830
  off(event: 'isSpeakingChanged', listener: IsSpeakingChangedListener): void;
1750
1831
  off(event: 'callParticipantsJoined', listener: ParticipantsJoinedListener): void;
1751
1832
  off(event: 'callParticipantsLeft', listener: ParticipantsLeftListener): void;
1833
+ off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
1834
+ off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
1752
1835
  off(event: 'callError', listener: (e: AdapterError) => void): void;
1753
1836
  on(event: 'messageReceived', listener: MessageReceivedListener): void;
1754
1837
  on(event: 'messageSent', listener: MessageSentListener): void;
@@ -1858,6 +1941,7 @@ export declare type CallWithChatCompositeIcons = {
1858
1941
  ErrorBarCallNetworkQualityLow?: JSX.Element;
1859
1942
  ErrorBarCallNoMicrophoneFound?: JSX.Element;
1860
1943
  ErrorBarCallNoSpeakerFound?: JSX.Element;
1944
+ ErrorBarClear?: JSX.Element;
1861
1945
  HorizontalGalleryLeftButton?: JSX.Element;
1862
1946
  HorizontalGalleryRightButton?: JSX.Element;
1863
1947
  LobbyScreenConnectingToCall?: JSX.Element;
@@ -2111,7 +2195,7 @@ export declare interface CallWithChatControlOptions {
2111
2195
  *
2112
2196
  * @public
2113
2197
  */
2114
- export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2198
+ export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2115
2199
 
2116
2200
  /**
2117
2201
  * A button to turn camera on / off.
@@ -3298,7 +3382,7 @@ export declare interface ControlBarProps {
3298
3382
  *
3299
3383
  * @public
3300
3384
  */
3301
- export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
3385
+ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
3302
3386
 
3303
3387
  /**
3304
3388
  * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
@@ -3316,7 +3400,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
3316
3400
  *
3317
3401
  * @public
3318
3402
  */
3319
- export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
3403
+ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
3320
3404
 
3321
3405
  /**
3322
3406
  * Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
@@ -3498,10 +3582,10 @@ export declare interface CustomCallControlButtonProps extends CustomControlButto
3498
3582
  */
3499
3583
  placement: CustomCallControlButtonPlacement;
3500
3584
  /**
3501
- * Icon to render. Icon is a non-default icon that is already registered by the composites.
3502
- * Examples include icons from {@link CallCompositeIcons}
3585
+ * Icon to render. Icon is a non-default icon name that needs to be registered as a
3586
+ * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
3503
3587
  */
3504
- iconName?: keyof CallCompositeIcons;
3588
+ iconName?: string;
3505
3589
  }
3506
3590
 
3507
3591
  /**
@@ -3543,10 +3627,10 @@ export declare interface CustomCallWithChatControlButtonProps extends CustomCont
3543
3627
  */
3544
3628
  placement: CustomCallWithChatControlButtonPlacement;
3545
3629
  /**
3546
- * Icon to render. Icon is a non-default icon that is already registered by the composites.
3547
- * Examples include icons from {@link CallWithChatCompositeIcons}
3630
+ * Icon to render. Icon is a non-default icon name that needs to be registered as a
3631
+ * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
3548
3632
  */
3549
- iconName?: keyof CallWithChatCompositeIcons;
3633
+ iconName?: string;
3550
3634
  }
3551
3635
 
3552
3636
  /**
@@ -3650,6 +3734,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3650
3734
  ErrorBarCallNetworkQualityLow: JSX.Element;
3651
3735
  ErrorBarCallNoMicrophoneFound: JSX.Element;
3652
3736
  ErrorBarCallNoSpeakerFound: JSX.Element;
3737
+ ErrorBarClear: JSX.Element;
3653
3738
  ErrorBarCallVideoRecoveredBySystem: JSX.Element;
3654
3739
  ErrorBarCallVideoStoppedBySystem: JSX.Element;
3655
3740
  HorizontalGalleryLeftButton: JSX.Element;
@@ -3673,6 +3758,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3673
3758
  SendBoxSend: JSX.Element;
3674
3759
  SendBoxSendHovered: JSX.Element;
3675
3760
  VideoTileMicOff: JSX.Element;
3761
+ BackSpace: JSX.Element;
3676
3762
  };
3677
3763
 
3678
3764
  /**
@@ -3714,6 +3800,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3714
3800
  ErrorBarCallNetworkQualityLow: JSX.Element;
3715
3801
  ErrorBarCallNoMicrophoneFound: JSX.Element;
3716
3802
  ErrorBarCallNoSpeakerFound: JSX.Element;
3803
+ ErrorBarClear: JSX.Element;
3717
3804
  HorizontalGalleryLeftButton: JSX.Element;
3718
3805
  HorizontalGalleryRightButton: JSX.Element;
3719
3806
  LobbyScreenConnectingToCall?: JSX.Element | undefined;
@@ -3753,6 +3840,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3753
3840
  MessageResend: JSX.Element;
3754
3841
  HoldCall: JSX.Element;
3755
3842
  ResumeCall: JSX.Element;
3843
+ BackSpace: JSX.Element;
3756
3844
  };
3757
3845
 
3758
3846
  /**
@@ -4016,6 +4104,7 @@ export declare interface DialpadProps {
4016
4104
  */
4017
4105
  export declare interface DialpadStrings {
4018
4106
  placeholderText: string;
4107
+ deleteButtonAriaLabel: string;
4019
4108
  }
4020
4109
 
4021
4110
  /**
@@ -4029,6 +4118,7 @@ export declare interface DialpadStyles {
4029
4118
  textField?: Partial<ITextFieldStyles>;
4030
4119
  primaryContent?: IStyle;
4031
4120
  secondaryContent?: IStyle;
4121
+ deleteIcon?: IButtonStyles;
4032
4122
  }
4033
4123
 
4034
4124
  /**
@@ -5281,6 +5371,8 @@ export declare interface MessageThreadStrings {
5281
5371
  failToSendTag?: string;
5282
5372
  /** String for LiveMessage introduction for the Chat Message */
5283
5373
  liveAuthorIntro: string;
5374
+ /** String for aria text of message content */
5375
+ messageContentAriaText: string;
5284
5376
  /** String for warning on text limit exceeded in EditBox*/
5285
5377
  editBoxTextLimit: string;
5286
5378
  /** String for placeholder text in EditBox when there is no user input*/
@@ -5998,6 +6090,11 @@ export declare interface RemoteVideoStreamState {
5998
6090
  view?: VideoStreamRendererViewState;
5999
6091
  }
6000
6092
 
6093
+ /**
6094
+ * @beta
6095
+ */
6096
+ export declare type Role = 'Presenter' | 'Attendee' | 'Consumer';
6097
+
6001
6098
  /**
6002
6099
  * A button to start / stop screen sharing.
6003
6100
  *
@@ -6031,6 +6128,7 @@ export declare interface ScreenShareButtonProps extends ControlBarButtonProps {
6031
6128
  */
6032
6129
  export declare type ScreenShareButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
6033
6130
  checked?: boolean;
6131
+ disabled?: boolean;
6034
6132
  };
6035
6133
 
6036
6134
  /**
@@ -6352,6 +6450,15 @@ export declare type StatefulCallClientArgs = {
6352
6450
  * state. It is not used by StatefulCallClient.
6353
6451
  */
6354
6452
  userId: CommunicationUserIdentifier;
6453
+ /**
6454
+ * A phone number in E.164 format that will be used to represent the callers identity. This number is required
6455
+ * to start a PSTN call.
6456
+ *
6457
+ * example: +11234567
6458
+ *
6459
+ * This is not a cached value from the headless calling client.
6460
+ */
6461
+ alternateCallerId?: string;
6355
6462
  };
6356
6463
 
6357
6464
  /**