@azure/communication-react 1.10.0-alpha-202311060013 → 1.10.0-alpha-202311070012
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 +11 -2
- 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-composites/src/composites/CallComposite/components/CallArrangement.js +10 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/package.json +1 -1
@@ -177,7 +177,7 @@ const _isValidIdentifier = (identifier) => {
|
|
177
177
|
// Copyright (c) Microsoft Corporation.
|
178
178
|
// Licensed under the MIT License.
|
179
179
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
180
|
-
var telemetryVersion = '1.10.0-alpha-
|
180
|
+
var telemetryVersion = '1.10.0-alpha-202311070012';
|
181
181
|
|
182
182
|
// Copyright (c) Microsoft Corporation.
|
183
183
|
/**
|
@@ -27205,6 +27205,15 @@ const CallArrangement = (props) => {
|
|
27205
27205
|
}
|
27206
27206
|
}, [closePeoplePane, isPeoplePaneOpen, openPeoplePane]);
|
27207
27207
|
const isSidePaneOpen = useIsSidePaneOpen();
|
27208
|
+
const [renderGallery, setRenderGallery] = React.useState(!isSidePaneOpen && props.mobileView);
|
27209
|
+
React.useEffect(() => {
|
27210
|
+
if (isSidePaneOpen && props.mobileView) {
|
27211
|
+
setRenderGallery(false);
|
27212
|
+
}
|
27213
|
+
else {
|
27214
|
+
setRenderGallery(true);
|
27215
|
+
}
|
27216
|
+
}, [props.mobileView, isSidePaneOpen]);
|
27208
27217
|
const locale = useLocale();
|
27209
27218
|
const modalStrings = { dismissModalAriaLabel: locale.strings.call.dismissModalAriaLabel };
|
27210
27219
|
const isMobileWithActivePane = props.mobileView && isSidePaneOpen;
|
@@ -27342,7 +27351,7 @@ const CallArrangement = (props) => {
|
|
27342
27351
|
props.capabilitiesChangedNotificationBarProps.capabilitiesChangedNotifications.length > 0 && (React__default["default"].createElement(react.Stack, { styles: bannerNotificationStyles },
|
27343
27352
|
React__default["default"].createElement(CapabilitiesChangedNotificationBar, Object.assign({}, props.capabilitiesChangedNotificationBarProps, { capabilitiesChangedNotifications: filteredCapabilitesChangedNotifications !== null && filteredCapabilitesChangedNotifications !== void 0 ? filteredCapabilitesChangedNotifications : [] })))),
|
27344
27353
|
canUnmute && !!props.mutedNotificationProps && (React__default["default"].createElement(MutedNotification, Object.assign({}, props.mutedNotificationProps)))),
|
27345
|
-
props.onRenderGalleryContent && props.onRenderGalleryContent(),
|
27354
|
+
renderGallery && props.onRenderGalleryContent && props.onRenderGalleryContent(),
|
27346
27355
|
/* @conditional-compile-remove(close-captions) */
|
27347
27356
|
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ !isInLocalHold && (React__default["default"].createElement(CaptionsBanner, { isMobile: props.mobileView, onFetchAvatarPersonaData: props.onFetchAvatarPersonaData }))))),
|
27348
27357
|
React__default["default"].createElement(SidePane, { mobileView: props.mobileView,
|