@azure/communication-react 1.13.0-alpha-202402140012 → 1.13.0-alpha-202402161702
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 +26 -42
- package/dist/dist-cjs/communication-react/index.js +145 -168
- 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-stateful-client/src/CallClientState.d.ts +2 -2
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +8 -12
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.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 +16 -15
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.d.ts +12 -8
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js +34 -43
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.d.ts +2 -0
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +3 -2
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +8 -21
- package/dist/dist-esm/react-components/src/theming/themes.js +10 -16
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +1 -1
- 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 +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +8 -44
- 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 +5 -5
- 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 -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/index.d.ts +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/CallPage.js +1 -16
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +3 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +11 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.d.ts +3 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +17 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Survey.js +4 -11
- package/dist/dist-esm/react-composites/src/composites/common/Survey.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.d.ts +10 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js +36 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js.map +1 -0
- package/package.json +2 -2
@@ -98,12 +98,11 @@ 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';
|
105
104
|
import { Theme } from '@fluentui/react';
|
106
|
-
import {
|
105
|
+
import { TransferEventArgs } from '@azure/communication-calling';
|
107
106
|
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
108
107
|
import { UnknownIdentifier } from '@azure/communication-common';
|
109
108
|
import { VideoDeviceInfo } from '@azure/communication-calling';
|
@@ -114,7 +113,7 @@ import { VideoStreamRendererView } from '@azure/communication-calling';
|
|
114
113
|
/**
|
115
114
|
* Transfer feature state
|
116
115
|
*
|
117
|
-
* @
|
116
|
+
* @public
|
118
117
|
*/
|
119
118
|
export declare interface AcceptedTransfer {
|
120
119
|
/**
|
@@ -1180,7 +1179,7 @@ export declare interface CallAdapterSubscribers {
|
|
1180
1179
|
/**
|
1181
1180
|
* Subscribe function for 'transferRequested' event.
|
1182
1181
|
*/
|
1183
|
-
on(event: '
|
1182
|
+
on(event: 'transferAccepted', listener: TransferAcceptedListener): void;
|
1184
1183
|
/**
|
1185
1184
|
* Subscribe function for 'capabilitiesChanged' event.
|
1186
1185
|
*/
|
@@ -1260,7 +1259,7 @@ export declare interface CallAdapterSubscribers {
|
|
1260
1259
|
/**
|
1261
1260
|
* Unsubscribe function for 'transferRequested' event.
|
1262
1261
|
*/
|
1263
|
-
off(event: '
|
1262
|
+
off(event: 'transferAccepted', listener: TransferAcceptedListener): void;
|
1264
1263
|
/**
|
1265
1264
|
* Unsubscribe function for 'capabilitiesChanged' event.
|
1266
1265
|
*/
|
@@ -2102,7 +2101,7 @@ export declare interface CallCompositeStrings {
|
|
2102
2101
|
/**
|
2103
2102
|
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
2104
2103
|
*/
|
2105
|
-
outboundCallingNoticeString
|
2104
|
+
outboundCallingNoticeString?: string;
|
2106
2105
|
/**
|
2107
2106
|
* Notice to be announced by narrator when a participant joins a call
|
2108
2107
|
*/
|
@@ -4756,26 +4755,6 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
|
|
4756
4755
|
*/
|
4757
4756
|
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;
|
4758
4757
|
|
4759
|
-
/**
|
4760
|
-
* Custom Fluent theme palette used by chat related components in this library.
|
4761
|
-
*
|
4762
|
-
* @beta
|
4763
|
-
*/
|
4764
|
-
export declare interface ChatTheme {
|
4765
|
-
/**
|
4766
|
-
* Custom Fluent theme palette used by chat related components in this library.
|
4767
|
-
*
|
4768
|
-
* @beta
|
4769
|
-
*/
|
4770
|
-
chatPalette: {
|
4771
|
-
modalOverlayBlack: string;
|
4772
|
-
modalTitleWhite: string;
|
4773
|
-
modalButtonBackground: string;
|
4774
|
-
modalButtonBackgroundHover: string;
|
4775
|
-
modalButtonBackgroundActive: string;
|
4776
|
-
};
|
4777
|
-
}
|
4778
|
-
|
4779
4758
|
/**
|
4780
4759
|
* A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
|
4781
4760
|
*
|
@@ -6120,7 +6099,7 @@ export declare interface CustomMessage extends MessageCommon {
|
|
6120
6099
|
*
|
6121
6100
|
* @public
|
6122
6101
|
*/
|
6123
|
-
export declare const darkTheme: PartialTheme & CallingTheme
|
6102
|
+
export declare const darkTheme: PartialTheme & CallingTheme;
|
6124
6103
|
|
6125
6104
|
/**
|
6126
6105
|
* @beta
|
@@ -7223,6 +7202,8 @@ export declare interface FluentThemeProviderProps {
|
|
7223
7202
|
* @defaultValue `false`
|
7224
7203
|
*/
|
7225
7204
|
rtl?: boolean;
|
7205
|
+
/** Optional style to change the root style of the ThemeProvider */
|
7206
|
+
rootStyle?: React_2.CSSProperties | undefined;
|
7226
7207
|
}
|
7227
7208
|
|
7228
7209
|
/**
|
@@ -7484,13 +7465,9 @@ export declare interface ImageOverlayProps {
|
|
7484
7465
|
*/
|
7485
7466
|
onDismiss: () => void;
|
7486
7467
|
/**
|
7487
|
-
*
|
7468
|
+
* Optional callback called when the download button is clicked. If not provided, the download button will not be rendered.
|
7488
7469
|
*/
|
7489
|
-
onDownloadButtonClicked
|
7490
|
-
/**
|
7491
|
-
* Callback called when there's an error loading the image.
|
7492
|
-
*/
|
7493
|
-
onError?: (event: SyntheticEvent<HTMLImageElement, Event>) => void;
|
7470
|
+
onDownloadButtonClicked?: (imageSrc: string) => void;
|
7494
7471
|
}
|
7495
7472
|
|
7496
7473
|
/**
|
@@ -7509,6 +7486,13 @@ export declare interface ImageOverlayStrings {
|
|
7509
7486
|
dismissButtonAriaLabel: string;
|
7510
7487
|
}
|
7511
7488
|
|
7489
|
+
/**
|
7490
|
+
* Preset dark theme for the ImageOverlay component.
|
7491
|
+
*
|
7492
|
+
* @beta
|
7493
|
+
*/
|
7494
|
+
export declare const imageOverlayTheme: PartialTheme;
|
7495
|
+
|
7512
7496
|
/**
|
7513
7497
|
* @beta
|
7514
7498
|
* This contains a readonly array that returns all the active `incomingCalls`.
|
@@ -7695,7 +7679,7 @@ export declare interface JumpToNewMessageButtonProps {
|
|
7695
7679
|
*
|
7696
7680
|
* @public
|
7697
7681
|
*/
|
7698
|
-
export declare const lightTheme: PartialTheme & CallingTheme
|
7682
|
+
export declare const lightTheme: PartialTheme & CallingTheme;
|
7699
7683
|
|
7700
7684
|
/**
|
7701
7685
|
* Whether the stream is loading or not.
|
@@ -10396,10 +10380,17 @@ export declare interface TranscriptionCallFeature {
|
|
10396
10380
|
isTranscriptionActive: boolean;
|
10397
10381
|
}
|
10398
10382
|
|
10383
|
+
/**
|
10384
|
+
* Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
|
10385
|
+
*
|
10386
|
+
* @public
|
10387
|
+
*/
|
10388
|
+
export declare type TransferAcceptedListener = (event: TransferEventArgs) => void;
|
10389
|
+
|
10399
10390
|
/**
|
10400
10391
|
* Transfer feature state
|
10401
10392
|
*
|
10402
|
-
* @
|
10393
|
+
* @public
|
10403
10394
|
*/
|
10404
10395
|
export declare interface TransferFeature {
|
10405
10396
|
/**
|
@@ -10410,13 +10401,6 @@ export declare interface TransferFeature {
|
|
10410
10401
|
};
|
10411
10402
|
}
|
10412
10403
|
|
10413
|
-
/**
|
10414
|
-
* Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
|
10415
|
-
*
|
10416
|
-
* @beta
|
10417
|
-
*/
|
10418
|
-
export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
|
10419
|
-
|
10420
10404
|
/**
|
10421
10405
|
* Component to notify local user when one or more participants in the chat thread are typing.
|
10422
10406
|
*
|