@azure/communication-react 1.3.3-alpha-202210080019.0 → 1.3.3-alpha-202210130020.0
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/dist-cjs/communication-react/index.js +12 -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/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-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +4 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +5 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -1
- package/package.json +8 -8
@@ -202,7 +202,7 @@ const _toCommunicationIdentifier = (id) => {
|
|
202
202
|
// Copyright (c) Microsoft Corporation.
|
203
203
|
// Licensed under the MIT license.
|
204
204
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
205
|
-
var telemetryVersion = '1.3.3-alpha-
|
205
|
+
var telemetryVersion = '1.3.3-alpha-202210130020.0';
|
206
206
|
|
207
207
|
// Copyright (c) Microsoft Corporation.
|
208
208
|
/**
|
@@ -5155,6 +5155,7 @@ const _RemoteVideoTile = React__default['default'].memo((props) => {
|
|
5155
5155
|
]);
|
5156
5156
|
// Handle creating, destroying and updating the video stream as necessary
|
5157
5157
|
useRemoteVideoStreamLifecycleMaintainer(remoteVideoStreamProps);
|
5158
|
+
const showLoadingIndicator = isAvailable && isReceiving === false && props.participantState !== 'Disconnected';
|
5158
5159
|
const renderVideoStreamElement = React.useMemo(() => {
|
5159
5160
|
// Checking if renderElement is well defined or not as calling SDK has a number of video streams limitation which
|
5160
5161
|
// implies that, after their threshold, all streams have no child (blank video)
|
@@ -5162,8 +5163,8 @@ const _RemoteVideoTile = React__default['default'].memo((props) => {
|
|
5162
5163
|
// Returning `undefined` results in the placeholder with avatar being shown
|
5163
5164
|
return undefined;
|
5164
5165
|
}
|
5165
|
-
return (React__default['default'].createElement(StreamMedia, { videoStreamElement: renderElement, loadingState:
|
5166
|
-
}, [renderElement,
|
5166
|
+
return (React__default['default'].createElement(StreamMedia, { videoStreamElement: renderElement, loadingState: showLoadingIndicator ? 'loading' : 'none' }));
|
5167
|
+
}, [renderElement, showLoadingIndicator]);
|
5167
5168
|
return (React__default['default'].createElement(VideoTile, { key: userId, userId: userId, renderElement: renderVideoStreamElement, displayName: displayName, onRenderPlaceholder: onRenderAvatar, isMuted: isMuted, isSpeaking: isSpeaking, showMuteIndicator: showMuteIndicator, personaMinSize: props.personaMinSize, showLabel: props.showLabel,
|
5168
5169
|
/* @conditional-compile-remove(one-to-n-calling) */
|
5169
5170
|
/* @conditional-compile-remove(PSTN-calls) */
|
@@ -16230,6 +16231,11 @@ const themedDialpadStyle = (isMobile, theme) => ({
|
|
16230
16231
|
}
|
16231
16232
|
}
|
16232
16233
|
},
|
16234
|
+
deleteIcon: {
|
16235
|
+
root: {
|
16236
|
+
backgroundColor: theme.palette.white
|
16237
|
+
}
|
16238
|
+
},
|
16233
16239
|
digit: {
|
16234
16240
|
color: theme.palette.themeDarkAlt
|
16235
16241
|
}
|
@@ -20027,8 +20033,9 @@ const CallWithChatComposite = (props) => {
|
|
20027
20033
|
};
|
20028
20034
|
const hasJoinedCallFn = (page, callStatus) => {
|
20029
20035
|
/* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(one-to-n-calling) */
|
20030
|
-
return ((page === 'call' &&
|
20031
|
-
(
|
20036
|
+
return ((page === 'call' &&
|
20037
|
+
(callStatus === 'Connected' || callStatus === 'RemoteHold' || callStatus === 'Disconnecting')) ||
|
20038
|
+
(page === 'hold' && (callStatus === 'LocalHold' || callStatus === 'Disconnecting')));
|
20032
20039
|
};
|
20033
20040
|
const showShowChatTabHeaderButton = (callControls) => {
|
20034
20041
|
if (callControls === undefined || callControls === true) {
|