@azure/communication-react 1.5.1-alpha-202303080017 → 1.5.1-alpha-202303100015
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 +110 -33
- 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/chat-component-bindings/src/messageThreadSelector.js +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +6 -5
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.js +5 -2
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +10 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +17 -3
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +13 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +8 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +15 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.d.ts +26 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +42 -14
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/responsive.d.ts +6 -0
- package/dist/dist-esm/react-components/src/components/utils/responsive.js +7 -0
- package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
- package/package.json +8 -8
@@ -162,7 +162,7 @@ const _toCommunicationIdentifier = (id) => {
|
|
162
162
|
// Copyright (c) Microsoft Corporation.
|
163
163
|
// Licensed under the MIT license.
|
164
164
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
165
|
-
var telemetryVersion = '1.5.1-alpha-
|
165
|
+
var telemetryVersion = '1.5.1-alpha-202303100015';
|
166
166
|
|
167
167
|
// Copyright (c) Microsoft Corporation.
|
168
168
|
/**
|
@@ -5905,8 +5905,11 @@ const SendBox = (props) => {
|
|
5905
5905
|
hasErrorMessage: !!errorMessage,
|
5906
5906
|
disabled: !!disabled
|
5907
5907
|
})) },
|
5908
|
-
React__default['default'].createElement(InputBoxComponent, { autoFocus: autoFocus, "data-ui-id": ids.sendboxTextField, inlineChildren: true, disabled: disabled, errorMessage: onRenderSystemMessage ? onRenderSystemMessage(errorMessage) : errorMessage, textFieldRef: sendTextFieldRef, id: "sendbox", inputClassName: sendBoxStyle, placeholderText: strings.placeholderText, textValue: textValue, onChange: setText, onKeyDown: () => {
|
5909
|
-
|
5908
|
+
React__default['default'].createElement(InputBoxComponent, { autoFocus: autoFocus, "data-ui-id": ids.sendboxTextField, inlineChildren: true, disabled: disabled, errorMessage: onRenderSystemMessage ? onRenderSystemMessage(errorMessage) : errorMessage, textFieldRef: sendTextFieldRef, id: "sendbox", inputClassName: sendBoxStyle, placeholderText: strings.placeholderText, textValue: textValue, onChange: setText, onKeyDown: (ev) => {
|
5909
|
+
const keyWasSendingMessage = ev.key === 'Enter' && (ev.shiftKey === false || !supportNewline);
|
5910
|
+
if (!keyWasSendingMessage) {
|
5911
|
+
onTyping === null || onTyping === void 0 ? void 0 : onTyping();
|
5912
|
+
}
|
5910
5913
|
}, onEnterKeyDown: () => {
|
5911
5914
|
sendMessageOnClick();
|
5912
5915
|
}, styles: mergedStyles, supportNewline: supportNewline, maxLength: MAXIMUM_LENGTH_OF_MESSAGE$1 },
|
@@ -7030,12 +7033,19 @@ const _useContainerHeight = (containerRef) => {
|
|
7030
7033
|
return height;
|
7031
7034
|
};
|
7032
7035
|
const NARROW_WIDTH_REM = 30;
|
7036
|
+
const SHORT_HEIGHT_REM = 23.75;
|
7033
7037
|
/**
|
7034
7038
|
* Utility function to determine if container width is narrow
|
7035
7039
|
* @param containerWidthRem container width in rem
|
7036
7040
|
* @returns boolean
|
7037
7041
|
*/
|
7038
7042
|
const isNarrowWidth = (containerWidthRem) => containerWidthRem <= _convertRemToPx(NARROW_WIDTH_REM);
|
7043
|
+
/**
|
7044
|
+
* Utility function to determine if container width is short
|
7045
|
+
* @param containerWidthRem container height in rem
|
7046
|
+
* @returns boolean
|
7047
|
+
*/
|
7048
|
+
const isShortHeight = (containerHeightRem) => containerHeightRem <= _convertRemToPx(SHORT_HEIGHT_REM);
|
7039
7049
|
|
7040
7050
|
/**
|
7041
7051
|
* @private
|
@@ -9692,7 +9702,12 @@ const LARGE_FLOATING_MODAL_SIZE_PX = { width: 215, height: 120 };
|
|
9692
9702
|
* Vertical gallery floating modal width and height in rem
|
9693
9703
|
* Aspect ratio: 16:9
|
9694
9704
|
*/
|
9695
|
-
const
|
9705
|
+
const SHORT_VERTICAL_GALLERY_FLOATING_MODAL_SIZE_PX = { width: 144, height: 81 };
|
9706
|
+
/**
|
9707
|
+
* Vertical gallery floating modal width and height in rem
|
9708
|
+
* Aspect ratio: 16:9
|
9709
|
+
*/
|
9710
|
+
const VERTICAL_GALLERY_FLOATING_MODAL_SIZE_PX = { width: 176, height: 100 };
|
9696
9711
|
/**
|
9697
9712
|
* @private
|
9698
9713
|
* z-index to ensure that the local video tile is above the video gallery.
|
@@ -9702,9 +9717,15 @@ const LOCAL_VIDEO_TILE_ZINDEX = 2;
|
|
9702
9717
|
* @private
|
9703
9718
|
*/
|
9704
9719
|
const localVideoTileContainerStyle = (theme, localVideoTileSize) => {
|
9705
|
-
return
|
9706
|
-
|
9707
|
-
:
|
9720
|
+
return {
|
9721
|
+
minWidth: _pxToRem(localVideoTileSize.width),
|
9722
|
+
minHeight: _pxToRem(localVideoTileSize.height),
|
9723
|
+
position: 'absolute',
|
9724
|
+
bottom: _pxToRem(localVideoTileOuterPaddingPX),
|
9725
|
+
borderRadius: theme.effects.roundedCorner4,
|
9726
|
+
overflow: 'hidden',
|
9727
|
+
right: _pxToRem(localVideoTileOuterPaddingPX)
|
9728
|
+
};
|
9708
9729
|
};
|
9709
9730
|
/**
|
9710
9731
|
* @private
|
@@ -9766,7 +9787,16 @@ const localVideoModalStyles = {
|
|
9766
9787
|
*
|
9767
9788
|
* @private
|
9768
9789
|
*/
|
9769
|
-
const
|
9790
|
+
const SHORT_VERTICAL_GALLERY_TILE_SIZE_REM = { minHeight: 5.625, maxHeight: 9, width: 9 };
|
9791
|
+
/**
|
9792
|
+
* VerticalGallery tile size in rem:
|
9793
|
+
*
|
9794
|
+
* min - smallest possible size of the tile (90px)
|
9795
|
+
* max - Largest size we want the vertical tiles (144px)
|
9796
|
+
*
|
9797
|
+
* @private
|
9798
|
+
*/
|
9799
|
+
const VERTICAL_GALLERY_TILE_SIZE_REM = { minHeight: 6.75, maxHeight: 11, width: 11 };
|
9770
9800
|
/**
|
9771
9801
|
* Styles for the VerticalGallery's container set in parent.
|
9772
9802
|
*
|
@@ -9775,20 +9805,39 @@ const VERTICAL_GALLERY_TILE_SIZE_REM = { minHeight: 5.625, maxHeight: 9, width:
|
|
9775
9805
|
* @param shouldFloatLocalVideo whether rendered in floating layout or not
|
9776
9806
|
* @returns Style set for VerticalGallery container.
|
9777
9807
|
*/
|
9778
|
-
const verticalGalleryContainerStyle = (shouldFloatLocalVideo, isNarrow) => {
|
9779
|
-
return isNarrow
|
9808
|
+
const verticalGalleryContainerStyle = (shouldFloatLocalVideo, isNarrow, isShort) => {
|
9809
|
+
return isNarrow && isShort
|
9780
9810
|
? {
|
9781
|
-
width: `${
|
9811
|
+
width: `${SHORT_VERTICAL_GALLERY_TILE_SIZE_REM.width}rem`,
|
9782
9812
|
height: shouldFloatLocalVideo ? `calc(100% - ${_pxToRem(SMALL_FLOATING_MODAL_SIZE_PX.height)})` : '100%',
|
9783
9813
|
paddingBottom: '0.5rem'
|
9784
9814
|
}
|
9785
|
-
:
|
9786
|
-
|
9787
|
-
|
9788
|
-
|
9789
|
-
|
9790
|
-
|
9791
|
-
|
9815
|
+
: !isNarrow && isShort
|
9816
|
+
? {
|
9817
|
+
width: `${SHORT_VERTICAL_GALLERY_TILE_SIZE_REM.width}rem`,
|
9818
|
+
height: shouldFloatLocalVideo
|
9819
|
+
? `calc(100% - ${_pxToRem(SHORT_VERTICAL_GALLERY_FLOATING_MODAL_SIZE_PX.height)})`
|
9820
|
+
: '100%',
|
9821
|
+
paddingBottom: '0.5rem'
|
9822
|
+
}
|
9823
|
+
: {
|
9824
|
+
width: `${VERTICAL_GALLERY_TILE_SIZE_REM.width}rem`,
|
9825
|
+
height: shouldFloatLocalVideo
|
9826
|
+
? `calc(100% - ${_pxToRem(VERTICAL_GALLERY_FLOATING_MODAL_SIZE_PX.height)})`
|
9827
|
+
: '100%',
|
9828
|
+
paddingBottom: '0.5rem'
|
9829
|
+
};
|
9830
|
+
};
|
9831
|
+
/**
|
9832
|
+
* @private
|
9833
|
+
*/
|
9834
|
+
const SHORT_VERTICAL_GALLERY_TILE_STYLE = {
|
9835
|
+
minHeight: `${SHORT_VERTICAL_GALLERY_TILE_SIZE_REM.minHeight}rem`,
|
9836
|
+
minWidth: `${SHORT_VERTICAL_GALLERY_TILE_SIZE_REM.width}rem`,
|
9837
|
+
maxHeight: `${SHORT_VERTICAL_GALLERY_TILE_SIZE_REM.maxHeight}rem`,
|
9838
|
+
maxWidth: `${SHORT_VERTICAL_GALLERY_TILE_SIZE_REM.width}rem`,
|
9839
|
+
width: '100%',
|
9840
|
+
height: '100%'
|
9792
9841
|
};
|
9793
9842
|
/**
|
9794
9843
|
* @private
|
@@ -9804,8 +9853,8 @@ const VERTICAL_GALLERY_TILE_STYLE = {
|
|
9804
9853
|
/**
|
9805
9854
|
* @private
|
9806
9855
|
*/
|
9807
|
-
const verticalGalleryStyle = {
|
9808
|
-
children: VERTICAL_GALLERY_TILE_STYLE
|
9856
|
+
const verticalGalleryStyle = (isShort) => {
|
9857
|
+
return isShort ? { children: SHORT_VERTICAL_GALLERY_TILE_STYLE } : { children: VERTICAL_GALLERY_TILE_STYLE };
|
9809
9858
|
};
|
9810
9859
|
|
9811
9860
|
// Copyright (c) Microsoft Corporation.
|
@@ -9817,7 +9866,7 @@ const verticalGalleryStyle = {
|
|
9817
9866
|
* @beta
|
9818
9867
|
*/
|
9819
9868
|
const ResponsiveVerticalGallery = (props) => {
|
9820
|
-
const { children, containerStyles, verticalGalleryStyles, gapHeightRem, controlBarHeightRem } = props;
|
9869
|
+
const { children, containerStyles, verticalGalleryStyles, gapHeightRem, controlBarHeightRem, isShort } = props;
|
9821
9870
|
const containerRef = React.useRef(null);
|
9822
9871
|
const containerHeight = _useContainerHeight(containerRef);
|
9823
9872
|
const topPadding = containerRef.current ? parseFloat(getComputedStyle(containerRef.current).paddingTop) : 0;
|
@@ -9826,7 +9875,8 @@ const ResponsiveVerticalGallery = (props) => {
|
|
9826
9875
|
numberOfChildren: React__default['default'].Children.count(children),
|
9827
9876
|
containerHeight: (containerHeight !== null && containerHeight !== void 0 ? containerHeight : 0) - topPadding - bottomPadding,
|
9828
9877
|
gapHeightRem,
|
9829
|
-
controlBarHeight: controlBarHeightRem !== null && controlBarHeightRem !== void 0 ? controlBarHeightRem : 2
|
9878
|
+
controlBarHeight: controlBarHeightRem !== null && controlBarHeightRem !== void 0 ? controlBarHeightRem : 2,
|
9879
|
+
isShort: isShort !== null && isShort !== void 0 ? isShort : false
|
9830
9880
|
});
|
9831
9881
|
return (React__default['default'].createElement("div", { ref: containerRef, className: react.mergeStyles(containerStyles) },
|
9832
9882
|
React__default['default'].createElement(VerticalGallery, { childrenPerPage: childrenPerPage, styles: verticalGalleryStyles }, children)));
|
@@ -9835,8 +9885,8 @@ const ResponsiveVerticalGallery = (props) => {
|
|
9835
9885
|
* Helper function to find the number of children for the VerticalGallery on each page.
|
9836
9886
|
*/
|
9837
9887
|
const calculateChildrenPerPage = (args) => {
|
9838
|
-
const { numberOfChildren, containerHeight, gapHeightRem, controlBarHeight } = args;
|
9839
|
-
const childMinHeightPx = _convertRemToPx(VERTICAL_GALLERY_TILE_SIZE_REM.minHeight);
|
9888
|
+
const { numberOfChildren, containerHeight, gapHeightRem, controlBarHeight, isShort } = args;
|
9889
|
+
const childMinHeightPx = _convertRemToPx(isShort ? SHORT_VERTICAL_GALLERY_TILE_SIZE_REM.minHeight : VERTICAL_GALLERY_TILE_SIZE_REM.minHeight);
|
9840
9890
|
const gapHeightPx = _convertRemToPx(gapHeightRem);
|
9841
9891
|
const controlBarHeightPx = _convertRemToPx(controlBarHeight);
|
9842
9892
|
/** First check how many children can fit in containerHeight.
|
@@ -9979,31 +10029,39 @@ const ScrollableHorizontalGallery = (props) => {
|
|
9979
10029
|
* @private
|
9980
10030
|
*/
|
9981
10031
|
const OverflowGallery = (props) => {
|
9982
|
-
const { shouldFloatLocalVideo = false, isNarrow = false,
|
10032
|
+
const { shouldFloatLocalVideo = false, isNarrow = false,
|
10033
|
+
/* @conditional-compile-remove(vertical-gallery) */
|
10034
|
+
isShort = false, overflowGalleryElements, horizontalGalleryStyles,
|
9983
10035
|
/* @conditional-compile-remove(vertical-gallery) */ overflowGalleryLayout = 'HorizontalBottom',
|
9984
10036
|
/* @conditional-compile-remove(vertical-gallery) */ veritcalGalleryStyles } = props;
|
9985
10037
|
const containerStyles = React.useMemo(() => {
|
9986
10038
|
/* @conditional-compile-remove(vertical-gallery) */
|
9987
10039
|
if (overflowGalleryLayout === 'VerticalRight') {
|
9988
|
-
return verticalGalleryContainerStyle(shouldFloatLocalVideo, isNarrow);
|
10040
|
+
return verticalGalleryContainerStyle(shouldFloatLocalVideo, isNarrow, isShort);
|
9989
10041
|
}
|
9990
10042
|
return horizontalGalleryContainerStyle(shouldFloatLocalVideo, isNarrow);
|
9991
|
-
}, [
|
10043
|
+
}, [
|
10044
|
+
shouldFloatLocalVideo,
|
10045
|
+
/* @conditional-compile-remove(vertical-gallery) */ isShort,
|
10046
|
+
isNarrow,
|
10047
|
+
/* @conditional-compile-remove(vertical-gallery) */ overflowGalleryLayout
|
10048
|
+
]);
|
9992
10049
|
const galleryStyles = React.useMemo(() => {
|
9993
10050
|
/* @conditional-compile-remove(vertical-gallery) */
|
9994
10051
|
if (overflowGalleryLayout === 'VerticalRight') {
|
9995
|
-
return react.concatStyleSets(verticalGalleryStyle, veritcalGalleryStyles);
|
10052
|
+
return react.concatStyleSets(verticalGalleryStyle(isShort), veritcalGalleryStyles);
|
9996
10053
|
}
|
9997
10054
|
return react.concatStyleSets(horizontalGalleryStyle(isNarrow), horizontalGalleryStyles);
|
9998
10055
|
}, [
|
9999
10056
|
isNarrow,
|
10057
|
+
/* @conditional-compile-remove(vertical-gallery) */ isShort,
|
10000
10058
|
horizontalGalleryStyles,
|
10001
10059
|
/* @conditional-compile-remove(vertical-gallery) */ overflowGalleryLayout,
|
10002
10060
|
/* @conditional-compile-remove(vertical-gallery) */ veritcalGalleryStyles
|
10003
10061
|
]);
|
10004
10062
|
/* @conditional-compile-remove(vertical-gallery) */
|
10005
10063
|
if (overflowGalleryLayout === 'VerticalRight') {
|
10006
|
-
return (React__default['default'].createElement(ResponsiveVerticalGallery, { key: "responsive-vertical-gallery", containerStyles: containerStyles, verticalGalleryStyles: galleryStyles, controlBarHeightRem: HORIZONTAL_GALLERY_BUTTON_WIDTH, gapHeightRem: HORIZONTAL_GALLERY_GAP }, overflowGalleryElements));
|
10064
|
+
return (React__default['default'].createElement(ResponsiveVerticalGallery, { key: "responsive-vertical-gallery", containerStyles: containerStyles, verticalGalleryStyles: galleryStyles, controlBarHeightRem: HORIZONTAL_GALLERY_BUTTON_WIDTH, gapHeightRem: HORIZONTAL_GALLERY_GAP, isShort: isShort }, overflowGalleryElements));
|
10007
10065
|
}
|
10008
10066
|
/* @conditional-compile-remove(pinned-participants) */
|
10009
10067
|
if (isNarrow) {
|
@@ -10021,9 +10079,13 @@ const OverflowGallery = (props) => {
|
|
10021
10079
|
*/
|
10022
10080
|
const DefaultLayout = (props) => {
|
10023
10081
|
const { remoteParticipants = [], dominantSpeakers, localVideoComponent, screenShareComponent, onRenderRemoteParticipant, styles, maxRemoteVideoStreams, parentWidth,
|
10082
|
+
/* @conditional-compile-remove(vertical-gallery) */
|
10083
|
+
parentHeight,
|
10024
10084
|
/* @conditional-compile-remove(pinned-participants) */ pinnedParticipantUserIds,
|
10025
10085
|
/* @conditional-compile-remove(vertical-gallery) */ overflowGalleryLayout = 'HorizontalBottom' } = props;
|
10026
10086
|
const isNarrow = parentWidth ? isNarrowWidth(parentWidth) : false;
|
10087
|
+
/* @conditional-compile-remove(vertical-gallery) */
|
10088
|
+
const isShort = parentHeight ? isShortHeight(parentHeight) : false;
|
10027
10089
|
const { gridParticipants, horizontalGalleryParticipants } = useOrganizedParticipants({
|
10028
10090
|
remoteParticipants,
|
10029
10091
|
dominantSpeakers,
|
@@ -10051,13 +10113,16 @@ const DefaultLayout = (props) => {
|
|
10051
10113
|
if (horizontalGalleryTiles.length === 0) {
|
10052
10114
|
return null;
|
10053
10115
|
}
|
10054
|
-
return (React__default['default'].createElement(OverflowGallery, { isNarrow: isNarrow,
|
10116
|
+
return (React__default['default'].createElement(OverflowGallery, { isNarrow: isNarrow,
|
10117
|
+
/* @conditional-compile-remove(vertical-gallery) */
|
10118
|
+
isShort: isShort, shouldFloatLocalVideo: false, overflowGalleryElements: horizontalGalleryTiles, horizontalGalleryStyles: styles === null || styles === void 0 ? void 0 : styles.horizontalGallery,
|
10055
10119
|
/* @conditional-compile-remove(vertical-gallery) */
|
10056
10120
|
veritcalGalleryStyles: styles === null || styles === void 0 ? void 0 : styles.verticalGallery,
|
10057
10121
|
/* @conditional-compile-remove(pinned-participants) */
|
10058
10122
|
overflowGalleryLayout: overflowGalleryLayout }));
|
10059
10123
|
}, [
|
10060
10124
|
isNarrow,
|
10125
|
+
/* @conditional-compile-remove(vertical-gallery) */ isShort,
|
10061
10126
|
horizontalGalleryTiles,
|
10062
10127
|
styles === null || styles === void 0 ? void 0 : styles.horizontalGallery,
|
10063
10128
|
/* @conditional-compile-remove(vertical-gallery) */ overflowGalleryLayout,
|
@@ -10818,6 +10883,8 @@ const FloatingLocalVideoLayout = (props) => {
|
|
10818
10883
|
/* @conditional-compile-remove(vertical-gallery) */ overflowGalleryLayout = 'HorizontalBottom' } = props;
|
10819
10884
|
const theme = useTheme();
|
10820
10885
|
const isNarrow = parentWidth ? isNarrowWidth(parentWidth) : false;
|
10886
|
+
/* @conditional-compile-remove(vertical-gallery) */
|
10887
|
+
const isShort = parentHeight ? isShortHeight(parentHeight) : false;
|
10821
10888
|
const { gridParticipants, horizontalGalleryParticipants } = useOrganizedParticipants({
|
10822
10889
|
remoteParticipants,
|
10823
10890
|
dominantSpeakers,
|
@@ -10849,12 +10916,17 @@ const FloatingLocalVideoLayout = (props) => {
|
|
10849
10916
|
}
|
10850
10917
|
/* @conditional-compile-remove(vertical-gallery) */
|
10851
10918
|
if (horizontalGalleryTiles.length > 0 && overflowGalleryLayout === 'VerticalRight') {
|
10852
|
-
return isNarrow
|
10919
|
+
return isNarrow
|
10920
|
+
? SMALL_FLOATING_MODAL_SIZE_PX
|
10921
|
+
: isShort
|
10922
|
+
? SHORT_VERTICAL_GALLERY_FLOATING_MODAL_SIZE_PX
|
10923
|
+
: VERTICAL_GALLERY_FLOATING_MODAL_SIZE_PX;
|
10853
10924
|
}
|
10854
10925
|
return LARGE_FLOATING_MODAL_SIZE_PX;
|
10855
10926
|
}, [
|
10856
10927
|
horizontalGalleryTiles.length,
|
10857
10928
|
isNarrow,
|
10929
|
+
/* @conditional-compile-remove(vertical-gallery) */ isShort,
|
10858
10930
|
/* @conditional-compile-remove(vertical-gallery) */ overflowGalleryLayout
|
10859
10931
|
]);
|
10860
10932
|
const wrappedLocalVideoComponent = localVideoComponent && shouldFloatLocalVideo ? (
|
@@ -10867,13 +10939,18 @@ const FloatingLocalVideoLayout = (props) => {
|
|
10867
10939
|
if (horizontalGalleryTiles.length === 0) {
|
10868
10940
|
return null;
|
10869
10941
|
}
|
10870
|
-
return (React__default['default'].createElement(OverflowGallery
|
10942
|
+
return (React__default['default'].createElement(OverflowGallery
|
10943
|
+
/* @conditional-compile-remove(vertical-gallery) */
|
10944
|
+
, {
|
10945
|
+
/* @conditional-compile-remove(vertical-gallery) */
|
10946
|
+
isShort: isShort, isNarrow: isNarrow, shouldFloatLocalVideo: true, overflowGalleryElements: horizontalGalleryTiles, horizontalGalleryStyles: styles === null || styles === void 0 ? void 0 : styles.horizontalGallery,
|
10871
10947
|
/* @conditional-compile-remove(vertical-gallery) */
|
10872
10948
|
veritcalGalleryStyles: styles === null || styles === void 0 ? void 0 : styles.verticalGallery,
|
10873
10949
|
/* @conditional-compile-remove(vertical-gallery) */
|
10874
10950
|
overflowGalleryLayout: overflowGalleryLayout }));
|
10875
10951
|
}, [
|
10876
10952
|
isNarrow,
|
10953
|
+
/* @conditional-compile-remove(vertical-gallery) */ isShort,
|
10877
10954
|
horizontalGalleryTiles,
|
10878
10955
|
styles === null || styles === void 0 ? void 0 : styles.horizontalGallery,
|
10879
10956
|
/* @conditional-compile-remove(vertical-gallery) */ overflowGalleryLayout,
|
@@ -14034,7 +14111,7 @@ const messageThreadSelector = reselect.createSelector([getUserId, getChatMessage
|
|
14034
14111
|
updateMessagesWithAttached(convertedMessages);
|
14035
14112
|
return {
|
14036
14113
|
userId,
|
14037
|
-
showMessageStatus:
|
14114
|
+
showMessageStatus: true,
|
14038
14115
|
messages: convertedMessages,
|
14039
14116
|
participantCount,
|
14040
14117
|
readReceiptsBySenderId
|