@azure/communication-react 1.7.0-alpha-202307280013 → 1.7.0-alpha-202308010015
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 +35 -22
- package/dist/dist-cjs/communication-react/index.js +274 -244
- 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.js +6 -2
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +19 -6
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +19 -5
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +2 -3
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +10 -8
- 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 +2 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +5 -2
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +11 -3
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +25 -0
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js +1 -0
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +3 -0
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +26 -0
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +7 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +5 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.d.ts +17 -0
- package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js +35 -0
- package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +2 -0
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +0 -1
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +1 -5
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +7 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +0 -2
- package/dist/dist-esm/react-components/src/index.js +0 -2
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +0 -3
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +5 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +1 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +10 -18
- 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 +4 -7
- 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.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +9 -11
- 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/CallControls.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +9 -19
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +8 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +32 -18
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +10 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +13 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +10 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +10 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +7 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +5 -5
- 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/CallWithChatBackedCallAdapter.js +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +3 -13
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +11 -11
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +4 -5
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/package.json +8 -8
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts +0 -61
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js +0 -74
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +0 -1
- package/dist/dist-esm/react-components/src/permissions/index.d.ts +0 -2
- package/dist/dist-esm/react-components/src/permissions/index.js +0 -4
- package/dist/dist-esm/react-components/src/permissions/index.js.map +0 -1
@@ -82,6 +82,7 @@ import { PersonaSize } from '@fluentui/react';
|
|
82
82
|
import { PhoneNumberIdentifier } from '@azure/communication-common';
|
83
83
|
import { PhoneNumberKind } from '@azure/communication-common';
|
84
84
|
import { PropertyChangedEvent } from '@azure/communication-calling';
|
85
|
+
import { RaisedHand } from '@azure/communication-calling';
|
85
86
|
import { default as React_2 } from 'react';
|
86
87
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
87
88
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
@@ -314,14 +315,7 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
314
315
|
*
|
315
316
|
* @beta
|
316
317
|
*/
|
317
|
-
export declare type AzureCommunicationCallAdapterOptions =
|
318
|
-
/**
|
319
|
-
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
320
|
-
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
321
|
-
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
322
|
-
*/
|
323
|
-
roleHint?: Role;
|
324
|
-
} & CommonCallAdapterOptions;
|
318
|
+
export declare type AzureCommunicationCallAdapterOptions = CommonCallAdapterOptions;
|
325
319
|
|
326
320
|
/**
|
327
321
|
* Arguments for {@link createAzureCommunicationCallWithChatAdapter}
|
@@ -906,6 +900,10 @@ export declare type CallAdapterClientState = {
|
|
906
900
|
devices: DeviceManagerState;
|
907
901
|
endedCall?: CallState;
|
908
902
|
isTeamsCall: boolean;
|
903
|
+
/**
|
904
|
+
* State to track whether the call is a rooms call.
|
905
|
+
*/
|
906
|
+
isRoomsCall: boolean;
|
909
907
|
/**
|
910
908
|
* Latest error encountered for each operation performed via the adapter.
|
911
909
|
*/
|
@@ -918,12 +916,6 @@ export declare type CallAdapterClientState = {
|
|
918
916
|
* Environment information about system the adapter is made on
|
919
917
|
*/
|
920
918
|
environmentInfo?: EnvironmentInfo;
|
921
|
-
/**
|
922
|
-
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
923
|
-
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
924
|
-
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
925
|
-
*/
|
926
|
-
roleHint?: Role;
|
927
919
|
/**
|
928
920
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
929
921
|
* control bar with the CallComposite.
|
@@ -2175,8 +2167,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
2175
2167
|
isMuted?: boolean;
|
2176
2168
|
/** Whether calling participant is speaking */
|
2177
2169
|
isSpeaking?: boolean;
|
2178
|
-
/** Role of participant in Rooms call */
|
2179
|
-
role?: Role;
|
2180
2170
|
};
|
2181
2171
|
|
2182
2172
|
/**
|
@@ -2296,6 +2286,10 @@ export declare interface CallState {
|
|
2296
2286
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
|
2297
2287
|
*/
|
2298
2288
|
recording: RecordingCallFeature;
|
2289
|
+
/**
|
2290
|
+
* Proxy of {@link @azure/communication-calling#RaiseHandCallFeature}.
|
2291
|
+
*/
|
2292
|
+
raiseHand: RaiseHandCallFeature;
|
2299
2293
|
/**
|
2300
2294
|
* Stores the currently active screenshare participant's key. If there is no screenshare active, then this will be
|
2301
2295
|
* undefined. You can use this key to access the remoteParticipant data in {@link CallState.remoteParticipants} object.
|
@@ -2818,6 +2812,8 @@ export declare interface CallWithChatClientState {
|
|
2818
2812
|
devices: DeviceManagerState;
|
2819
2813
|
/** State of whether the active call is a Teams interop call */
|
2820
2814
|
isTeamsCall: boolean;
|
2815
|
+
/** State of whether the active call is a rooms call */
|
2816
|
+
isRoomsCall: boolean;
|
2821
2817
|
/** alternateCallerId for PSTN call */
|
2822
2818
|
alternateCallerId?: string | undefined;
|
2823
2819
|
/** Environment information for system adapter is made on */
|
@@ -8060,6 +8056,23 @@ export declare type Profile = {
|
|
8060
8056
|
displayName?: string;
|
8061
8057
|
};
|
8062
8058
|
|
8059
|
+
/**
|
8060
|
+
* State only version of {@link @azure/communication-calling#RaiseHandCallFeature}. {@link StatefulCallClient} will
|
8061
|
+
* automatically listen for raised hands on the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
8062
|
+
*
|
8063
|
+
* @public
|
8064
|
+
*/
|
8065
|
+
export declare interface RaiseHandCallFeature {
|
8066
|
+
/**
|
8067
|
+
* Proxy of {@link @azure/communication-calling#RaiseHandCallFeature.raisedHands}.
|
8068
|
+
*/
|
8069
|
+
raisedHands: RaisedHand[];
|
8070
|
+
/**
|
8071
|
+
* Contains information for local participant from list {@link @azure/communication-calling#RaiseHandCallFeature.raisedHands}.
|
8072
|
+
*/
|
8073
|
+
localParticipantRaisedHand?: RaisedHand;
|
8074
|
+
}
|
8075
|
+
|
8063
8076
|
/**
|
8064
8077
|
* An array of key value pairs that stores each sender's display name and last read message
|
8065
8078
|
*
|
@@ -8127,6 +8140,10 @@ export declare interface RemoteParticipantState {
|
|
8127
8140
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
|
8128
8141
|
*/
|
8129
8142
|
role?: ParticipantRole;
|
8143
|
+
/**
|
8144
|
+
* Proxy of {@link @azure/communication-calling#Call.RaisedHand.raisedHands}.
|
8145
|
+
*/
|
8146
|
+
raisedHand?: RaisedHand;
|
8130
8147
|
}
|
8131
8148
|
|
8132
8149
|
/**
|
@@ -8173,12 +8190,6 @@ export declare interface RemoteVideoTileMenuOptions {
|
|
8173
8190
|
isHidden?: boolean;
|
8174
8191
|
}
|
8175
8192
|
|
8176
|
-
/**
|
8177
|
-
* @beta
|
8178
|
-
* The role of a call participant.
|
8179
|
-
*/
|
8180
|
-
export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer' | 'Co-organizer';
|
8181
|
-
|
8182
8193
|
/**
|
8183
8194
|
* A button to start / stop screen sharing.
|
8184
8195
|
*
|
@@ -8477,6 +8488,8 @@ export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
|
8477
8488
|
* - RemoteVideoStream 'isAvailableChanged'
|
8478
8489
|
* - TranscriptionCallFeature 'isTranscriptionActiveChanged'
|
8479
8490
|
* - RecordingCallFeature 'isRecordingActiveChanged'
|
8491
|
+
* - RaiseHandCallFeature 'raisedHandEvent'
|
8492
|
+
* - RaiseHandCallFeature 'loweredHandEvent'
|
8480
8493
|
*
|
8481
8494
|
* @public
|
8482
8495
|
*/
|