@azure/communication-react 1.12.1-alpha-202401300049 → 1.12.1-alpha-202402010012
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 +48 -12
- package/dist/dist-cjs/communication-react/index.js +229 -84
- 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/react-components/src/components/Dialpad/Dialpad.js +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +0 -4
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +5 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +3 -0
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +9 -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 +7 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +57 -19
- 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 +17 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +12 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +5 -3
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +5 -1
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +6 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -0
- package/dist/dist-esm/react-components/src/theming/icons.js +5 -1
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +16 -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.js +6 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +19 -9
- 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/MediaGallery.js +11 -3
- 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/SidePane/usePeoplePane.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +70 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +3 -3
- 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 +3 -3
- 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/CallWithChatBackedChatAdapter.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +5 -9
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +3 -2
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +4 -0
- package/package.json +1 -1
@@ -247,10 +247,6 @@ export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : fal
|
|
247
247
|
* @beta
|
248
248
|
*/
|
249
249
|
export declare interface AttachmentDownloadResult {
|
250
|
-
/**
|
251
|
-
* Unique ID of the attachment.
|
252
|
-
*/
|
253
|
-
attachmentId: string;
|
254
250
|
/**
|
255
251
|
* Blob URL for the attachment.
|
256
252
|
*/
|
@@ -1919,6 +1915,22 @@ export declare interface CallCompositeStrings {
|
|
1919
1915
|
* Label for menu item to remove participant
|
1920
1916
|
*/
|
1921
1917
|
removeMenuLabel: string;
|
1918
|
+
/**
|
1919
|
+
* Label for menu item to start spotlight on participant
|
1920
|
+
*/
|
1921
|
+
startSpotlightParticipantListMenuLabel: string;
|
1922
|
+
/**
|
1923
|
+
* Label for menu item to add spotlight on participant
|
1924
|
+
*/
|
1925
|
+
addSpotlightParticipantListMenuLabel: string;
|
1926
|
+
/**
|
1927
|
+
* Label for menu item to stop spotlight on participant
|
1928
|
+
*/
|
1929
|
+
stopSpotlightParticipantListMenuLabel: string;
|
1930
|
+
/**
|
1931
|
+
* Label for menu item to stop spotlight on local user
|
1932
|
+
*/
|
1933
|
+
stopSpotlightOnSelfParticipantListMenuLabel: string;
|
1922
1934
|
/**
|
1923
1935
|
* Label for add people dropdown
|
1924
1936
|
*/
|
@@ -3071,9 +3083,9 @@ export declare interface CallWithChatAdapterManagement {
|
|
3071
3083
|
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
3072
3084
|
/** @beta */
|
3073
3085
|
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
3074
|
-
|
3075
|
-
|
3076
|
-
}) => Promise<AttachmentDownloadResult
|
3086
|
+
downloadAttachment: (options: {
|
3087
|
+
attachmentUrl: string;
|
3088
|
+
}) => Promise<AttachmentDownloadResult>;
|
3077
3089
|
/**
|
3078
3090
|
* Puts the Call in a Localhold.
|
3079
3091
|
*
|
@@ -4327,9 +4339,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
4327
4339
|
*
|
4328
4340
|
*/
|
4329
4341
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
4330
|
-
|
4331
|
-
|
4332
|
-
}) => Promise<AttachmentDownloadResult
|
4342
|
+
downloadAttachment: (options: {
|
4343
|
+
attachmentUrl: string;
|
4344
|
+
}) => Promise<AttachmentDownloadResult>;
|
4333
4345
|
}
|
4334
4346
|
|
4335
4347
|
/**
|
@@ -6128,6 +6140,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
6128
6140
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6129
6141
|
SurveyStarIcon: React_2.JSX.Element;
|
6130
6142
|
SurveyStarIconFilled: React_2.JSX.Element;
|
6143
|
+
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
6144
|
+
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
6131
6145
|
VideoSpotlighted: React_2.JSX.Element;
|
6132
6146
|
};
|
6133
6147
|
|
@@ -6274,6 +6288,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6274
6288
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6275
6289
|
SurveyStarIcon: React_2.JSX.Element;
|
6276
6290
|
SurveyStarIconFilled: React_2.JSX.Element;
|
6291
|
+
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
6292
|
+
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
6277
6293
|
VideoSpotlighted: React_2.JSX.Element;
|
6278
6294
|
};
|
6279
6295
|
|
@@ -8749,6 +8765,10 @@ export declare type ParticipantListProps = {
|
|
8749
8765
|
onFetchParticipantMenuItems?: ParticipantMenuItemsCallback;
|
8750
8766
|
/** Optional callback when rendered ParticipantItem is clicked */
|
8751
8767
|
onParticipantClick?: (participant?: ParticipantListParticipant) => void;
|
8768
|
+
/** Optional callback to generate context menu item to stop spotlight of each participant */
|
8769
|
+
onStartSpotlight?: (userId: string) => void;
|
8770
|
+
/** Optional callback to generate context menu item to stop spotlight of each participant */
|
8771
|
+
onStopSpotlight?: (userId: string) => void;
|
8752
8772
|
/** Styles for the {@link ParticipantList} */
|
8753
8773
|
styles?: ParticipantListStyles;
|
8754
8774
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
@@ -8757,7 +8777,7 @@ export declare type ParticipantListProps = {
|
|
8757
8777
|
totalParticipantCount?: number;
|
8758
8778
|
/** Strings for the participant list */
|
8759
8779
|
strings?: ParticipantListStrings;
|
8760
|
-
/** Optional aria-
|
8780
|
+
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
8761
8781
|
participantAriaLabelledBy?: string;
|
8762
8782
|
};
|
8763
8783
|
|
@@ -10901,6 +10921,14 @@ export declare interface VideoGalleryProps {
|
|
10901
10921
|
* List of spotlighted participant userIds.
|
10902
10922
|
*/
|
10903
10923
|
spotlightedParticipants?: string[];
|
10924
|
+
/**
|
10925
|
+
* This callback will be called when spotlight is started for participant video tile.
|
10926
|
+
*/
|
10927
|
+
onStartSpotlight?: (userId: string) => Promise<void>;
|
10928
|
+
/**
|
10929
|
+
* This callback will be called when spotlight is stopped for participant video tile.
|
10930
|
+
*/
|
10931
|
+
onStopSpotlight?: (userId: string) => Promise<void>;
|
10904
10932
|
/**
|
10905
10933
|
* Options for showing the remote video tile menu.
|
10906
10934
|
*
|
@@ -11015,7 +11043,7 @@ export declare interface VideoGalleryStrings {
|
|
11015
11043
|
fillRemoteParticipantFrame: string;
|
11016
11044
|
/** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
|
11017
11045
|
pinParticipantForMe: string;
|
11018
|
-
/** Menu text shown in Video Tile contextual menu for
|
11046
|
+
/** Menu text shown in Video Tile contextual menu for unpinning a remote participant's video tile */
|
11019
11047
|
unpinParticipantForMe: string;
|
11020
11048
|
/** Aria label for pin participant menu item of remote participant's video tile */
|
11021
11049
|
pinParticipantMenuItemAriaLabel: string;
|
@@ -11025,6 +11053,14 @@ export declare interface VideoGalleryStrings {
|
|
11025
11053
|
pinnedParticipantAnnouncementAriaLabel: string;
|
11026
11054
|
/** Aria label to announce when remote participant's video tile is unpinned */
|
11027
11055
|
unpinnedParticipantAnnouncementAriaLabel: string;
|
11056
|
+
/** Menu text shown in Video Tile contextual menu to start spotlight on participant's video tile */
|
11057
|
+
startSpotlightVideoTileMenuLabel: string;
|
11058
|
+
/** Menu text shown in Video Tile contextual menu to add spotlight to participant's video tile */
|
11059
|
+
addSpotlightVideoTileMenuLabel: string;
|
11060
|
+
/** Menu text shown in Video Tile contextual menu to stop spotlight on participant's video tile */
|
11061
|
+
stopSpotlightVideoTileMenuLabel: string;
|
11062
|
+
/** Menu text shown in Video Tile contextual menu to stop spotlight on local user's video tile */
|
11063
|
+
stopSpotlightOnSelfVideoTileMenuLabel: string;
|
11028
11064
|
}
|
11029
11065
|
|
11030
11066
|
/**
|