@azure/communication-react 1.5.1-alpha-202302080014 → 1.5.1-alpha-202302100014

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.
@@ -159,7 +159,7 @@ const _toCommunicationIdentifier = (id) => {
159
159
  // Copyright (c) Microsoft Corporation.
160
160
  // Licensed under the MIT license.
161
161
  // GENERATED FILE. DO NOT EDIT MANUALLY.
162
- var telemetryVersion = '1.5.1-alpha-202302080014';
162
+ var telemetryVersion = '1.5.1-alpha-202302100014';
163
163
 
164
164
  // Copyright (c) Microsoft Corporation.
165
165
  /**
@@ -8719,8 +8719,9 @@ const bracketedParticipantString = (participantString, withBrackets) => {
8719
8719
  * @internal
8720
8720
  */
8721
8721
  const _RemoteVideoTile = React__default['default'].memo((props) => {
8722
+ var _a;
8722
8723
  const { isAvailable, isReceiving = true, // default to true to prevent any breaking change
8723
- isScreenSharingOn, onCreateRemoteStreamView, onDisposeRemoteStreamView, remoteVideoViewOptions, renderElement, userId, onRenderAvatar, showMuteIndicator, remoteParticipant, participantState, menuKind, isPinned, onPinParticipant, onUnpinParticipant, disablePinMenuItem, toggleAnnouncerString } = props;
8724
+ isScreenSharingOn, onCreateRemoteStreamView, onDisposeRemoteStreamView, remoteVideoViewOptions, renderElement, userId, onRenderAvatar, showMuteIndicator, remoteParticipant, participantState, menuKind, isPinned, onPinParticipant, onUnpinParticipant, disablePinMenuItem, toggleAnnouncerString, strings } = props;
8724
8725
  const remoteVideoStreamProps = React.useMemo(() => ({
8725
8726
  isMirrored: remoteVideoViewOptions === null || remoteVideoViewOptions === void 0 ? void 0 : remoteVideoViewOptions.isMirrored,
8726
8727
  isScreenSharingOn,
@@ -8785,7 +8786,7 @@ const _RemoteVideoTile = React__default['default'].memo((props) => {
8785
8786
  tabIndex: menuKind === 'drawer' ? 0 : undefined,
8786
8787
  /* @conditional-compile-remove(pinned-participants) */
8787
8788
  onKeyDown: menuKind === 'drawer' ? onKeyDown : undefined, style: remoteVideoTileWrapperStyle },
8788
- React__default['default'].createElement(VideoTile, Object.assign({ key: userId, userId: userId, renderElement: renderVideoStreamElement, displayName: remoteParticipant.displayName, onRenderPlaceholder: onRenderAvatar, isMuted: remoteParticipant.isMuted, isSpeaking: remoteParticipant.isSpeaking, showMuteIndicator: showMuteIndicator, personaMinSize: props.personaMinSize, showLabel: props.showLabel,
8789
+ React__default['default'].createElement(VideoTile, Object.assign({ key: userId, userId: userId, initialsName: (_a = remoteParticipant.displayName) !== null && _a !== void 0 ? _a : '', renderElement: renderVideoStreamElement, displayName: remoteParticipant.displayName || (strings === null || strings === void 0 ? void 0 : strings.displayNamePlaceholder), onRenderPlaceholder: onRenderAvatar, isMuted: remoteParticipant.isMuted, isSpeaking: remoteParticipant.isSpeaking, showMuteIndicator: showMuteIndicator, personaMinSize: props.personaMinSize, showLabel: props.showLabel,
8789
8790
  /* @conditional-compile-remove(one-to-n-calling) */
8790
8791
  /* @conditional-compile-remove(PSTN-calls) */
8791
8792
  participantState: participantState }, videoTileContextualMenuProps, {
@@ -9053,7 +9054,7 @@ react.mergeStyles({ position: 'relative', width: '100%', height: '100%' });
9053
9054
  /**
9054
9055
  * Small floating modal width and height in rem for small screen
9055
9056
  */
9056
- const SMALL_FLOATING_MODAL_SIZE_PX = { width: 64, height: 113 };
9057
+ const SMALL_FLOATING_MODAL_SIZE_PX = { width: 64, height: 88 };
9057
9058
  /**
9058
9059
  * Large floating modal width and height in rem for large screen
9059
9060
  * Aspect ratio: 16:9
@@ -9152,7 +9153,7 @@ const horizontalGalleryStyle = (isNarrow) => {
9152
9153
  * Small horizontal gallery tile size in rem
9153
9154
  * @private
9154
9155
  */
9155
- const SMALL_HORIZONTAL_GALLERY_TILE_SIZE_REM = { height: 7.0625, width: 7.0625 };
9156
+ const SMALL_HORIZONTAL_GALLERY_TILE_SIZE_REM = { height: 5.5, width: 5.5 };
9156
9157
  /**
9157
9158
  * Large horizontal gallery tile size in rem
9158
9159
  * @private