@azure/communication-react 1.13.0-alpha-202402090012 → 1.13.0-alpha-202402100012
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/communication-react.d.ts +67 -61
- package/dist/dist-cjs/communication-react/index.js +238 -147
- 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/calling-component-bindings/src/baseSelectors.d.ts +4 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +8 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +5 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +6 -6
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +3 -3
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +15 -5
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +1 -0
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +13 -5
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +5 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +2 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +15 -3
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +32 -0
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +6 -3
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.d.ts +3 -7
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js +15 -14
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +3 -2
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +4 -2
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +4 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +13 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +10 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +7 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.d.ts +7 -8
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js +27 -43
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +3 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +8 -21
- package/dist/dist-esm/react-components/src/theming/themes.js +7 -16
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +3 -7
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +3 -0
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +7 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +11 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +20 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +18 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +16 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +5 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +6 -7
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +1 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +2 -2
@@ -98,7 +98,6 @@ import { SendMessageOptions } from '@azure/communication-chat';
|
|
98
98
|
import { SpotlightedParticipant } from '@azure/communication-calling';
|
99
99
|
import { StartCallOptions } from '@azure/communication-calling';
|
100
100
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
101
|
-
import { SyntheticEvent } from 'react';
|
102
101
|
import { TeamsCall } from '@azure/communication-calling';
|
103
102
|
import { TeamsCallAgent } from '@azure/communication-calling';
|
104
103
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
@@ -925,16 +924,12 @@ export declare interface CallAdapterCallOperations {
|
|
925
924
|
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
926
925
|
/**
|
927
926
|
* Start spotlight
|
928
|
-
*
|
929
|
-
* @beta
|
930
927
|
*/
|
931
|
-
startSpotlight(
|
928
|
+
startSpotlight(userIds?: string[]): Promise<void>;
|
932
929
|
/**
|
933
930
|
* Stop spotlight
|
934
|
-
*
|
935
|
-
* @beta
|
936
931
|
*/
|
937
|
-
stopSpotlight(
|
932
|
+
stopSpotlight(userIds?: string[]): Promise<void>;
|
938
933
|
}
|
939
934
|
|
940
935
|
/**
|
@@ -1193,6 +1188,10 @@ export declare interface CallAdapterSubscribers {
|
|
1193
1188
|
* Subscribe function for 'roleChanged' event.
|
1194
1189
|
*/
|
1195
1190
|
on(event: 'roleChanged', listener: PropertyChangedEvent): void;
|
1191
|
+
/**
|
1192
|
+
* Subscribe function for 'spotlightChanged' event.
|
1193
|
+
*/
|
1194
|
+
on(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
1196
1195
|
/**
|
1197
1196
|
* Unsubscribe function for 'participantsJoined' event.
|
1198
1197
|
*/
|
@@ -1269,6 +1268,10 @@ export declare interface CallAdapterSubscribers {
|
|
1269
1268
|
* Unsubscribe function for 'roleChanged' event.
|
1270
1269
|
*/
|
1271
1270
|
off(event: 'roleChanged', listener: PropertyChangedEvent): void;
|
1271
|
+
/**
|
1272
|
+
* Subscribe function for 'spotlightChanged' event.
|
1273
|
+
*/
|
1274
|
+
off(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
1272
1275
|
}
|
1273
1276
|
|
1274
1277
|
/**
|
@@ -1959,6 +1962,10 @@ export declare interface CallCompositeStrings {
|
|
1959
1962
|
* Label for menu item to stop spotlight on local user
|
1960
1963
|
*/
|
1961
1964
|
stopSpotlightOnSelfParticipantListMenuLabel: string;
|
1965
|
+
/**
|
1966
|
+
* Label for menu item to stop spotlight on local user
|
1967
|
+
*/
|
1968
|
+
spotlightLimitReachedParticipantListMenuTitle: string;
|
1962
1969
|
/**
|
1963
1970
|
* Label for add people dropdown
|
1964
1971
|
*/
|
@@ -2610,12 +2617,8 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
2610
2617
|
* @beta
|
2611
2618
|
* */
|
2612
2619
|
reaction?: Reaction;
|
2613
|
-
/**
|
2614
|
-
|
2615
|
-
*
|
2616
|
-
* @beta
|
2617
|
-
* */
|
2618
|
-
isSpotlighted?: Spotlight;
|
2620
|
+
/** Whether calling participant is spotlighted **/
|
2621
|
+
spotlight?: Spotlight;
|
2619
2622
|
};
|
2620
2623
|
|
2621
2624
|
/**
|
@@ -3212,16 +3215,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
3212
3215
|
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
3213
3216
|
/**
|
3214
3217
|
* Start spotlight
|
3215
|
-
*
|
3216
|
-
* @beta
|
3217
3218
|
*/
|
3218
|
-
startSpotlight(
|
3219
|
+
startSpotlight(userIds?: string[]): Promise<void>;
|
3219
3220
|
/**
|
3220
3221
|
* Stop spotlight
|
3221
|
-
*
|
3222
|
-
* @beta
|
3223
3222
|
*/
|
3224
|
-
stopSpotlight(
|
3223
|
+
stopSpotlight(userIds?: string[]): Promise<void>;
|
3225
3224
|
}
|
3226
3225
|
|
3227
3226
|
/**
|
@@ -3254,6 +3253,7 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
3254
3253
|
on(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
3255
3254
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
3256
3255
|
on(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
3256
|
+
on(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
3257
3257
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
3258
3258
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
3259
3259
|
off(event: 'callIdChanged', listener: CallIdChangedListener): void;
|
@@ -3270,6 +3270,7 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
3270
3270
|
off(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
3271
3271
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
3272
3272
|
off(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
3273
|
+
off(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
3273
3274
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
3274
3275
|
on(event: 'messageEdited', listener: MessageEditedListener): void;
|
3275
3276
|
on(event: 'messageDeleted', listener: MessageDeletedListener): void;
|
@@ -3831,7 +3832,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3831
3832
|
*
|
3832
3833
|
* @public
|
3833
3834
|
*/
|
3834
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(capabilities) */ 'capabilitiesChanged' | 'messageReceived' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3835
|
+
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(capabilities) */ 'capabilitiesChanged' | /* @conditional-compile-remove(spotlight) */ 'spotlightChanged' | 'messageReceived' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3835
3836
|
|
3836
3837
|
/**
|
3837
3838
|
* @beta
|
@@ -4744,26 +4745,6 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
|
|
4744
4745
|
*/
|
4745
4746
|
export declare type ChatReturnProps<Component extends (props: any) => JSX.Element> = GetChatSelector<Component> extends (state: ChatClientState, props: any) => any ? ReturnType<GetChatSelector<Component>> & Common<ChatHandlers, Parameters<Component>[0]> : never;
|
4746
4747
|
|
4747
|
-
/**
|
4748
|
-
* Custom Fluent theme palette used by chat related components in this library.
|
4749
|
-
*
|
4750
|
-
* @beta
|
4751
|
-
*/
|
4752
|
-
export declare interface ChatTheme {
|
4753
|
-
/**
|
4754
|
-
* Custom Fluent theme palette used by chat related components in this library.
|
4755
|
-
*
|
4756
|
-
* @beta
|
4757
|
-
*/
|
4758
|
-
chatPalette: {
|
4759
|
-
modalOverlayBlack: string;
|
4760
|
-
modalTitleWhite: string;
|
4761
|
-
modalButtonBackground: string;
|
4762
|
-
modalButtonBackgroundHover: string;
|
4763
|
-
modalButtonBackgroundActive: string;
|
4764
|
-
};
|
4765
|
-
}
|
4766
|
-
|
4767
4748
|
/**
|
4768
4749
|
* A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
|
4769
4750
|
*
|
@@ -5075,8 +5056,8 @@ export declare interface CommonCallingHandlers {
|
|
5075
5056
|
onSetSpokenLanguage: (language: string) => Promise<void>;
|
5076
5057
|
onSetCaptionLanguage: (language: string) => Promise<void>;
|
5077
5058
|
onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
5078
|
-
onStartSpotlight: (
|
5079
|
-
onStopSpotlight: (
|
5059
|
+
onStartSpotlight: (userIds?: string[]) => Promise<void>;
|
5060
|
+
onStopSpotlight: (userIds?: string[]) => Promise<void>;
|
5080
5061
|
}
|
5081
5062
|
|
5082
5063
|
/**
|
@@ -6108,7 +6089,7 @@ export declare interface CustomMessage extends MessageCommon {
|
|
6108
6089
|
*
|
6109
6090
|
* @public
|
6110
6091
|
*/
|
6111
|
-
export declare const darkTheme: PartialTheme & CallingTheme
|
6092
|
+
export declare const darkTheme: PartialTheme & CallingTheme;
|
6112
6093
|
|
6113
6094
|
/**
|
6114
6095
|
* @beta
|
@@ -6973,6 +6954,10 @@ export declare interface ErrorBarStrings {
|
|
6973
6954
|
* Unable to start effect
|
6974
6955
|
*/
|
6975
6956
|
unableToStartVideoEffect?: string;
|
6957
|
+
/**
|
6958
|
+
* An error message when starting spotlight while max participants are spotlighted
|
6959
|
+
*/
|
6960
|
+
startSpotlightWhileMaxParticipantsAreSpotlighted: string;
|
6976
6961
|
}
|
6977
6962
|
|
6978
6963
|
/**
|
@@ -7468,13 +7453,9 @@ export declare interface ImageOverlayProps {
|
|
7468
7453
|
*/
|
7469
7454
|
onDismiss: () => void;
|
7470
7455
|
/**
|
7471
|
-
*
|
7456
|
+
* Optional callback called when the download button is clicked. If not provided, the download button will not be rendered.
|
7472
7457
|
*/
|
7473
|
-
onDownloadButtonClicked
|
7474
|
-
/**
|
7475
|
-
* Callback called when there's an error loading the image.
|
7476
|
-
*/
|
7477
|
-
onError?: (event: SyntheticEvent<HTMLImageElement, Event>) => void;
|
7458
|
+
onDownloadButtonClicked?: (imageSrc: string) => void;
|
7478
7459
|
}
|
7479
7460
|
|
7480
7461
|
/**
|
@@ -7493,6 +7474,13 @@ export declare interface ImageOverlayStrings {
|
|
7493
7474
|
dismissButtonAriaLabel: string;
|
7494
7475
|
}
|
7495
7476
|
|
7477
|
+
/**
|
7478
|
+
* Preset dark theme for the ImageOverlay component.
|
7479
|
+
*
|
7480
|
+
* @beta
|
7481
|
+
*/
|
7482
|
+
export declare const imageOverlayTheme: PartialTheme;
|
7483
|
+
|
7496
7484
|
/**
|
7497
7485
|
* @beta
|
7498
7486
|
* This contains a readonly array that returns all the active `incomingCalls`.
|
@@ -7679,7 +7667,7 @@ export declare interface JumpToNewMessageButtonProps {
|
|
7679
7667
|
*
|
7680
7668
|
* @public
|
7681
7669
|
*/
|
7682
|
-
export declare const lightTheme: PartialTheme & CallingTheme
|
7670
|
+
export declare const lightTheme: PartialTheme & CallingTheme;
|
7683
7671
|
|
7684
7672
|
/**
|
7685
7673
|
* Whether the stream is loading or not.
|
@@ -8835,11 +8823,6 @@ export declare type ParticipantListProps = {
|
|
8835
8823
|
onFetchParticipantMenuItems?: ParticipantMenuItemsCallback;
|
8836
8824
|
/** Optional callback when rendered ParticipantItem is clicked */
|
8837
8825
|
onParticipantClick?: (participant?: ParticipantListParticipant) => void;
|
8838
|
-
/** Optional callback to generate context menu item to stop spotlight of each participant */
|
8839
|
-
onStartSpotlight?: (userId: string) => void;
|
8840
|
-
/** Optional callback to generate context menu item to stop spotlight of each participant */
|
8841
|
-
onStopSpotlight?: (userId: string) => void;
|
8842
|
-
/** Styles for the {@link ParticipantList} */
|
8843
8826
|
styles?: ParticipantListStyles;
|
8844
8827
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8845
8828
|
showParticipantOverflowTooltip?: boolean;
|
@@ -9395,7 +9378,7 @@ export declare interface RemoteParticipantState {
|
|
9395
9378
|
/**
|
9396
9379
|
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature.spotlightedParticipants}.
|
9397
9380
|
*/
|
9398
|
-
|
9381
|
+
spotlight?: SpotlightState;
|
9399
9382
|
}
|
9400
9383
|
|
9401
9384
|
/**
|
@@ -9785,7 +9768,7 @@ export declare type Spotlight = {
|
|
9785
9768
|
/**
|
9786
9769
|
* Specifies the order position of the spotlight
|
9787
9770
|
*/
|
9788
|
-
|
9771
|
+
spotlightedOrderPosition?: number;
|
9789
9772
|
};
|
9790
9773
|
|
9791
9774
|
/**
|
@@ -9798,8 +9781,22 @@ export declare interface SpotlightCallFeatureState {
|
|
9798
9781
|
* Ordered array of spotlighted participants in call
|
9799
9782
|
*/
|
9800
9783
|
spotlightedParticipants: SpotlightedParticipant[];
|
9784
|
+
/**
|
9785
|
+
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature.maxParticipantsToSpotlight}.
|
9786
|
+
*/
|
9787
|
+
maxParticipantsToSpotlight: number;
|
9801
9788
|
}
|
9802
9789
|
|
9790
|
+
/**
|
9791
|
+
* Callback for {@link CallAdapterSubscribers} 'spotlightChanged' event.
|
9792
|
+
*
|
9793
|
+
* @public
|
9794
|
+
*/
|
9795
|
+
export declare type SpotlightChangedListener = (args: {
|
9796
|
+
added: SpotlightedParticipant[];
|
9797
|
+
removed: SpotlightedParticipant[];
|
9798
|
+
}) => void;
|
9799
|
+
|
9803
9800
|
/**
|
9804
9801
|
* Strings used in prompt related to spotlight
|
9805
9802
|
* @beta
|
@@ -10985,6 +10982,8 @@ export declare type VideoGalleryParticipant = {
|
|
10985
10982
|
videoStream?: VideoGalleryStream;
|
10986
10983
|
/** Whether participant is screen sharing or not */
|
10987
10984
|
isScreenSharingOn?: boolean;
|
10985
|
+
/** Whether participant is spotlighted **/
|
10986
|
+
spotlight?: Spotlight;
|
10988
10987
|
};
|
10989
10988
|
|
10990
10989
|
/**
|
@@ -11073,13 +11072,17 @@ export declare interface VideoGalleryProps {
|
|
11073
11072
|
*/
|
11074
11073
|
spotlightedParticipants?: string[];
|
11075
11074
|
/**
|
11076
|
-
* This callback will be called when spotlight is started for participant video
|
11075
|
+
* This callback will be called when spotlight is started for participant video tiles.
|
11076
|
+
*/
|
11077
|
+
onStartSpotlight?: (userIds?: string[]) => Promise<void>;
|
11078
|
+
/**
|
11079
|
+
* This callback will be called when spotlight is stopped for participant video tiles.
|
11077
11080
|
*/
|
11078
|
-
|
11081
|
+
onStopSpotlight?: (userIds?: string[]) => Promise<void>;
|
11079
11082
|
/**
|
11080
|
-
*
|
11083
|
+
* Maximum participants that can be spotlighted
|
11081
11084
|
*/
|
11082
|
-
|
11085
|
+
maxParticipantsToSpotlight?: number;
|
11083
11086
|
/**
|
11084
11087
|
* Options for showing the remote video tile menu.
|
11085
11088
|
*
|
@@ -11142,6 +11145,7 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
|
|
11142
11145
|
dominantSpeakers?: string[];
|
11143
11146
|
optimalVideoCount?: number;
|
11144
11147
|
spotlightedParticipants?: string[];
|
11148
|
+
maxParticipantsToSpotlight?: number;
|
11145
11149
|
};
|
11146
11150
|
|
11147
11151
|
/**
|
@@ -11209,6 +11213,8 @@ export declare interface VideoGalleryStrings {
|
|
11209
11213
|
startSpotlightVideoTileMenuLabel: string;
|
11210
11214
|
/** Menu text shown in Video Tile contextual menu to add spotlight to participant's video tile */
|
11211
11215
|
addSpotlightVideoTileMenuLabel: string;
|
11216
|
+
/** Menu title for start spotlight menu item when spotlight limit is reached */
|
11217
|
+
spotlightLimitReachedMenuTitle: string;
|
11212
11218
|
/** Menu text shown in Video Tile contextual menu to stop spotlight on participant's video tile */
|
11213
11219
|
stopSpotlightVideoTileMenuLabel: string;
|
11214
11220
|
/** Menu text shown in Video Tile contextual menu to stop spotlight on local user's video tile */
|