@azure/communication-react 1.5.1-alpha-202303070015 → 1.5.1-alpha-202303090014

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.
Files changed (20) hide show
  1. package/dist/dist-cjs/communication-react/index.js +16 -7
  2. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  3. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  5. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +1 -1
  6. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  7. package/dist/dist-esm/react-components/src/components/SendBox.js +5 -2
  8. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  9. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.d.ts +21 -0
  10. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +65 -0
  11. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -0
  12. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.d.ts +88 -0
  13. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +80 -0
  14. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -0
  15. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +9 -3
  16. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  17. package/dist/dist-esm/react-components/src/components/index.d.ts +3 -0
  18. package/dist/dist-esm/react-components/src/components/index.js +2 -0
  19. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  20. 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-202303070015';
165
+ var telemetryVersion = '1.5.1-alpha-202303090014';
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
- onTyping && onTyping();
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 },
@@ -9702,9 +9705,15 @@ const LOCAL_VIDEO_TILE_ZINDEX = 2;
9702
9705
  * @private
9703
9706
  */
9704
9707
  const localVideoTileContainerStyle = (theme, localVideoTileSize) => {
9705
- return Object.assign({ minWidth: _pxToRem(localVideoTileSize.width), minHeight: _pxToRem(localVideoTileSize.height), position: 'absolute', bottom: _pxToRem(localVideoTileOuterPaddingPX), borderRadius: theme.effects.roundedCorner4, overflow: 'hidden' }, (theme.rtl
9706
- ? { left: _pxToRem(localVideoTileOuterPaddingPX) }
9707
- : { right: _pxToRem(localVideoTileOuterPaddingPX) }));
9708
+ return {
9709
+ minWidth: _pxToRem(localVideoTileSize.width),
9710
+ minHeight: _pxToRem(localVideoTileSize.height),
9711
+ position: 'absolute',
9712
+ bottom: _pxToRem(localVideoTileOuterPaddingPX),
9713
+ borderRadius: theme.effects.roundedCorner4,
9714
+ overflow: 'hidden',
9715
+ right: _pxToRem(localVideoTileOuterPaddingPX)
9716
+ };
9708
9717
  };
9709
9718
  /**
9710
9719
  * @private
@@ -14034,7 +14043,7 @@ const messageThreadSelector = reselect.createSelector([getUserId, getChatMessage
14034
14043
  updateMessagesWithAttached(convertedMessages);
14035
14044
  return {
14036
14045
  userId,
14037
- showMessageStatus: !isLargeGroup,
14046
+ showMessageStatus: true,
14038
14047
  messages: convertedMessages,
14039
14048
  participantCount,
14040
14049
  readReceiptsBySenderId