@azure/communication-react 1.13.0-alpha-202402030013 → 1.13.0-alpha-202402040013

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/communication-react.d.ts +14 -3
  2. package/dist/dist-cjs/communication-react/index.js +9 -9
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  6. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +4 -0
  7. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  8. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +5 -1
  9. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +15 -4
  10. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  11. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +1 -0
  12. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  13. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +5 -1
  14. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  15. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +4 -1
  16. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  17. package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
  18. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +4 -1
  19. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  20. package/package.json +1 -1
@@ -3322,7 +3322,10 @@ export declare interface CallWithChatClientState {
3322
3322
  selectedVideoBackgroundEffect?: VideoBackgroundEffect;
3323
3323
  /** Hide attendee names in teams meeting */
3324
3324
  hideAttendeeNames?: boolean;
3325
- /** Reaction resources to render in meetings */
3325
+ /**
3326
+ * Reaction resources to render in meetings
3327
+ * @beta
3328
+ * */
3326
3329
  reactions?: ReactionResources;
3327
3330
  }
3328
3331
 
@@ -5295,7 +5298,10 @@ export declare interface ComponentStrings {
5295
5298
  screenShareButton: ScreenShareButtonStrings;
5296
5299
  /** Strings for RaiseHandButton */
5297
5300
  raiseHandButton: RaiseHandButtonStrings;
5298
- /** Strings for ReactionButton */
5301
+ /**
5302
+ * Strings for ReactionButton
5303
+ * @beta
5304
+ * */
5299
5305
  reactionButton: ReactionButtonStrings;
5300
5306
  /** Strings for TypingIndicator */
5301
5307
  typingIndicator: TypingIndicatorStrings;
@@ -10957,6 +10963,7 @@ export declare interface VideoGalleryProps {
10957
10963
  localVideoTileSize?: LocalVideoTileSize;
10958
10964
  /**
10959
10965
  * Reaction resources for like, heart, laugh, applause and surprised.
10966
+ * @beta
10960
10967
  */
10961
10968
  reactionResources?: ReactionResources;
10962
10969
  }
@@ -11230,7 +11237,10 @@ export declare interface VideoTileProps {
11230
11237
  isSpeaking?: boolean;
11231
11238
  /** Whether the participant is raised hand. Show a indicator (border) and icon with order */
11232
11239
  raisedHand?: RaisedHand;
11233
- /** When the participant has reacted, animate the reaction. */
11240
+ /**
11241
+ * When the participant has reacted, animate the reaction.
11242
+ * @beta
11243
+ * */
11234
11244
  reaction?: Reaction;
11235
11245
  /**
11236
11246
  * The call connection state of the participant.
@@ -11254,6 +11264,7 @@ export declare interface VideoTileProps {
11254
11264
  isSpotlighted?: boolean;
11255
11265
  /**
11256
11266
  * Reactions resources' url and metadata.
11267
+ * @beta
11257
11268
  */
11258
11269
  reactionResources?: ReactionResources;
11259
11270
  }
@@ -173,7 +173,7 @@ function getDefaultExportFromCjs (x) {
173
173
  // Copyright (c) Microsoft Corporation.
174
174
  // Licensed under the MIT License.
175
175
  // GENERATED FILE. DO NOT EDIT MANUALLY.
176
- var telemetryVersion = '1.13.0-alpha-202402030013';
176
+ var telemetryVersion = '1.13.0-alpha-202402040013';
177
177
 
178
178
 
179
179
  var telemetryVersion$1 = /*@__PURE__*/getDefaultExportFromCjs(telemetryVersion);
@@ -19930,12 +19930,12 @@ const convertRemoteParticipantToParticipantListParticipant = (userId, displayNam
19930
19930
  localUserCanRemoveOthers
19931
19931
  };
19932
19932
  };
19933
- /* @conditional-compile-remove(reaction) */
19933
+ /* @conditional-compile-remove(spotlight) */
19934
19934
  /**
19935
19935
  * @private
19936
19936
  */
19937
- const memoizedConvertAllremoteParticipantsBeta = memoizeFnAll((userId, displayName, state, isMuted, isScreenSharing, isSpeaking, raisedHand, localUserCanRemoveOthers, reaction, isSpotlighted) => {
19938
- return convertRemoteParticipantToParticipantListParticipantBeta(userId, displayName, state, isMuted, isScreenSharing, isSpeaking, raisedHand, localUserCanRemoveOthers, reaction, isSpotlighted);
19937
+ const memoizedConvertAllremoteParticipantsBetaSpotlight = memoizeFnAll((userId, displayName, state, isMuted, isScreenSharing, isSpeaking, raisedHand, localUserCanRemoveOthers, reaction, isSpotlighted) => {
19938
+ return convertRemoteParticipantToParticipantListParticipantBetaSpotlight(userId, displayName, state, isMuted, isScreenSharing, isSpeaking, raisedHand, localUserCanRemoveOthers, reaction, isSpotlighted);
19939
19939
  });
19940
19940
  /* @conditional-compile-remove(reaction) */
19941
19941
  /**
@@ -19949,7 +19949,7 @@ const memoizedConvertToVideoTileReaction = memoizeOne((reactionState) => {
19949
19949
  }
19950
19950
  : undefined;
19951
19951
  });
19952
- /* @conditional-compile-remove(reaction) */
19952
+ /* @conditional-compile-remove(spotlight) */
19953
19953
  /**
19954
19954
  * @private
19955
19955
  */
@@ -19957,8 +19957,8 @@ const memoizedSpotlight = memoizeOne((spotlightedParticipants, userId) => {
19957
19957
  const spotlightOrder = spotlightedParticipants === null || spotlightedParticipants === void 0 ? void 0 : spotlightedParticipants.find((spotlightedParticipant) => toFlatCommunicationIdentifier(spotlightedParticipant.identifier) === userId);
19958
19958
  return spotlightOrder ? { spotlightOrderPosition: spotlightOrder.order } : undefined;
19959
19959
  });
19960
- /* @conditional-compile-remove(reaction) */
19961
- const convertRemoteParticipantToParticipantListParticipantBeta = (userId, displayName, state, isMuted, isScreenSharing, isSpeaking, raisedHand, localUserCanRemoveOthers, reaction, isSpotlighted) => {
19960
+ /* @conditional-compile-remove(spotlight) */
19961
+ const convertRemoteParticipantToParticipantListParticipantBetaSpotlight = (userId, displayName, state, isMuted, isScreenSharing, isSpeaking, raisedHand, localUserCanRemoveOthers, reaction, isSpotlighted) => {
19962
19962
  return Object.assign(Object.assign({}, convertRemoteParticipantToParticipantListParticipant(userId, displayName, state, isMuted, isScreenSharing, isSpeaking, raisedHand, localUserCanRemoveOthers)), { reaction,
19963
19963
  isSpotlighted });
19964
19964
  };
@@ -20243,8 +20243,8 @@ const convertRemoteParticipantsToParticipantListParticipants = (remoteParticipan
20243
20243
  }
20244
20244
  }));
20245
20245
  };
20246
- /* @conditional-compile-remove(reaction) */
20247
- return memoizedConvertAllremoteParticipantsBeta(conversionCallback);
20246
+ /* @conditional-compile-remove(spotlight) */
20247
+ return memoizedConvertAllremoteParticipantsBetaSpotlight(conversionCallback);
20248
20248
  };
20249
20249
  /**
20250
20250
  * Selects data that drives {@link ParticipantList} component.