@azure/communication-react 1.8.0-alpha-202309070012 → 1.8.0-alpha-202309080012
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/dist/communication-react.d.ts +11 -2
- package/dist/dist-cjs/communication-react/index.js +22 -5
- 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/calling-stateful-client/src/CallClientState.d.ts +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +17 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +4 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/package.json +10 -10
@@ -2209,7 +2209,7 @@ export declare type CallErrors = {
|
|
2209
2209
|
*
|
2210
2210
|
* @public
|
2211
2211
|
*/
|
2212
|
-
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | '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' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll';
|
2212
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | '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' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.setConstraints';
|
2213
2213
|
|
2214
2214
|
/**
|
2215
2215
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -3113,6 +3113,16 @@ export declare type CallWithChatCompositeOptions = {
|
|
3113
3113
|
* if this is not supplied, the composite will not show a unsupported browser page.
|
3114
3114
|
*/
|
3115
3115
|
onEnvironmentInfoTroubleshootingClick?: () => void;
|
3116
|
+
/**
|
3117
|
+
* Remote participant video tile menu options
|
3118
|
+
*/
|
3119
|
+
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
3120
|
+
/**
|
3121
|
+
* Options for controlling the local video tile.
|
3122
|
+
*
|
3123
|
+
* @remarks if 'false' the local video tile will not be rendered.
|
3124
|
+
*/
|
3125
|
+
localVideoTile?: boolean | LocalVideoTileOptions;
|
3116
3126
|
/**
|
3117
3127
|
* Options for controlling the starting layout of the composite's video gallery
|
3118
3128
|
*/
|
@@ -7139,7 +7149,6 @@ export declare interface LocalVideoTileOptions {
|
|
7139
7149
|
* @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
|
7140
7150
|
* 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
|
7141
7151
|
* local video tile rules and be docked in the bottom corner.
|
7142
|
-
* 'hidden' - local video tile will not be rendered.
|
7143
7152
|
* This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
|
7144
7153
|
*/
|
7145
7154
|
position?: 'grid' | 'floating';
|
@@ -178,7 +178,7 @@ const _isValidIdentifier = (identifier) => {
|
|
178
178
|
// Copyright (c) Microsoft Corporation.
|
179
179
|
// Licensed under the MIT license.
|
180
180
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
181
|
-
var telemetryVersion = '1.8.0-alpha-
|
181
|
+
var telemetryVersion = '1.8.0-alpha-202309080012';
|
182
182
|
|
183
183
|
// Copyright (c) Microsoft Corporation.
|
184
184
|
/**
|
@@ -24559,7 +24559,10 @@ const getDesktopEndCallButtonStyles = (theme) => {
|
|
24559
24559
|
rootFocused: {
|
24560
24560
|
'@media (forced-colors: active)': {
|
24561
24561
|
background: 'highlight',
|
24562
|
-
|
24562
|
+
color: 'highlightText',
|
24563
|
+
borderColor: theme.palette.black,
|
24564
|
+
borderRadius: 'unset',
|
24565
|
+
outline: `3px solid ${theme.palette.black}`
|
24563
24566
|
}
|
24564
24567
|
},
|
24565
24568
|
icon: {
|
@@ -30975,8 +30978,12 @@ const CallWithChatScreen = (props) => {
|
|
30975
30978
|
onPermissionsTroubleshootingClick: props.onPermissionsTroubleshootingClick,
|
30976
30979
|
/* @conditional-compile-remove(unsupported-browser) */
|
30977
30980
|
onEnvironmentInfoTroubleshootingClick: props.onEnvironmentInfoTroubleshootingClick,
|
30981
|
+
/* @conditional-compile-remove(pinned-participants) */
|
30982
|
+
remoteVideoTileMenuOptions: props.remoteVideoTileMenuOptions,
|
30978
30983
|
/* @conditional-compile-remove(gallery-layouts) */
|
30979
|
-
galleryOptions: props.galleryOptions
|
30984
|
+
galleryOptions: props.galleryOptions,
|
30985
|
+
/* @conditional-compile-remove(click-to-call) */
|
30986
|
+
localVideoTile: props.localVideoTile
|
30980
30987
|
}), [
|
30981
30988
|
props.callControls,
|
30982
30989
|
callControlOptionsFromProps,
|
@@ -30992,7 +30999,11 @@ const CallWithChatScreen = (props) => {
|
|
30992
30999
|
/* @conditional-compile-remove(call-readiness) */
|
30993
31000
|
props.onPermissionsTroubleshootingClick,
|
30994
31001
|
/* @conditional-compile-remove(gallery-layouts) */
|
30995
|
-
props.galleryOptions
|
31002
|
+
props.galleryOptions,
|
31003
|
+
/* @conditional-compile-remove(click-to-call) */
|
31004
|
+
props.localVideoTile,
|
31005
|
+
/* @conditional-compile-remove(pinned-participants) */
|
31006
|
+
props.remoteVideoTileMenuOptions
|
30996
31007
|
]);
|
30997
31008
|
const onRenderChatContent = React.useCallback(() => (React__default['default'].createElement(ChatComposite, Object.assign({}, chatProps, { fluentTheme: theme, options: {
|
30998
31009
|
topic: false,
|
@@ -31044,8 +31055,14 @@ const CallWithChatComposite = (props) => {
|
|
31044
31055
|
React__default['default'].createElement(CallWithChatScreen, Object.assign({}, props, {
|
31045
31056
|
/* @conditional-compile-remove(call-readiness) */
|
31046
31057
|
deviceChecks: options === null || options === void 0 ? void 0 : options.deviceChecks, callWithChatAdapter: adapter, formFactor: formFactor, callControls: options === null || options === void 0 ? void 0 : options.callControls, joinInvitationURL: joinInvitationURL, fluentTheme: fluentTheme,
|
31058
|
+
/* @conditional-compile-remove(pinned-participants) */
|
31059
|
+
remoteVideoTileMenuOptions: options === null || options === void 0 ? void 0 : options.remoteVideoTileMenuOptions,
|
31047
31060
|
/* @conditional-compile-remove(file-sharing) */
|
31048
|
-
fileSharing: options === null || options === void 0 ? void 0 : options.fileSharing
|
31061
|
+
fileSharing: options === null || options === void 0 ? void 0 : options.fileSharing,
|
31062
|
+
/* @conditional-compile-remove(click-to-call) */
|
31063
|
+
localVideoTile: options === null || options === void 0 ? void 0 : options.localVideoTile,
|
31064
|
+
/* @conditional-compile-remove(gallery-layouts) */
|
31065
|
+
galleryOptions: options === null || options === void 0 ? void 0 : options.galleryOptions }))));
|
31049
31066
|
};
|
31050
31067
|
const hasJoinedCallFn = (page, callStatus) => {
|
31051
31068
|
/* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(one-to-n-calling) */
|