@azure/communication-react 1.12.1-alpha-202401300049 → 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 +42 -2
- package/dist/dist-cjs/communication-react/index.js +210 -63
- 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/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/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/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
@@ -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
|
|
@@ -8749,6 +8769,10 @@ export declare type ParticipantListProps = {
|
|
8749
8769
|
onFetchParticipantMenuItems?: ParticipantMenuItemsCallback;
|
8750
8770
|
/** Optional callback when rendered ParticipantItem is clicked */
|
8751
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;
|
8752
8776
|
/** Styles for the {@link ParticipantList} */
|
8753
8777
|
styles?: ParticipantListStyles;
|
8754
8778
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
@@ -8757,7 +8781,7 @@ export declare type ParticipantListProps = {
|
|
8757
8781
|
totalParticipantCount?: number;
|
8758
8782
|
/** Strings for the participant list */
|
8759
8783
|
strings?: ParticipantListStrings;
|
8760
|
-
/** Optional aria-
|
8784
|
+
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
8761
8785
|
participantAriaLabelledBy?: string;
|
8762
8786
|
};
|
8763
8787
|
|
@@ -10901,6 +10925,14 @@ export declare interface VideoGalleryProps {
|
|
10901
10925
|
* List of spotlighted participant userIds.
|
10902
10926
|
*/
|
10903
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>;
|
10904
10936
|
/**
|
10905
10937
|
* Options for showing the remote video tile menu.
|
10906
10938
|
*
|
@@ -11015,7 +11047,7 @@ export declare interface VideoGalleryStrings {
|
|
11015
11047
|
fillRemoteParticipantFrame: string;
|
11016
11048
|
/** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
|
11017
11049
|
pinParticipantForMe: string;
|
11018
|
-
/** 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 */
|
11019
11051
|
unpinParticipantForMe: string;
|
11020
11052
|
/** Aria label for pin participant menu item of remote participant's video tile */
|
11021
11053
|
pinParticipantMenuItemAriaLabel: string;
|
@@ -11025,6 +11057,14 @@ export declare interface VideoGalleryStrings {
|
|
11025
11057
|
pinnedParticipantAnnouncementAriaLabel: string;
|
11026
11058
|
/** Aria label to announce when remote participant's video tile is unpinned */
|
11027
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;
|
11028
11068
|
}
|
11029
11069
|
|
11030
11070
|
/**
|