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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/CHANGELOG.json +1260 -0
  2. package/CHANGELOG.md +110 -1
  3. package/dist/communication-react.d.ts +30 -1
  4. package/dist/dist-cjs/communication-react/index.js +76 -32
  5. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  8. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts.map +1 -1
  9. package/dist/dist-esm/react-components/src/components/ErrorBar.js +16 -1
  10. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  11. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts.map +1 -1
  12. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +7 -2
  13. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  14. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +45 -7
  15. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +45 -7
  16. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +46 -8
  17. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +45 -7
  18. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +45 -7
  19. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +45 -7
  20. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +45 -7
  21. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +45 -7
  22. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +45 -7
  23. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +45 -7
  24. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +45 -7
  25. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +45 -7
  26. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +45 -7
  27. package/dist/dist-esm/react-components/src/theming/icons.d.ts +1 -0
  28. package/dist/dist-esm/react-components/src/theming/icons.d.ts.map +1 -1
  29. package/dist/dist-esm/react-components/src/theming/icons.js +3 -2
  30. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  31. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +6 -1
  32. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts.map +1 -1
  33. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +10 -0
  34. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  35. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +21 -1
  36. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts.map +1 -1
  37. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +5 -1
  38. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts.map +1 -1
  39. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +12 -0
  40. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  41. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +6 -2
  42. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts.map +1 -1
  43. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts.map +1 -1
  44. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -1
  45. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  46. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +3 -0
  47. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts.map +1 -1
  48. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  49. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +12 -6
  50. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +12 -6
  51. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +12 -6
  52. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +12 -6
  53. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +12 -6
  54. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +12 -6
  55. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +12 -6
  56. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +12 -6
  57. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +12 -6
  58. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +12 -6
  59. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +12 -6
  60. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +12 -6
  61. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +12 -6
  62. package/package.json +10 -10
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,6 +71,7 @@ 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';
@@ -636,6 +637,18 @@ export declare interface CallAdapterSubscribers {
636
637
  * This event fires whenever there is a change in user facing diagnostics about the ongoing call.
637
638
  */
638
639
  on(event: 'diagnosticChanged', listener: DiagnosticChangedEventListner): void;
640
+ /**
641
+ * Subscribe function for 'selectedMicrophoneChanged' event.
642
+ *
643
+ * This event fires whenever the user selects a new microphone device.
644
+ */
645
+ on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
646
+ /**
647
+ * Subscribe function for 'selectedSpeakerChanged' event.
648
+ *
649
+ * This event fires whenever the user selects a new speaker device.
650
+ */
651
+ on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
639
652
  /**
640
653
  * Subscribe function for 'error' event.
641
654
  */
@@ -676,6 +689,14 @@ export declare interface CallAdapterSubscribers {
676
689
  * Unsubscribe function for 'diagnosticChanged' event.
677
690
  */
678
691
  off(event: 'diagnosticChanged', listener: DiagnosticChangedEventListner): void;
692
+ /**
693
+ * Unsubscribe function for 'selectedMicrophoneChanged' event.
694
+ */
695
+ off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
696
+ /**
697
+ * Unsubscribe function for 'selectedSpeakerChanged' event.
698
+ */
699
+ off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
679
700
  /**
680
701
  * Unsubscribe function for 'error' event.
681
702
  */
@@ -859,6 +880,7 @@ export declare type CallCompositeIcons = {
859
880
  ErrorBarCallNetworkQualityLow?: JSX.Element;
860
881
  ErrorBarCallNoMicrophoneFound?: JSX.Element;
861
882
  ErrorBarCallNoSpeakerFound?: JSX.Element;
883
+ ErrorBarClear?: JSX.Element;
862
884
  HorizontalGalleryLeftButton?: JSX.Element;
863
885
  HorizontalGalleryRightButton?: JSX.Element;
864
886
  LobbyScreenConnectingToCall?: JSX.Element;
@@ -1740,6 +1762,8 @@ export declare interface CallWithChatAdapterSubscriptions {
1740
1762
  on(event: 'isSpeakingChanged', listener: IsSpeakingChangedListener): void;
1741
1763
  on(event: 'callParticipantsJoined', listener: ParticipantsJoinedListener): void;
1742
1764
  on(event: 'callParticipantsLeft', listener: ParticipantsLeftListener): void;
1765
+ on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
1766
+ on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
1743
1767
  on(event: 'callError', listener: (e: AdapterError) => void): void;
1744
1768
  off(event: 'callEnded', listener: CallEndedListener): void;
1745
1769
  off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
@@ -1749,6 +1773,8 @@ export declare interface CallWithChatAdapterSubscriptions {
1749
1773
  off(event: 'isSpeakingChanged', listener: IsSpeakingChangedListener): void;
1750
1774
  off(event: 'callParticipantsJoined', listener: ParticipantsJoinedListener): void;
1751
1775
  off(event: 'callParticipantsLeft', listener: ParticipantsLeftListener): void;
1776
+ off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
1777
+ off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
1752
1778
  off(event: 'callError', listener: (e: AdapterError) => void): void;
1753
1779
  on(event: 'messageReceived', listener: MessageReceivedListener): void;
1754
1780
  on(event: 'messageSent', listener: MessageSentListener): void;
@@ -1858,6 +1884,7 @@ export declare type CallWithChatCompositeIcons = {
1858
1884
  ErrorBarCallNetworkQualityLow?: JSX.Element;
1859
1885
  ErrorBarCallNoMicrophoneFound?: JSX.Element;
1860
1886
  ErrorBarCallNoSpeakerFound?: JSX.Element;
1887
+ ErrorBarClear?: JSX.Element;
1861
1888
  HorizontalGalleryLeftButton?: JSX.Element;
1862
1889
  HorizontalGalleryRightButton?: JSX.Element;
1863
1890
  LobbyScreenConnectingToCall?: JSX.Element;
@@ -2111,7 +2138,7 @@ export declare interface CallWithChatControlOptions {
2111
2138
  *
2112
2139
  * @public
2113
2140
  */
2114
- export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2141
+ export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2115
2142
 
2116
2143
  /**
2117
2144
  * A button to turn camera on / off.
@@ -3650,6 +3677,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3650
3677
  ErrorBarCallNetworkQualityLow: JSX.Element;
3651
3678
  ErrorBarCallNoMicrophoneFound: JSX.Element;
3652
3679
  ErrorBarCallNoSpeakerFound: JSX.Element;
3680
+ ErrorBarClear: JSX.Element;
3653
3681
  ErrorBarCallVideoRecoveredBySystem: JSX.Element;
3654
3682
  ErrorBarCallVideoStoppedBySystem: JSX.Element;
3655
3683
  HorizontalGalleryLeftButton: JSX.Element;
@@ -3714,6 +3742,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3714
3742
  ErrorBarCallNetworkQualityLow: JSX.Element;
3715
3743
  ErrorBarCallNoMicrophoneFound: JSX.Element;
3716
3744
  ErrorBarCallNoSpeakerFound: JSX.Element;
3745
+ ErrorBarClear: JSX.Element;
3717
3746
  HorizontalGalleryLeftButton: JSX.Element;
3718
3747
  HorizontalGalleryRightButton: JSX.Element;
3719
3748
  LobbyScreenConnectingToCall?: JSX.Element | undefined;