@azure/communication-react 1.7.1-alpha-202308270013 → 1.7.1-alpha-202308300012
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 +95 -9
- package/dist/dist-cjs/communication-react/index.js +342 -88
- 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.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +3 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +13 -2
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +6 -2
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +17 -2
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js +2 -2
- package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +3 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +17 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageGallery.js +10 -12
- package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +13 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.d.ts +9 -7
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +31 -37
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +4 -7
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +22 -3
- package/dist/dist-esm/react-components/src/theming/themes.js +16 -0
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +5 -0
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +23 -5
- 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 +5 -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.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +17 -6
- 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/CapabilitiesChangedNotificationBar.d.ts +88 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +69 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -0
- 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.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +3 -1
- 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/ConfigurationPage.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +9 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +14 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js +1 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.d.ts +9 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.d.ts +33 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +99 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +15 -1
- package/package.json +8 -8
@@ -30,7 +30,7 @@ import { CallEndReason } from '@azure/communication-calling';
|
|
30
30
|
import { CallerInfo } from '@azure/communication-calling';
|
31
31
|
import { CallKind } from '@azure/communication-calling';
|
32
32
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
33
|
-
import
|
33
|
+
import { CapabilitiesChangeInfo } from '@azure/communication-calling';
|
34
34
|
import { CaptionsResultType } from '@azure/communication-calling';
|
35
35
|
import { ChatClient } from '@azure/communication-chat';
|
36
36
|
import { ChatClientOptions } from '@azure/communication-chat';
|
@@ -2119,6 +2119,10 @@ export declare interface CallCompositeStrings {
|
|
2119
2119
|
* Label for the selection of the focusedContentLayout (Focused content) layout
|
2120
2120
|
*/
|
2121
2121
|
moreButtonGalleryFocusedContentLayoutLabel?: string;
|
2122
|
+
/**
|
2123
|
+
* All strings for capability changed notification
|
2124
|
+
*/
|
2125
|
+
capabilityChangedNotification?: CapabilityChangedNotificationStrings;
|
2122
2126
|
}
|
2123
2127
|
|
2124
2128
|
/**
|
@@ -2251,7 +2255,7 @@ export declare type CallingHandlersOptions = {
|
|
2251
2255
|
export declare type CallingReturnProps<Component extends (props: any) => JSX.Element> = GetCallingSelector<Component> extends (state: CallClientState, props: any) => any ? ReturnType<GetCallingSelector<Component>> & Common<CallingHandlers, Parameters<Component>[0]> : never;
|
2252
2256
|
|
2253
2257
|
/**
|
2254
|
-
* Custom Fluent theme
|
2258
|
+
* Custom Fluent theme palette used by calling related components in this library.
|
2255
2259
|
*
|
2256
2260
|
* @public
|
2257
2261
|
*/
|
@@ -2443,7 +2447,7 @@ export declare interface CallState {
|
|
2443
2447
|
/**
|
2444
2448
|
* Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
|
2445
2449
|
*/
|
2446
|
-
|
2450
|
+
capabilitiesFeature?: CapabilitiesFeatureState;
|
2447
2451
|
}
|
2448
2452
|
|
2449
2453
|
/**
|
@@ -3549,24 +3553,74 @@ export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
|
3549
3553
|
*/
|
3550
3554
|
export declare type CancelEditCallback = (messageId: string) => void;
|
3551
3555
|
|
3556
|
+
/**
|
3557
|
+
* Callback for {@link CallAdapterSubscribers} 'capabilitiesChanged' event.
|
3558
|
+
*
|
3559
|
+
* @beta
|
3560
|
+
*/
|
3561
|
+
export declare type CapabilitiesChangedListener = (data: CapabilitiesChangeInfo) => void;
|
3562
|
+
|
3552
3563
|
/**
|
3553
3564
|
* State only version of {@link @azure/communication-calling#CapabilitiesFeature}
|
3554
3565
|
*
|
3555
3566
|
* @beta
|
3556
3567
|
*/
|
3557
|
-
export declare interface
|
3568
|
+
export declare interface CapabilitiesFeatureState {
|
3558
3569
|
/**
|
3559
3570
|
* Proxy of {@link @azure/communication-calling#CapabilitiesFeature.capabilities}.
|
3560
3571
|
*/
|
3561
3572
|
capabilities: ParticipantCapabilities;
|
3573
|
+
/**
|
3574
|
+
* Proxy of the latest {@link @azure/communication-calling#CapabilitiesChangeInfo}
|
3575
|
+
*/
|
3576
|
+
latestCapabilitiesChangeInfo: CapabilitiesChangeInfo;
|
3562
3577
|
}
|
3563
3578
|
|
3564
3579
|
/**
|
3565
|
-
*
|
3566
|
-
*
|
3580
|
+
* Strings for capability changed notification
|
3567
3581
|
* @beta
|
3568
3582
|
*/
|
3569
|
-
export declare
|
3583
|
+
export declare interface CapabilityChangedNotificationStrings {
|
3584
|
+
/**
|
3585
|
+
* Strings for 'turnVideoOn' capability
|
3586
|
+
*/
|
3587
|
+
turnVideoOn?: {
|
3588
|
+
/**
|
3589
|
+
* Notification message shown to the user when capability to turn video on is lost due to a meeting option change
|
3590
|
+
*/
|
3591
|
+
lostDueToMeetingOption?: string;
|
3592
|
+
/**
|
3593
|
+
* Notification message shown to the user when capability to turn video on is granted due to a meeting option change
|
3594
|
+
*/
|
3595
|
+
grantedDueToMeetingOption?: string;
|
3596
|
+
};
|
3597
|
+
/**
|
3598
|
+
* Strings for 'unmuteMic' capability
|
3599
|
+
*/
|
3600
|
+
unmuteMic?: {
|
3601
|
+
/**
|
3602
|
+
* Notification message shown to the user when capability to unmute mic is lost due to a meeting option change
|
3603
|
+
*/
|
3604
|
+
lostDueToMeetingOption?: string;
|
3605
|
+
/**
|
3606
|
+
* Notification message shown to the user when capability to unmute mic is granted due to a meeting option change
|
3607
|
+
*/
|
3608
|
+
grantedDueToMeetingOption?: string;
|
3609
|
+
};
|
3610
|
+
/**
|
3611
|
+
* Strings for 'shareScreen' capability
|
3612
|
+
*/
|
3613
|
+
shareScreen?: {
|
3614
|
+
/**
|
3615
|
+
* Notification message shown to the user when capability to share screen is lost due to a role change to Attendeee
|
3616
|
+
*/
|
3617
|
+
lostDueToRoleChangeToAttendee?: string;
|
3618
|
+
/**
|
3619
|
+
* Notification message shown to the user when capability to share screen is granted due to a role change to Presenter
|
3620
|
+
*/
|
3621
|
+
grantedDueToRoleChangeToPresenter?: string;
|
3622
|
+
};
|
3623
|
+
}
|
3570
3624
|
|
3571
3625
|
/**
|
3572
3626
|
* @beta
|
@@ -4164,6 +4218,26 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
|
|
4164
4218
|
*/
|
4165
4219
|
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;
|
4166
4220
|
|
4221
|
+
/**
|
4222
|
+
* Custom Fluent theme palette used by chat related components in this library.
|
4223
|
+
*
|
4224
|
+
* @beta
|
4225
|
+
*/
|
4226
|
+
export declare interface ChatTheme {
|
4227
|
+
/**
|
4228
|
+
* Custom Fluent theme palette used by chat related components in this library.
|
4229
|
+
*
|
4230
|
+
* @beta
|
4231
|
+
*/
|
4232
|
+
chatPalette: {
|
4233
|
+
modalOverlayBlack: string;
|
4234
|
+
modalTitleWhite: string;
|
4235
|
+
modalButtonBackground: string;
|
4236
|
+
modalButtonBackgroundHover: string;
|
4237
|
+
modalButtonBackgroundActive: string;
|
4238
|
+
};
|
4239
|
+
}
|
4240
|
+
|
4167
4241
|
/**
|
4168
4242
|
* A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
|
4169
4243
|
*
|
@@ -5472,7 +5546,7 @@ export declare interface CustomMessage extends MessageCommon {
|
|
5472
5546
|
*
|
5473
5547
|
* @public
|
5474
5548
|
*/
|
5475
|
-
export declare const darkTheme: PartialTheme & CallingTheme;
|
5549
|
+
export declare const darkTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
|
5476
5550
|
|
5477
5551
|
/**
|
5478
5552
|
* @beta
|
@@ -6955,7 +7029,7 @@ export declare interface JumpToNewMessageButtonProps {
|
|
6955
7029
|
*
|
6956
7030
|
* @public
|
6957
7031
|
*/
|
6958
|
-
export declare const lightTheme: PartialTheme & CallingTheme;
|
7032
|
+
export declare const lightTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
|
6959
7033
|
|
6960
7034
|
/**
|
6961
7035
|
* Whether the stream is loading or not.
|
@@ -8548,6 +8622,13 @@ export declare interface RemoteVideoStreamState {
|
|
8548
8622
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
8549
8623
|
*/
|
8550
8624
|
view?: VideoStreamRendererViewState;
|
8625
|
+
/**
|
8626
|
+
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.size}.
|
8627
|
+
*/
|
8628
|
+
streamSize?: {
|
8629
|
+
width: number;
|
8630
|
+
height: number;
|
8631
|
+
};
|
8551
8632
|
}
|
8552
8633
|
|
8553
8634
|
/**
|
@@ -10061,6 +10142,11 @@ export declare interface VideoGalleryStream {
|
|
10061
10142
|
renderElement?: HTMLElement;
|
10062
10143
|
/** Scaling mode of the video stream */
|
10063
10144
|
scalingMode?: ViewScalingMode;
|
10145
|
+
/** Stream Size of the video stream */
|
10146
|
+
streamSize?: {
|
10147
|
+
width: number;
|
10148
|
+
height: number;
|
10149
|
+
};
|
10064
10150
|
}
|
10065
10151
|
|
10066
10152
|
/**
|