@azure/communication-react 1.12.1-alpha-202401280013 → 1.12.1-alpha-202401310012
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 -3
- package/dist/dist-cjs/communication-react/index.js +326 -189
- 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/communication-react/src/index.d.ts +1 -0
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +2 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +2 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +4 -21
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +2 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +24 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +10 -13
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +3 -3
- package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +2 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.js +2 -2
- package/dist/dist-esm/react-components/src/components/MessageThread.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/index.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/index.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/ChatComposite/ChatScreen.js +11 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.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/dist/tsdoc-metadata.json +1 -1
- package/package.json +6 -6
@@ -1919,6 +1919,22 @@ export declare interface CallCompositeStrings {
|
|
1919
1919
|
* Label for menu item to remove participant
|
1920
1920
|
*/
|
1921
1921
|
removeMenuLabel: string;
|
1922
|
+
/**
|
1923
|
+
* Label for menu item to start spotlight on participant
|
1924
|
+
*/
|
1925
|
+
startSpotlightParticipantListMenuLabel: string;
|
1926
|
+
/**
|
1927
|
+
* Label for menu item to add spotlight on participant
|
1928
|
+
*/
|
1929
|
+
addSpotlightParticipantListMenuLabel: string;
|
1930
|
+
/**
|
1931
|
+
* Label for menu item to stop spotlight on participant
|
1932
|
+
*/
|
1933
|
+
stopSpotlightParticipantListMenuLabel: string;
|
1934
|
+
/**
|
1935
|
+
* Label for menu item to stop spotlight on local user
|
1936
|
+
*/
|
1937
|
+
stopSpotlightOnSelfParticipantListMenuLabel: string;
|
1922
1938
|
/**
|
1923
1939
|
* Label for add people dropdown
|
1924
1940
|
*/
|
@@ -6128,6 +6144,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
6128
6144
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6129
6145
|
SurveyStarIcon: React_2.JSX.Element;
|
6130
6146
|
SurveyStarIconFilled: React_2.JSX.Element;
|
6147
|
+
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
6148
|
+
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
6131
6149
|
VideoSpotlighted: React_2.JSX.Element;
|
6132
6150
|
};
|
6133
6151
|
|
@@ -6274,6 +6292,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6274
6292
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6275
6293
|
SurveyStarIcon: React_2.JSX.Element;
|
6276
6294
|
SurveyStarIconFilled: React_2.JSX.Element;
|
6295
|
+
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
6296
|
+
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
6277
6297
|
VideoSpotlighted: React_2.JSX.Element;
|
6278
6298
|
};
|
6279
6299
|
|
@@ -7453,6 +7473,18 @@ export declare interface IncomingCallState {
|
|
7453
7473
|
endTime?: Date;
|
7454
7474
|
}
|
7455
7475
|
|
7476
|
+
/**
|
7477
|
+
* InlineImage's state, as reflected in the UI.
|
7478
|
+
*
|
7479
|
+
* @beta
|
7480
|
+
*/
|
7481
|
+
export declare interface InlineImage {
|
7482
|
+
/** ID of the message that the inline image is belonged to */
|
7483
|
+
messageId: string;
|
7484
|
+
/** Attributes of the inline image */
|
7485
|
+
imgAttrs: React_2.ImgHTMLAttributes<HTMLImageElement>;
|
7486
|
+
}
|
7487
|
+
|
7456
7488
|
/**
|
7457
7489
|
* Metadata for rendering images inline with a message.
|
7458
7490
|
* This does not include images attached as files.
|
@@ -7471,6 +7503,18 @@ export declare interface InlineImageMetadata {
|
|
7471
7503
|
url: string;
|
7472
7504
|
}
|
7473
7505
|
|
7506
|
+
/**
|
7507
|
+
* Options to display inline image in the inline image scenario.
|
7508
|
+
*
|
7509
|
+
* @beta
|
7510
|
+
*/
|
7511
|
+
export declare interface InlineImageOptions {
|
7512
|
+
/**
|
7513
|
+
* Optional callback to render an inline image of in a message.
|
7514
|
+
*/
|
7515
|
+
onRenderInlineImage?: (inlineImage: InlineImage, defaultOnRender: (inlineImage: InlineImage) => JSX.Element) => JSX.Element;
|
7516
|
+
}
|
7517
|
+
|
7474
7518
|
/**
|
7475
7519
|
* Callback for {@link CallAdapterSubscribers} 'isCaptionLanguageChanged' event.
|
7476
7520
|
*
|
@@ -8163,7 +8207,7 @@ export declare type MessageThreadProps = {
|
|
8163
8207
|
* Optional callback called when an inline image is clicked.
|
8164
8208
|
* @beta
|
8165
8209
|
*/
|
8166
|
-
|
8210
|
+
inlineImageOptions?: InlineImageOptions;
|
8167
8211
|
};
|
8168
8212
|
|
8169
8213
|
/**
|
@@ -8725,6 +8769,10 @@ export declare type ParticipantListProps = {
|
|
8725
8769
|
onFetchParticipantMenuItems?: ParticipantMenuItemsCallback;
|
8726
8770
|
/** Optional callback when rendered ParticipantItem is clicked */
|
8727
8771
|
onParticipantClick?: (participant?: ParticipantListParticipant) => void;
|
8772
|
+
/** Optional callback to generate context menu item to stop spotlight of each participant */
|
8773
|
+
onStartSpotlight?: (userId: string) => void;
|
8774
|
+
/** Optional callback to generate context menu item to stop spotlight of each participant */
|
8775
|
+
onStopSpotlight?: (userId: string) => void;
|
8728
8776
|
/** Styles for the {@link ParticipantList} */
|
8729
8777
|
styles?: ParticipantListStyles;
|
8730
8778
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
@@ -8733,7 +8781,7 @@ export declare type ParticipantListProps = {
|
|
8733
8781
|
totalParticipantCount?: number;
|
8734
8782
|
/** Strings for the participant list */
|
8735
8783
|
strings?: ParticipantListStrings;
|
8736
|
-
/** Optional aria-
|
8784
|
+
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
8737
8785
|
participantAriaLabelledBy?: string;
|
8738
8786
|
};
|
8739
8787
|
|
@@ -10877,6 +10925,14 @@ export declare interface VideoGalleryProps {
|
|
10877
10925
|
* List of spotlighted participant userIds.
|
10878
10926
|
*/
|
10879
10927
|
spotlightedParticipants?: string[];
|
10928
|
+
/**
|
10929
|
+
* This callback will be called when spotlight is started for participant video tile.
|
10930
|
+
*/
|
10931
|
+
onStartSpotlight?: (userId: string) => Promise<void>;
|
10932
|
+
/**
|
10933
|
+
* This callback will be called when spotlight is stopped for participant video tile.
|
10934
|
+
*/
|
10935
|
+
onStopSpotlight?: (userId: string) => Promise<void>;
|
10880
10936
|
/**
|
10881
10937
|
* Options for showing the remote video tile menu.
|
10882
10938
|
*
|
@@ -10991,7 +11047,7 @@ export declare interface VideoGalleryStrings {
|
|
10991
11047
|
fillRemoteParticipantFrame: string;
|
10992
11048
|
/** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
|
10993
11049
|
pinParticipantForMe: string;
|
10994
|
-
/** Menu text shown in Video Tile contextual menu for
|
11050
|
+
/** Menu text shown in Video Tile contextual menu for unpinning a remote participant's video tile */
|
10995
11051
|
unpinParticipantForMe: string;
|
10996
11052
|
/** Aria label for pin participant menu item of remote participant's video tile */
|
10997
11053
|
pinParticipantMenuItemAriaLabel: string;
|
@@ -11001,6 +11057,14 @@ export declare interface VideoGalleryStrings {
|
|
11001
11057
|
pinnedParticipantAnnouncementAriaLabel: string;
|
11002
11058
|
/** Aria label to announce when remote participant's video tile is unpinned */
|
11003
11059
|
unpinnedParticipantAnnouncementAriaLabel: string;
|
11060
|
+
/** Menu text shown in Video Tile contextual menu to start spotlight on participant's video tile */
|
11061
|
+
startSpotlightVideoTileMenuLabel: string;
|
11062
|
+
/** Menu text shown in Video Tile contextual menu to add spotlight to participant's video tile */
|
11063
|
+
addSpotlightVideoTileMenuLabel: string;
|
11064
|
+
/** Menu text shown in Video Tile contextual menu to stop spotlight on participant's video tile */
|
11065
|
+
stopSpotlightVideoTileMenuLabel: string;
|
11066
|
+
/** Menu text shown in Video Tile contextual menu to stop spotlight on local user's video tile */
|
11067
|
+
stopSpotlightOnSelfVideoTileMenuLabel: string;
|
11004
11068
|
}
|
11005
11069
|
|
11006
11070
|
/**
|