@azure/communication-react 1.3.2-alpha-202210051728 → 1.3.2-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.
- package/CHANGELOG.json +1626 -0
- package/CHANGELOG.md +107 -1
- package/dist/communication-react.d.ts +0 -241
- package/dist/dist-cjs/communication-react/index.js +239 -562
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +0 -6
- package/dist/dist-esm/communication-react/src/index.js +0 -6
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +3 -2
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +0 -4
- package/dist/dist-esm/react-components/src/components/index.js +0 -4
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +0 -6
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +36 -8
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +44 -16
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +35 -7
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +40 -12
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +41 -13
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +44 -16
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +37 -9
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +35 -7
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +44 -16
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +38 -10
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +44 -16
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +38 -10
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +37 -9
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -4
- package/dist/dist-esm/react-components/src/theming/icons.js +1 -62
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +0 -58
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +2 -26
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +8 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +8 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.js +0 -37
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.js +0 -40
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +0 -16
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +12 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +8 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +0 -37
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +11 -10
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +0 -4
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +54 -14
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +54 -14
- package/package.json +10 -10
- package/dist/dist-esm/react-components/src/components/DomainPermissions.d.ts +0 -45
- package/dist/dist-esm/react-components/src/components/DomainPermissions.js +0 -42
- package/dist/dist-esm/react-components/src/components/DomainPermissions.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.d.ts +0 -32
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +0 -33
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.d.ts +0 -30
- package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js +0 -72
- package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.styles.d.ts +0 -22
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.styles.js +0 -53
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.styles.js.map +0 -1
package/CHANGELOG.md
CHANGED
@@ -1,9 +1,115 @@
|
|
1
1
|
# Change Log - @azure/communication-react
|
2
2
|
|
3
|
-
This log was last generated on Wed,
|
3
|
+
This log was last generated on Wed, 05 Oct 2022 18:13:37 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [1.3.2-beta.1](https://github.com/azure/communication-ui-library/tree/@azure/communication-react_v1.3.2-beta.1)
|
8
|
+
|
9
|
+
Wed, 05 Oct 2022 18:13:37 GMT
|
10
|
+
[Compare changes](https://github.com/azure/communication-ui-library/compare/@azure/communication-react_v1.3.1-beta.1...@azure/communication-react_v1.3.2-beta.1)
|
11
|
+
|
12
|
+
### Rooms - Public Preview
|
13
|
+
Azure Communication Services now supports Rooms in public preview. You can use our CallComposite experience for your users to interact with your Rooms-based calls. Rooms allows our customers to create calls with specific users and the ability to
|
14
|
+
modify their users' calling experience with a variety of role based access control.
|
15
|
+
|
16
|
+
You can read more about [rooms concept here](https://learn.microsoft.com/en-us/azure/communication-services/concepts/rooms/room-concept).
|
17
|
+
|
18
|
+
You can apply a Rooms locator in the adapter similar to how you
|
19
|
+
can join a group call using a locator in the adapter + composite.
|
20
|
+
|
21
|
+
`roomId = 99466313975086563 // example roomId`
|
22
|
+
|
23
|
+
`locator: { 'roomId': roomId }`
|
24
|
+
|
25
|
+
Checkout our [storybook](https://azure.github.io/communication-ui-library) to read more about what the UI Library offers into your Rooms experience.
|
26
|
+
|
27
|
+
If you would like to clone a repo and get started immediately.
|
28
|
+
Check out our quickstarts repo in Github [JS Quickstarts](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/ui-library-quickstart-rooms "JS Quickstarts")
|
29
|
+
|
30
|
+
### PSTN and 1:N Calling - Public Preview
|
31
|
+
ACS UI Library Call and CallWithChat composites are introducing two new capabilities (beta):
|
32
|
+
1. PSTN Outbound Calling
|
33
|
+
2. ACS 1:N Outbound Calling
|
34
|
+
|
35
|
+
Users will now be able to:
|
36
|
+
- Call a phone number through the existing Call and CallWithChat composites
|
37
|
+
- Call a phone number and add it to an ongoing call
|
38
|
+
- Put the call on hold during a phone or ACS call
|
39
|
+
- Send DTMF tones during a 1:1 phone call
|
40
|
+
|
41
|
+
Read more about [getting a phone number](https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/telephony/get-phone-number?tabs=windows&pivots=platform-azp) through Azure Communication Services.
|
42
|
+
|
43
|
+
If you would like to clone a repo and get started immediately.
|
44
|
+
Check out our quickstarts repo in Github [JS Quickstarts](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/ui-library-pstn-1-n-calling "JS Quickstarts")
|
45
|
+
|
46
|
+
### Features
|
47
|
+
- Call adapter can join a room ([PR #2063](https://github.com/azure/communication-ui-library/pull/2063) by miguelgamis@microsoft.com)
|
48
|
+
- CallComposite will not request for camera permissions when the role prop is Consumer during a Rooms call. ([PR #2218](https://github.com/azure/communication-ui-library/pull/2218) by miguelgamis@microsoft.com)
|
49
|
+
- VideoGallery displays participants connection states such as Connecting, Hold etc. during PSTN and 1:N Calls ([PR #2210](https://github.com/azure/communication-ui-library/pull/2210) by anjulgarg@live.com)
|
50
|
+
- Custom composite end call screens when room call join fails when room does not exist or user is not invited to room. ([PR #2287](https://github.com/azure/communication-ui-library/pull/2287) by miguelgamis@microsoft.com)
|
51
|
+
- Add role permission behavior to PeopleButton. ([PR #2211](https://github.com/azure/communication-ui-library/pull/2211) by miguelgamis@microsoft.com)
|
52
|
+
- People pane context menu to remove participant will be present only if role has permissions. ([PR #2328](https://github.com/azure/communication-ui-library/pull/2328) by miguelgamis@microsoft.com)
|
53
|
+
- Created dropdown in people pane to open dialpad modal ([PR #2076](https://github.com/azure/communication-ui-library/pull/2076) by carolinecao@microsoft.com)
|
54
|
+
- Use dialpad to send DTMF tones during a 1:1 PSTN Call ([PR #2196](https://github.com/azure/communication-ui-library/pull/2196) by carolinecao@microsoft.com)
|
55
|
+
- Introduce hold button to CallWithChat composite ([PR #2213](https://github.com/azure/communication-ui-library/pull/2213) by 94866715+dmceachernmsft@users.noreply.github.com)
|
56
|
+
- Hiding ScreenShareButton, MicrophoneButton, CameraButton, and DevicesButton in CallControls based on rooms role permissions. ([PR #2303](https://github.com/azure/communication-ui-library/pull/2303) by miguelgamis@microsoft.com)
|
57
|
+
- Introduced a Hold screen to the Calling composite to reflect when the user is on hold in a call. ([PR #2202](https://github.com/azure/communication-ui-library/pull/2202) by 94866715+dmceachernmsft@users.noreply.github.com)
|
58
|
+
- Introduce the alternateCallerId prop to the createAzureCommunicationCallAdapter function for setting up PSTN Calling. ([PR #2095](https://github.com/azure/communication-ui-library/pull/2095) by 94866715+dmceachernmsft@users.noreply.github.com)
|
59
|
+
- Calling and CallWithChat control bars disable buttons when on hold screen. ([PR #2215](https://github.com/azure/communication-ui-library/pull/2215) by 94866715+dmceachernmsft@users.noreply.github.com)
|
60
|
+
- New PeoplePaneContent in Call Composite matching the one used by CallWithChat Composite ([PR #2109](https://github.com/azure/communication-ui-library/pull/2109) by edwardlee@microsoft.com)
|
61
|
+
- Show 'You Left the Call' screen when you remove the last PSTN user. Show 'You were removed' screen when a PSTN user hangs up the call. ([PR #2295](https://github.com/azure/communication-ui-library/pull/2295) by anjulgarg@live.com)
|
62
|
+
- Add remove participant menu item for participant item if role allows in a rooms call. ([PR #2328](https://github.com/azure/communication-ui-library/pull/2328) by miguelgamis@microsoft.com)
|
63
|
+
- VideoTile can display a participants state such as Connecting, Ringing etc. ([PR #2210](https://github.com/azure/communication-ui-library/pull/2210) by anjulgarg@live.com)
|
64
|
+
- Update Video Gallery to display participants in a 'Connecting' or 'Ringing' state for PSTN and 1:N calling. ([PR #2163](https://github.com/azure/communication-ui-library/pull/2163) by 94866715+dmceachernmsft@users.noreply.github.com)
|
65
|
+
- Introduce UI for call isntances where the browser is unsupported ([PR #2334](https://github.com/azure/communication-ui-library/pull/2334) by 94866715+dmceachernmsft@users.noreply.github.com)
|
66
|
+
- Error bar displays troubleshooting links for network/device permission errors ([PR #2345](https://github.com/azure/communication-ui-library/pull/2345) by carolinecao@microsoft.com)
|
67
|
+
|
68
|
+
### Bug Fixes
|
69
|
+
- Fix custom participant menu items not showing in CallComposite([PR #2154](https://github.com/azure/communication-ui-library/pull/2154) by prprabhu@microsoft.com)
|
70
|
+
- Fix scrollbar showing incorrectly in landscape mobile view due to absolutely positioned participant pane in Chat Composite ([PR #2038](https://github.com/azure/communication-ui-library/pull/2038) by anjulgarg@live.com)
|
71
|
+
- Fix Participants and ScreenShare buttons being disabled when unrelated options are passed into the call composite ([PR #2181](https://github.com/azure/communication-ui-library/pull/2181) by 2684369+JamesBurnside@users.noreply.github.com)
|
72
|
+
- Fixes issue where you can start a call if you unplug it on the configuration screen. ([PR #2061](https://github.com/azure/communication-ui-library/pull/2061) by 94866715+dmceachernmsft@users.noreply.github.com)
|
73
|
+
- Fix custom menu items being triggered as a flyout and as a drawer menu item on mobile. Fix custom menu items not triggering on callwithchat composite at all. ([PR #2239](https://github.com/azure/communication-ui-library/pull/2239) by 2684369+JamesBurnside@users.noreply.github.com)
|
74
|
+
- Fix React hook order console errors for LocalDeviceSettings. ([PR #2198](https://github.com/azure/communication-ui-library/pull/2198) by miguelgamis@microsoft.com)
|
75
|
+
- Message thread background color in composites matches composite background color ([PR #2126](https://github.com/azure/communication-ui-library/pull/2126) by anjulgarg@live.com)
|
76
|
+
- Fixed bug where drawer on mobile does not get dismissed after making a selection ([PR #2115](https://github.com/azure/communication-ui-library/pull/2115) by carolinecao@microsoft.com)
|
77
|
+
- Fix running render passes on people pane on every render ([PR #2240](https://github.com/azure/communication-ui-library/pull/2240) by 2684369+JamesBurnside@users.noreply.github.com)
|
78
|
+
- Fix Calling Composite's control bar buttons incorrectly showing as disabled when the control bar button is set to `true` in the control bar options ([PR #2325](https://github.com/azure/communication-ui-library/pull/2325) by 2684369+JamesBurnside@users.noreply.github.com)
|
79
|
+
- Fixed input order bug on calling dialpad and dtmf dialpad ([PR #2284](https://github.com/azure/communication-ui-library/pull/2284) by carolinecao@microsoft.com)
|
80
|
+
- Fix local device settings dropdowns to be disabled until device permissions are granted ([PR #2351](https://github.com/azure/communication-ui-library/pull/2351) by miguelgamis@microsoft.com)
|
81
|
+
- Autofocus on back button when initially opening People and Chat pane ([PR #2045](https://github.com/azure/communication-ui-library/pull/2045) by edwardlee@microsoft.com)
|
82
|
+
- Fix joinCall set correct mute state based on microphoneOn parameter ([PR #2131](https://github.com/azure/communication-ui-library/pull/2131) by fanjin1989@gmail.com)
|
83
|
+
- Add Announcer to copy invite link button to announce action on button. ([PR #2289](https://github.com/azure/communication-ui-library/pull/2289) by 94866715+dmceachernmsft@users.noreply.github.com)
|
84
|
+
- Fix disabled start call button when role is Consumer ([PR #2251](https://github.com/azure/communication-ui-library/pull/2251) by miguelgamis@microsoft.com)
|
85
|
+
- Fixed bug where voice over does not annouce menu item selected in both calling and callwithchat ([PR #2060](https://github.com/azure/communication-ui-library/pull/2060) by carolinecao@microsoft.com)
|
86
|
+
- Fix infinite spinner during screenShare ([PR #2191](https://github.com/azure/communication-ui-library/pull/2191) by jinan@microsoft.com)
|
87
|
+
- Fix invalid scrollbars when gif images are shared in chat ([PR #2037](https://github.com/azure/communication-ui-library/pull/2037) by anjulgarg@live.com)
|
88
|
+
- Fix bug of dismissed menu when scrolling ([PR #2069](https://github.com/azure/communication-ui-library/pull/2069) by jinan@microsoft.com)
|
89
|
+
- Fix voiceover tab navigation of messages including system messages. Hide message action flyout when focus blurs. ([PR #2042](https://github.com/azure/communication-ui-library/pull/2042) by miguelgamis@microsoft.com)
|
90
|
+
- Fix screenshare button selector to disable button when call is InLobby or Connecting state. ([PR #2059](https://github.com/azure/communication-ui-library/pull/2059) by 94866715+dmceachernmsft@users.noreply.github.com)
|
91
|
+
|
92
|
+
### Improvements
|
93
|
+
- Fixed onCallEnded event to trigger before the composite page transition. ([PR #2201](https://github.com/azure/communication-ui-library/pull/2201) by 2684369+JamesBurnside@users.noreply.github.com)
|
94
|
+
- Introduces fade in/out animations to is speaking while muted indicator ([PR #2312](https://github.com/azure/communication-ui-library/pull/2312) by 94866715+dmceachernmsft@users.noreply.github.com)
|
95
|
+
- Composites now using theme.semanticColors.bodyBackground as background color ([PR #2117](https://github.com/azure/communication-ui-library/pull/2117) by anjulgarg@live.com)
|
96
|
+
- Replace floating div with border with inset border of video tile to show user is speaking. ([PR #2236](https://github.com/azure/communication-ui-library/pull/2236) by miguelgamis@microsoft.com)
|
97
|
+
- Chat message bubble shows border in high contrast modes making each message distinguishable. ([PR #2106](https://github.com/azure/communication-ui-library/pull/2106) by anjulgarg@live.com)
|
98
|
+
- Load new messages only when scroll bar is at the top ([PR #2355](https://github.com/azure/communication-ui-library/pull/2355) by edwardlee@microsoft.com)
|
99
|
+
- Fix React hook order console errors for CameraButton. ([PR #2198](https://github.com/azure/communication-ui-library/pull/2198) by miguelgamis@microsoft.com)
|
100
|
+
- Changed z-index so new message button shows ontop of chat bubble ([PR #2046](https://github.com/azure/communication-ui-library/pull/2046) by carolinecao@microsoft.com)
|
101
|
+
- Make participant items tab navigable ([PR #2045](https://github.com/azure/communication-ui-library/pull/2045) by edwardlee@microsoft.com)
|
102
|
+
- Control Bar uses theme.semanticColors.bodyBackground instead of theme.palette.white ([PR #2117](https://github.com/azure/communication-ui-library/pull/2117) by anjulgarg@live.com)
|
103
|
+
- Updated tooltip strings to not be title case ([PR #2350](https://github.com/azure/communication-ui-library/pull/2350) by miguelgamis@microsoft.com)
|
104
|
+
- Show datetime when there are more than 5 mins between each message ([PR #2299](https://github.com/azure/communication-ui-library/pull/2299) by carolinecao@microsoft.com)
|
105
|
+
- Update Fluent-ui/icons package. ([PR #2305](https://github.com/azure/communication-ui-library/pull/2305) by 94866715+dmceachernmsft@users.noreply.github.com)
|
106
|
+
- Update startCall and removeParticipant adapter methods to use CommunicationIdentifier as userId ([PR #2377](https://github.com/azure/communication-ui-library/pull/2377) by anjulgarg@live.com)
|
107
|
+
- Use addparticipant handler to call a PSTN user ([PR #2168](https://github.com/azure/communication-ui-library/pull/2168) by carolinecao@microsoft.com)
|
108
|
+
- Update startCall usage by call adapter to pass in audio and video options from configuration screen. ([PR #2317](https://github.com/azure/communication-ui-library/pull/2317) by 94866715+dmceachernmsft@users.noreply.github.com)
|
109
|
+
- Add disabled option for CallWithChat control bar buttons ([PR #2294](https://github.com/azure/communication-ui-library/pull/2294) by edwardlee@microsoft.com)
|
110
|
+
- Bumped calling SDK beta version to 1.8.0-beta.1 ([PR #2362](https://github.com/azure/communication-ui-library/pull/2362) by miguelgamis@microsoft.com)
|
111
|
+
- Hiding copy link button for Rooms call ([PR #2370](https://github.com/azure/communication-ui-library/pull/2370) by miguelgamis@microsoft.com)
|
112
|
+
|
7
113
|
## [1.3.1](https://github.com/azure/communication-ui-library/tree/1.3.1)
|
8
114
|
|
9
115
|
This is a patch release for issue [#2186](https://github.com/Azure/communication-ui-library/issues/2186):
|
@@ -50,8 +50,6 @@ import { IButtonStyles } from '@fluentui/react';
|
|
50
50
|
import { IContextualMenuItem } from '@fluentui/react';
|
51
51
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
52
52
|
import { IContextualMenuStyles } from '@fluentui/react';
|
53
|
-
import { IDropdownOption } from '@fluentui/react';
|
54
|
-
import { IDropdownStyles } from '@fluentui/react';
|
55
53
|
import { IMessageBarProps } from '@fluentui/react';
|
56
54
|
import { IncomingCall } from '@azure/communication-calling';
|
57
55
|
import { IPersonaStyleProps } from '@fluentui/react';
|
@@ -976,42 +974,6 @@ export declare type CallCompositeOptions = {
|
|
976
974
|
* @defaultValue true
|
977
975
|
*/
|
978
976
|
callControls?: boolean | CallControlOptions;
|
979
|
-
/**
|
980
|
-
* Device permission restrictions for your call.
|
981
|
-
* Require device permissions to be set or have them as optional or not required to start a call
|
982
|
-
*/
|
983
|
-
devicePermissions?: DevicePermissionRestrictions;
|
984
|
-
/**
|
985
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
986
|
-
* unable to grant your site the required permissions for the call.
|
987
|
-
*
|
988
|
-
* @example
|
989
|
-
* ```ts
|
990
|
-
* onPermissionsTroubleshootingClick: () =>
|
991
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
992
|
-
* ```
|
993
|
-
*
|
994
|
-
* @remarks
|
995
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
996
|
-
*/
|
997
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
998
|
-
camera: PermissionState;
|
999
|
-
microphone: PermissionState;
|
1000
|
-
}) => void;
|
1001
|
-
/**
|
1002
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1003
|
-
* having network issues when connecting to the call.
|
1004
|
-
*
|
1005
|
-
* @example
|
1006
|
-
* ```ts
|
1007
|
-
* onNetworkingTroubleShootingClick?: () =>
|
1008
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1009
|
-
* ```
|
1010
|
-
*
|
1011
|
-
* @remarks
|
1012
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1013
|
-
*/
|
1014
|
-
onNetworkingTroubleShootingClick?: () => void;
|
1015
977
|
};
|
1016
978
|
|
1017
979
|
/**
|
@@ -2188,42 +2150,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
2188
2150
|
* @beta
|
2189
2151
|
*/
|
2190
2152
|
fileSharing?: FileSharingOptions;
|
2191
|
-
/**
|
2192
|
-
* Device permission restrictions for your call.
|
2193
|
-
* Require device permissions to be set or have them as optional or not required to start a call
|
2194
|
-
*/
|
2195
|
-
devicePermissions?: DevicePermissionRestrictions;
|
2196
|
-
/**
|
2197
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
2198
|
-
* unable to grant your site the required permissions for the call.
|
2199
|
-
*
|
2200
|
-
* @example
|
2201
|
-
* ```ts
|
2202
|
-
* onPermissionsTroubleshootingClick: () =>
|
2203
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
2204
|
-
* ```
|
2205
|
-
*
|
2206
|
-
* @remarks
|
2207
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
2208
|
-
*/
|
2209
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
2210
|
-
camera: PermissionState;
|
2211
|
-
microphone: PermissionState;
|
2212
|
-
}) => void;
|
2213
|
-
/**
|
2214
|
-
* Optional callback to supply users with further troubleshooting steps for network issues
|
2215
|
-
* experienced when connecting to a call.
|
2216
|
-
*
|
2217
|
-
* @example
|
2218
|
-
* ```ts
|
2219
|
-
* onNetworkingTroubleShootingClick?: () =>
|
2220
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
2221
|
-
* ```
|
2222
|
-
*
|
2223
|
-
* @remarks
|
2224
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
2225
|
-
*/
|
2226
|
-
onNetworkingTroubleShootingClick?: () => void;
|
2227
2153
|
};
|
2228
2154
|
|
2229
2155
|
/**
|
@@ -3362,10 +3288,6 @@ export declare interface ComponentStrings {
|
|
3362
3288
|
videoTile: VideoTileStrings;
|
3363
3289
|
/** Strings for HoldButton */
|
3364
3290
|
holdButton: HoldButtonStrings;
|
3365
|
-
/** Strings for DomainPermissions */
|
3366
|
-
DomainPermissions: DomainPermissionsStrings;
|
3367
|
-
/** Strings for unsupported browser UI */
|
3368
|
-
UnsupportedBrowser: UnsupportedBrowserStrings;
|
3369
3291
|
}
|
3370
3292
|
|
3371
3293
|
/**
|
@@ -4073,10 +3995,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4073
3995
|
SendBoxSendHovered: JSX.Element;
|
4074
3996
|
VideoTileMicOff: JSX.Element;
|
4075
3997
|
BackSpace: JSX.Element;
|
4076
|
-
DomainPermissionsSparkle: JSX.Element;
|
4077
|
-
DomainPermissionCamera: JSX.Element;
|
4078
|
-
DomainPermissionMic: JSX.Element;
|
4079
|
-
UnsupportedBrowserWarning: JSX.Element;
|
4080
3998
|
};
|
4081
3999
|
|
4082
4000
|
/**
|
@@ -4165,10 +4083,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4165
4083
|
HoldCallButton: JSX.Element;
|
4166
4084
|
ResumeCall: JSX.Element;
|
4167
4085
|
BackSpace: JSX.Element;
|
4168
|
-
DomainPermissionsSparkle: JSX.Element;
|
4169
|
-
DomainPermissionCamera: JSX.Element;
|
4170
|
-
DomainPermissionMic: JSX.Element;
|
4171
|
-
UnsupportedBrowserWarning: JSX.Element;
|
4172
4086
|
};
|
4173
4087
|
|
4174
4088
|
/**
|
@@ -4226,82 +4140,6 @@ export declare type DeviceManagerState = {
|
|
4226
4140
|
unparentedViews: LocalVideoStreamState[];
|
4227
4141
|
};
|
4228
4142
|
|
4229
|
-
/**
|
4230
|
-
* A dropdown to trigger device permission prompt
|
4231
|
-
*
|
4232
|
-
* @internal
|
4233
|
-
*/
|
4234
|
-
export declare const _DevicePermissionDropdown: (props: _DevicePermissionDropdownProps) => JSX.Element;
|
4235
|
-
|
4236
|
-
/**
|
4237
|
-
* Props for {@link _DevicePermissionDropdown}.
|
4238
|
-
*
|
4239
|
-
* @internal
|
4240
|
-
*/
|
4241
|
-
export declare interface _DevicePermissionDropdownProps {
|
4242
|
-
/**
|
4243
|
-
* icon shown in dropdown placeholder
|
4244
|
-
*/
|
4245
|
-
icon?: JSX.Element;
|
4246
|
-
/**
|
4247
|
-
* Dropdown content
|
4248
|
-
*/
|
4249
|
-
options?: IDropdownOption[];
|
4250
|
-
/**
|
4251
|
-
* Function that gets triggered when action button is clicked
|
4252
|
-
*/
|
4253
|
-
onClickActionButton?: () => Promise<void>;
|
4254
|
-
/**
|
4255
|
-
* Strings for devicepermissiondropdown
|
4256
|
-
*/
|
4257
|
-
strings?: _DevicePermissionDropdownStrings;
|
4258
|
-
/**
|
4259
|
-
* Styles for devicepermissiondropdown
|
4260
|
-
*/
|
4261
|
-
styles?: Partial<IDropdownStyles>;
|
4262
|
-
}
|
4263
|
-
|
4264
|
-
/**
|
4265
|
-
* Strings of {@link DevicePermissionDropdown} that can be overridden.
|
4266
|
-
*
|
4267
|
-
* @internal
|
4268
|
-
*/
|
4269
|
-
export declare interface _DevicePermissionDropdownStrings {
|
4270
|
-
/**
|
4271
|
-
* dropdown label
|
4272
|
-
*/
|
4273
|
-
label?: string;
|
4274
|
-
/**
|
4275
|
-
* dropdown placeholder
|
4276
|
-
*/
|
4277
|
-
placeHolderText: string;
|
4278
|
-
/** string for action button */
|
4279
|
-
actionButtonContent?: string;
|
4280
|
-
}
|
4281
|
-
|
4282
|
-
/**
|
4283
|
-
* Device Permission restrictions.
|
4284
|
-
* Be able to start a call depending on camera and microphone permission options.
|
4285
|
-
*
|
4286
|
-
* @beta
|
4287
|
-
*/
|
4288
|
-
export declare interface DevicePermissionRestrictions {
|
4289
|
-
/**
|
4290
|
-
* Camera Permission prompts for your call.
|
4291
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4292
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4293
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4294
|
-
*/
|
4295
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
4296
|
-
/**
|
4297
|
-
* Microphone permission prompts for your call.
|
4298
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4299
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4300
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4301
|
-
*/
|
4302
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
4303
|
-
}
|
4304
|
-
|
4305
4143
|
/**
|
4306
4144
|
* A button to open a menu that controls device options.
|
4307
4145
|
*
|
@@ -4539,52 +4377,6 @@ export declare interface Disposable {
|
|
4539
4377
|
dispose(): void;
|
4540
4378
|
}
|
4541
4379
|
|
4542
|
-
/**
|
4543
|
-
* @beta
|
4544
|
-
*
|
4545
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
4546
|
-
* by their browsers settings.
|
4547
|
-
*/
|
4548
|
-
export declare const DomainPermissions: (props: DomainPermissionsProps) => JSX.Element;
|
4549
|
-
|
4550
|
-
/**
|
4551
|
-
* @beta
|
4552
|
-
* Props for DomainPermissions component.
|
4553
|
-
*/
|
4554
|
-
export declare interface DomainPermissionsProps {
|
4555
|
-
/**
|
4556
|
-
* Name of application calling experience is in.
|
4557
|
-
*/
|
4558
|
-
appName: string;
|
4559
|
-
/**
|
4560
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4561
|
-
*/
|
4562
|
-
onTroubleshootingClick: () => void;
|
4563
|
-
/**
|
4564
|
-
* Localization strings for DomainPermissions component.
|
4565
|
-
*/
|
4566
|
-
strings: DomainPermissionsStrings;
|
4567
|
-
}
|
4568
|
-
|
4569
|
-
/**
|
4570
|
-
* @beta
|
4571
|
-
* Strings for DomainPermissions component
|
4572
|
-
*/
|
4573
|
-
export declare interface DomainPermissionsStrings {
|
4574
|
-
/**
|
4575
|
-
* Main text string.
|
4576
|
-
*/
|
4577
|
-
primaryText: string;
|
4578
|
-
/**
|
4579
|
-
* Subtext string.
|
4580
|
-
*/
|
4581
|
-
secondaryText: string;
|
4582
|
-
/**
|
4583
|
-
* More help link string.
|
4584
|
-
*/
|
4585
|
-
linkText: string;
|
4586
|
-
}
|
4587
|
-
|
4588
4380
|
/**
|
4589
4381
|
* DTMF tone for PSTN calls.
|
4590
4382
|
*
|
@@ -7243,39 +7035,6 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
7243
7035
|
typingString?: IStyle;
|
7244
7036
|
}
|
7245
7037
|
|
7246
|
-
/**
|
7247
|
-
* UI to display to the user that the browser they are using is not supported by calling application.
|
7248
|
-
*
|
7249
|
-
* @beta
|
7250
|
-
*/
|
7251
|
-
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
7252
|
-
|
7253
|
-
/**
|
7254
|
-
* props for UnsupportedBrowser UI
|
7255
|
-
*
|
7256
|
-
* @beta
|
7257
|
-
*/
|
7258
|
-
export declare interface UnsupportedBrowserProps {
|
7259
|
-
/** Handler to perform a action when the help link is actioned */
|
7260
|
-
onTroubleShootingClick: () => void;
|
7261
|
-
/** String overrides for the component */
|
7262
|
-
strings: UnsupportedBrowserStrings;
|
7263
|
-
}
|
7264
|
-
|
7265
|
-
/**
|
7266
|
-
* Strings for UnsupportedBrowser component
|
7267
|
-
*
|
7268
|
-
* @beta
|
7269
|
-
*/
|
7270
|
-
export declare interface UnsupportedBrowserStrings {
|
7271
|
-
/** String for the primary text */
|
7272
|
-
primaryText: string;
|
7273
|
-
/** String for the secondary text */
|
7274
|
-
secondaryText: string;
|
7275
|
-
/** String for the help link */
|
7276
|
-
moreHelpLink: string;
|
7277
|
-
}
|
7278
|
-
|
7279
7038
|
/**
|
7280
7039
|
* @public
|
7281
7040
|
* Callback function run when a message is updated.
|