@azure/communication-react 1.13.0-alpha-202402210012 → 1.13.0-alpha-202402220012
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 +30 -4
- package/dist/dist-cjs/communication-react/index.js +586 -302
- 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.d.ts +3 -7
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +4 -12
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +4 -4
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +2 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +35 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +14 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +2 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +1 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +5 -5
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +3 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +9 -3
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +12 -8
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +4 -0
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +11 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +8 -0
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +101 -19
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +8 -3
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +8 -3
- package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +4 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +25 -20
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +2 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +12 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +38 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +8 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +20 -15
- 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 +16 -10
- 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 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +29 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +168 -141
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts +10 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +77 -27
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +15 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js +16 -0
- package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +4 -0
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +4 -2
- package/package.json +1 -1
@@ -1436,6 +1436,7 @@ export declare type CallCompositeIcons = {
|
|
1436
1436
|
ControlButtonMicProhibited?: JSX.Element;
|
1437
1437
|
ControlButtonRaiseHand?: JSX.Element;
|
1438
1438
|
ControlButtonLowerHand?: JSX.Element;
|
1439
|
+
ControlButtonExitSpotlight?: JSX.Element;
|
1439
1440
|
RaiseHandContextualMenuItem?: JSX.Element;
|
1440
1441
|
ReactionContextualMenuItem?: JSX.Element;
|
1441
1442
|
LowerHandContextualMenuItem?: JSX.Element;
|
@@ -2410,6 +2411,14 @@ export declare interface CallCompositeStrings {
|
|
2410
2411
|
* Strings for spotlight prompt
|
2411
2412
|
*/
|
2412
2413
|
spotlightPrompt: SpotlightPromptStrings;
|
2414
|
+
/**
|
2415
|
+
* Label for button to exit spotlight
|
2416
|
+
*/
|
2417
|
+
exitSpotlightButtonLabel: string;
|
2418
|
+
/**
|
2419
|
+
* Tooltip for button to exit spotlight
|
2420
|
+
*/
|
2421
|
+
exitSpotlightButtonTooltip: string;
|
2413
2422
|
}
|
2414
2423
|
|
2415
2424
|
/**
|
@@ -4989,6 +4998,10 @@ export declare type CommonCallControlOptions = {
|
|
4989
4998
|
dtmfDialerButton?: boolean | {
|
4990
4999
|
disabled: boolean;
|
4991
5000
|
};
|
5001
|
+
/**
|
5002
|
+
* Show or hide the exit spotlight button in the composite control bar when local participant is spotlighted.
|
5003
|
+
*/
|
5004
|
+
exitSpotlightButton?: boolean;
|
4992
5005
|
};
|
4993
5006
|
|
4994
5007
|
/**
|
@@ -6223,6 +6236,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6223
6236
|
ControlButtonMicProhibited?: JSX.Element | undefined;
|
6224
6237
|
ControlButtonRaiseHand: JSX.Element;
|
6225
6238
|
ControlButtonLowerHand: JSX.Element;
|
6239
|
+
ControlButtonExitSpotlight?: JSX.Element | undefined;
|
6226
6240
|
RaiseHandContextualMenuItem: JSX.Element;
|
6227
6241
|
ReactionContextualMenuItem?: JSX.Element | undefined;
|
6228
6242
|
LowerHandContextualMenuItem: JSX.Element;
|
@@ -9782,6 +9796,10 @@ export declare interface SpotlightCallFeatureState {
|
|
9782
9796
|
* Ordered array of spotlighted participants in call
|
9783
9797
|
*/
|
9784
9798
|
spotlightedParticipants: SpotlightedParticipant[];
|
9799
|
+
/**
|
9800
|
+
* Local participant spotlight
|
9801
|
+
*/
|
9802
|
+
localParticipantSpotlight?: SpotlightState;
|
9785
9803
|
/**
|
9786
9804
|
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature.maxParticipantsToSpotlight}.
|
9787
9805
|
*/
|
@@ -11073,13 +11091,21 @@ export declare interface VideoGalleryProps {
|
|
11073
11091
|
*/
|
11074
11092
|
spotlightedParticipants?: string[];
|
11075
11093
|
/**
|
11076
|
-
* This callback will be called when spotlight is started for participant video
|
11094
|
+
* This callback will be called when spotlight is started for the local participant video tile.
|
11095
|
+
*/
|
11096
|
+
onStartLocalSpotlight?: () => Promise<void>;
|
11097
|
+
/**
|
11098
|
+
* This callback will be called when spotlight is started for the local participant video tile.
|
11099
|
+
*/
|
11100
|
+
onStartRemoteSpotlight?: (userIds?: string[]) => Promise<void>;
|
11101
|
+
/**
|
11102
|
+
* This callback will be called when spotlight is stopped for remote participant video tiles.
|
11077
11103
|
*/
|
11078
|
-
|
11104
|
+
onStopLocalSpotlight?: () => Promise<void>;
|
11079
11105
|
/**
|
11080
|
-
* This callback will be called when spotlight is stopped for participant video tiles.
|
11106
|
+
* This callback will be called when spotlight is stopped for remote participant video tiles.
|
11081
11107
|
*/
|
11082
|
-
|
11108
|
+
onStopRemoteSpotlight?: (userIds?: string[]) => Promise<void>;
|
11083
11109
|
/**
|
11084
11110
|
* Maximum participants that can be spotlighted
|
11085
11111
|
*/
|