@azure/communication-react 1.11.0-alpha-202312050013 → 1.11.0-alpha-202312070013
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 +63 -62
- package/dist/dist-cjs/communication-react/index.js +128 -25
- 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/getRemoteParticipantsExcludingConsumers.d.ts +1 -22
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +2 -2
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +2 -2
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.d.ts +3 -3
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.d.ts +1 -1
- package/dist/dist-esm/communication-react/src/mergedHooks.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +1 -2
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +4 -4
- package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/utils.d.ts +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.js +4 -2
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +85 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +6 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +2 -46
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +1 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +9 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +36 -16
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +6 -6
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.d.ts +3 -10
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +1 -8
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.d.ts +4 -4
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +45 -45
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/utils.d.ts +1 -1
- package/package.json +1 -1
@@ -2,29 +2,7 @@ import { CallState as SDKCallStatus } from '@azure/communication-calling';
|
|
2
2
|
/**
|
3
3
|
* @private
|
4
4
|
*/
|
5
|
-
export declare const callStatusSelector: ((state: {
|
6
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
7
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
8
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
9
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
10
|
-
displayName?: string | undefined;
|
11
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
12
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
13
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
14
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
15
|
-
isTeamsCall: boolean;
|
16
|
-
isRoomsCall: boolean;
|
17
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
18
|
-
alternateCallerId?: string | undefined;
|
19
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
20
|
-
cameraStatus?: "On" | "Off" | undefined;
|
21
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
22
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../communication-react/src/index").VideoBackgroundEffectsDependency>) | undefined;
|
23
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
24
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
25
|
-
hideAttendeeNames?: boolean | undefined;
|
26
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
27
|
-
}) => {
|
5
|
+
export declare const callStatusSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
28
6
|
callStatus: SDKCallStatus;
|
29
7
|
isScreenShareOn: boolean;
|
30
8
|
}) & import("reselect").OutputSelectorFields<(args_0: SDKCallStatus, args_1: boolean) => {
|
@@ -2,29 +2,7 @@ import * as reselect from 'reselect';
|
|
2
2
|
/**
|
3
3
|
* @private
|
4
4
|
*/
|
5
|
-
export declare const capabilitiesChangedInfoAndRoleSelector: ((state: {
|
6
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
7
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
8
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
9
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
10
|
-
displayName?: string | undefined;
|
11
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
12
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
13
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
14
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
15
|
-
isTeamsCall: boolean;
|
16
|
-
isRoomsCall: boolean;
|
17
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
18
|
-
alternateCallerId?: string | undefined;
|
19
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
20
|
-
cameraStatus?: "On" | "Off" | undefined;
|
21
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
22
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../communication-react/src/index").VideoBackgroundEffectsDependency>) | undefined;
|
23
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
24
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
25
|
-
hideAttendeeNames?: boolean | undefined;
|
26
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
27
|
-
}) => {
|
5
|
+
export declare const capabilitiesChangedInfoAndRoleSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
28
6
|
capabilitiesChangeInfo: import("@azure/communication-calling").CapabilitiesChangeInfo | undefined;
|
29
7
|
participantRole: import("@azure/communication-calling").ParticipantRole | undefined;
|
30
8
|
}) & reselect.OutputSelectorFields<(args_0: import("@azure/communication-calling").CapabilitiesChangeInfo | undefined, args_1: import("@azure/communication-calling").ParticipantRole | undefined) => {
|
@@ -2,29 +2,7 @@ import * as reselect from 'reselect';
|
|
2
2
|
/**
|
3
3
|
* @private
|
4
4
|
*/
|
5
|
-
export declare const complianceBannerSelector: ((state: {
|
6
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
7
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
8
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
9
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
10
|
-
displayName?: string | undefined;
|
11
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
12
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
13
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
14
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
15
|
-
isTeamsCall: boolean;
|
16
|
-
isRoomsCall: boolean;
|
17
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
18
|
-
alternateCallerId?: string | undefined;
|
19
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
20
|
-
cameraStatus?: "On" | "Off" | undefined;
|
21
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
22
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../communication-react/src/index").VideoBackgroundEffectsDependency>) | undefined;
|
23
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
24
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
25
|
-
hideAttendeeNames?: boolean | undefined;
|
26
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
27
|
-
}) => {
|
5
|
+
export declare const complianceBannerSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
28
6
|
callTranscribeState: boolean;
|
29
7
|
callRecordState: boolean;
|
30
8
|
}) & reselect.OutputSelectorFields<(args_0: boolean, args_1: boolean) => {
|
@@ -1,29 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @private
|
3
3
|
*/
|
4
|
-
export declare const deviceCountSelector: ((state: {
|
5
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
6
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
7
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
8
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
9
|
-
displayName?: string | undefined;
|
10
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
11
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
12
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
13
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
14
|
-
isTeamsCall: boolean;
|
15
|
-
isRoomsCall: boolean;
|
16
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
17
|
-
alternateCallerId?: string | undefined;
|
18
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
19
|
-
cameraStatus?: "On" | "Off" | undefined;
|
20
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
21
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../communication-react/src/index").VideoBackgroundEffectsDependency>) | undefined;
|
22
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
23
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
24
|
-
hideAttendeeNames?: boolean | undefined;
|
25
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
26
|
-
}) => {
|
4
|
+
export declare const deviceCountSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
27
5
|
camerasCount: number;
|
28
6
|
microphonesCount: number;
|
29
7
|
}) & import("reselect").OutputSelectorFields<(args_0: import("@azure/communication-calling").VideoDeviceInfo[], args_1: import("@azure/communication-calling").AudioDeviceInfo[]) => {
|
@@ -2,29 +2,7 @@ import * as reselect from 'reselect';
|
|
2
2
|
/**
|
3
3
|
* @private
|
4
4
|
*/
|
5
|
-
export declare const devicePermissionSelector: ((state: {
|
6
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
7
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
8
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
9
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
10
|
-
displayName?: string | undefined;
|
11
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
12
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
13
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
14
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
15
|
-
isTeamsCall: boolean;
|
16
|
-
isRoomsCall: boolean;
|
17
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
18
|
-
alternateCallerId?: string | undefined;
|
19
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
20
|
-
cameraStatus?: "On" | "Off" | undefined;
|
21
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
22
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../communication-react/src/index").VideoBackgroundEffectsDependency>) | undefined;
|
23
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
24
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
25
|
-
hideAttendeeNames?: boolean | undefined;
|
26
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
27
|
-
}) => {
|
5
|
+
export declare const devicePermissionSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
28
6
|
video: boolean | undefined;
|
29
7
|
audio: boolean | undefined;
|
30
8
|
}) & reselect.OutputSelectorFields<(args_0: import("../../../../../communication-react/src/index").DeviceManagerState) => {
|
@@ -6,29 +6,7 @@ import * as reselect from 'reselect';
|
|
6
6
|
*
|
7
7
|
* @private
|
8
8
|
*/
|
9
|
-
export declare const dominantRemoteParticipantSelector: ((state: {
|
10
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
11
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
12
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
13
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
14
|
-
displayName?: string | undefined;
|
15
|
-
call?: import("../../../../../calling-stateful-client/src").CallState | undefined;
|
16
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
17
|
-
devices: import("../../../../../calling-stateful-client/src").DeviceManagerState;
|
18
|
-
endedCall?: import("../../../../../calling-stateful-client/src").CallState | undefined;
|
19
|
-
isTeamsCall: boolean;
|
20
|
-
isRoomsCall: boolean;
|
21
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
22
|
-
alternateCallerId?: string | undefined;
|
23
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
24
|
-
cameraStatus?: "On" | "Off" | undefined;
|
25
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
26
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../calling-component-bindings/src").VideoBackgroundEffectsDependency>) | undefined;
|
27
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
28
|
-
acceptedTransferCallState?: import("../../../../../calling-stateful-client/src").CallState | undefined;
|
29
|
-
hideAttendeeNames?: boolean | undefined;
|
30
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
31
|
-
}) => import("../../../../../communication-react/src/index").VideoGalleryRemoteParticipant | undefined) & reselect.OutputSelectorFields<(args_0: {
|
9
|
+
export declare const dominantRemoteParticipantSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => import("../../../../../communication-react/src/index").VideoGalleryRemoteParticipant | undefined) & reselect.OutputSelectorFields<(args_0: {
|
32
10
|
[keys: string]: RemoteParticipantState;
|
33
11
|
} | undefined, args_1: import("@azure/communication-calling").DominantSpeakersInfo | undefined) => import("../../../../../communication-react/src/index").VideoGalleryRemoteParticipant | undefined, {
|
34
12
|
clearCache: () => void;
|
package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts
CHANGED
@@ -2,29 +2,7 @@ import * as reselect from 'reselect';
|
|
2
2
|
/**
|
3
3
|
* @private
|
4
4
|
*/
|
5
|
-
export declare const lobbySelector: ((state: {
|
6
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
7
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
8
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
9
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
10
|
-
displayName?: string | undefined;
|
11
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
12
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
13
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
14
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
15
|
-
isTeamsCall: boolean;
|
16
|
-
isRoomsCall: boolean;
|
17
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
18
|
-
alternateCallerId?: string | undefined;
|
19
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
20
|
-
cameraStatus?: "On" | "Off" | undefined;
|
21
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
22
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../calling-component-bindings/src").VideoBackgroundEffectsDependency>) | undefined;
|
23
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
24
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
25
|
-
hideAttendeeNames?: boolean | undefined;
|
26
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
27
|
-
}) => {
|
5
|
+
export declare const lobbySelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
28
6
|
localParticipantVideoStream: {
|
29
7
|
isAvailable: boolean;
|
30
8
|
isMirrored: boolean | undefined;
|
@@ -3,29 +3,7 @@ import * as reselect from 'reselect';
|
|
3
3
|
* Picture in picture in picture needs to display the most-dominant remote speaker, as well as the local participant video.
|
4
4
|
* @private
|
5
5
|
*/
|
6
|
-
export declare const localAndRemotePIPSelector: ((state: {
|
7
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
8
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
9
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
10
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
11
|
-
displayName?: string | undefined;
|
12
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
13
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
14
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
15
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
16
|
-
isTeamsCall: boolean;
|
17
|
-
isRoomsCall: boolean;
|
18
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
19
|
-
alternateCallerId?: string | undefined;
|
20
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
21
|
-
cameraStatus?: "On" | "Off" | undefined;
|
22
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
23
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../calling-component-bindings/src").VideoBackgroundEffectsDependency>) | undefined;
|
24
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
25
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
26
|
-
hideAttendeeNames?: boolean | undefined;
|
27
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
28
|
-
}) => {
|
6
|
+
export declare const localAndRemotePIPSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
29
7
|
localParticipant: {
|
30
8
|
displayName: string | undefined;
|
31
9
|
videoStream: {
|
@@ -2,29 +2,7 @@ import * as reselect from 'reselect';
|
|
2
2
|
/**
|
3
3
|
* @private
|
4
4
|
*/
|
5
|
-
export declare const localPreviewSelector: ((state: {
|
6
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
7
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
8
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
9
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
10
|
-
displayName?: string | undefined;
|
11
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
12
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
13
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
14
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
15
|
-
isTeamsCall: boolean;
|
16
|
-
isRoomsCall: boolean;
|
17
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
18
|
-
alternateCallerId?: string | undefined;
|
19
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
20
|
-
cameraStatus?: "On" | "Off" | undefined;
|
21
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
22
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../communication-react/src/index").VideoBackgroundEffectsDependency>) | undefined;
|
23
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
24
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
25
|
-
hideAttendeeNames?: boolean | undefined;
|
26
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
27
|
-
}) => {
|
5
|
+
export declare const localPreviewSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
28
6
|
videoStreamElement: HTMLElement | null;
|
29
7
|
}) & reselect.OutputSelectorFields<(args_0: import("../../../../../communication-react/src/index").DeviceManagerState) => {
|
30
8
|
videoStreamElement: HTMLElement | null;
|
@@ -3,29 +3,7 @@ import * as reselect from 'reselect';
|
|
3
3
|
/**
|
4
4
|
* @private
|
5
5
|
*/
|
6
|
-
export declare const localVideoSelector: ((state: {
|
7
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
8
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
9
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
10
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
11
|
-
displayName?: string | undefined;
|
12
|
-
call?: import("../../../../../calling-stateful-client/src").CallState | undefined;
|
13
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
14
|
-
devices: import("../../../../../calling-stateful-client/src").DeviceManagerState;
|
15
|
-
endedCall?: import("../../../../../calling-stateful-client/src").CallState | undefined;
|
16
|
-
isTeamsCall: boolean;
|
17
|
-
isRoomsCall: boolean;
|
18
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
19
|
-
alternateCallerId?: string | undefined;
|
20
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
21
|
-
cameraStatus?: "On" | "Off" | undefined;
|
22
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
23
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../calling-component-bindings/src").VideoBackgroundEffectsDependency>) | undefined;
|
24
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
25
|
-
acceptedTransferCallState?: import("../../../../../calling-stateful-client/src").CallState | undefined;
|
26
|
-
hideAttendeeNames?: boolean | undefined;
|
27
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
28
|
-
}) => {
|
6
|
+
export declare const localVideoSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
29
7
|
isAvailable: boolean;
|
30
8
|
isMirrored: boolean | undefined;
|
31
9
|
renderElement: HTMLElement | undefined;
|
@@ -2,29 +2,7 @@ import * as reselect from 'reselect';
|
|
2
2
|
/**
|
3
3
|
* @private
|
4
4
|
*/
|
5
|
-
export declare const mediaGallerySelector: ((state: {
|
6
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
7
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
8
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
9
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
10
|
-
displayName?: string | undefined;
|
11
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
12
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
13
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
14
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
15
|
-
isTeamsCall: boolean;
|
16
|
-
isRoomsCall: boolean;
|
17
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
18
|
-
alternateCallerId?: string | undefined;
|
19
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
20
|
-
cameraStatus?: "On" | "Off" | undefined;
|
21
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
22
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../communication-react/src/index").VideoBackgroundEffectsDependency>) | undefined;
|
23
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
24
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
25
|
-
hideAttendeeNames?: boolean | undefined;
|
26
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
27
|
-
}) => {
|
5
|
+
export declare const mediaGallerySelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
28
6
|
isVideoStreamOn: boolean;
|
29
7
|
}) & reselect.OutputSelectorFields<(args_0: import("../../../../../communication-react/src/index").LocalVideoStreamState[] | undefined) => {
|
30
8
|
isVideoStreamOn: boolean;
|
@@ -37,29 +15,7 @@ export declare const mediaGallerySelector: ((state: {
|
|
37
15
|
* Custom selector for this hook to retrieve all the participants that are currently
|
38
16
|
* connected to the call.
|
39
17
|
*/
|
40
|
-
export declare const getRemoteParticipantsConnectedSelector: ((state: {
|
41
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
42
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
43
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
44
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
45
|
-
displayName?: string | undefined;
|
46
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
47
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
48
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
49
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
50
|
-
isTeamsCall: boolean;
|
51
|
-
isRoomsCall: boolean;
|
52
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
53
|
-
alternateCallerId?: string | undefined;
|
54
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
55
|
-
cameraStatus?: "On" | "Off" | undefined;
|
56
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
57
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../communication-react/src/index").VideoBackgroundEffectsDependency>) | undefined;
|
58
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
59
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
60
|
-
hideAttendeeNames?: boolean | undefined;
|
61
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
62
|
-
}) => import("../../../../../communication-react/src/index").RemoteParticipantState[]) & reselect.OutputSelectorFields<(args_0: {
|
18
|
+
export declare const getRemoteParticipantsConnectedSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => import("../../../../../communication-react/src/index").RemoteParticipantState[]) & reselect.OutputSelectorFields<(args_0: {
|
63
19
|
[keys: string]: import("../../../../../communication-react/src/index").RemoteParticipantState;
|
64
20
|
} | undefined) => import("../../../../../communication-react/src/index").RemoteParticipantState[], {
|
65
21
|
clearCache: () => void;
|
@@ -2,29 +2,7 @@ import * as reselect from 'reselect';
|
|
2
2
|
/**
|
3
3
|
* @private
|
4
4
|
*/
|
5
|
-
export declare const mutedNotificationSelector: ((state: {
|
6
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
7
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
8
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
9
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
10
|
-
displayName?: string | undefined;
|
11
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
12
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
13
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
14
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
15
|
-
isTeamsCall: boolean;
|
16
|
-
isRoomsCall: boolean;
|
17
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
18
|
-
alternateCallerId?: string | undefined;
|
19
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
20
|
-
cameraStatus?: "On" | "Off" | undefined;
|
21
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
22
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../communication-react/src/index").VideoBackgroundEffectsDependency>) | undefined;
|
23
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
24
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
25
|
-
hideAttendeeNames?: boolean | undefined;
|
26
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
27
|
-
}) => {
|
5
|
+
export declare const mutedNotificationSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
28
6
|
speakingWhileMuted: boolean;
|
29
7
|
}) & reselect.OutputSelectorFields<(args_0: import("../../../../../communication-react/src/index").DiagnosticsCallFeatureState | undefined) => {
|
30
8
|
speakingWhileMuted: boolean;
|
@@ -2,29 +2,7 @@ import * as reselect from 'reselect';
|
|
2
2
|
/**
|
3
3
|
* @private
|
4
4
|
*/
|
5
|
-
export declare const networkReconnectTileSelector: ((state: {
|
6
|
-
isLocalPreviewMicrophoneEnabled: boolean;
|
7
|
-
page: import("../../../../../communication-react/src/index").CallCompositePage;
|
8
|
-
unsupportedBrowserVersionsAllowed?: boolean | undefined;
|
9
|
-
userId: import("@azure/communication-common").CommunicationIdentifierKind;
|
10
|
-
displayName?: string | undefined;
|
11
|
-
call?: import("../../../../../communication-react/src/index").CallState | undefined;
|
12
|
-
targetCallees?: import("@azure/communication-common").CommunicationIdentifier[] | undefined;
|
13
|
-
devices: import("../../../../../communication-react/src/index").DeviceManagerState;
|
14
|
-
endedCall?: import("../../../../../communication-react/src/index").CallState | undefined;
|
15
|
-
isTeamsCall: boolean;
|
16
|
-
isRoomsCall: boolean;
|
17
|
-
latestErrors: import("../../../../../communication-react/src/index").AdapterErrors;
|
18
|
-
alternateCallerId?: string | undefined;
|
19
|
-
environmentInfo?: import("@azure/communication-calling").EnvironmentInfo | undefined;
|
20
|
-
cameraStatus?: "On" | "Off" | undefined;
|
21
|
-
videoBackgroundImages?: import("../../../../../communication-react/src/index").VideoBackgroundImage[] | undefined;
|
22
|
-
onResolveVideoEffectDependency?: (() => Promise<import("../../../../../communication-react/src/index").VideoBackgroundEffectsDependency>) | undefined;
|
23
|
-
selectedVideoBackgroundEffect?: import("../../../../../communication-react/src/index").VideoBackgroundEffect | undefined;
|
24
|
-
acceptedTransferCallState?: import("../../../../../communication-react/src/index").CallState | undefined;
|
25
|
-
hideAttendeeNames?: boolean | undefined;
|
26
|
-
sounds?: import("../../../../../communication-react/src/index").CallingSounds | undefined;
|
27
|
-
}) => {
|
5
|
+
export declare const networkReconnectTileSelector: ((state: import("../../../../../communication-react/src/index").CallAdapterUiState & import("../../../../../communication-react/src/index").CallAdapterClientState) => {
|
28
6
|
networkReconnectValue: boolean | import("@azure/communication-calling").DiagnosticQuality | undefined;
|
29
7
|
localParticipantVideoStream: {
|
30
8
|
isAvailable: boolean;
|
@@ -13,8 +13,12 @@ export declare const configurationStackTokensDesktop: IStackTokens;
|
|
13
13
|
* @private
|
14
14
|
*/
|
15
15
|
export declare const configurationStackTokensMobile: IStackTokens;
|
16
|
+
/**
|
17
|
+
* @private
|
18
|
+
*/
|
19
|
+
export declare const deviceConfigurationStackTokens: IStackTokens;
|
16
20
|
/** @private */
|
17
|
-
export declare const configurationContainerStyle: (desktop: boolean, backgroundImageUrl?: string
|
21
|
+
export declare const configurationContainerStyle: (desktop: boolean, backgroundImageUrl?: string) => IStackStyles;
|
18
22
|
/**
|
19
23
|
* @private
|
20
24
|
*/
|
@@ -26,11 +30,11 @@ export declare const selectionContainerStyle: (theme: ITheme) => string;
|
|
26
30
|
/**
|
27
31
|
* @private
|
28
32
|
*/
|
29
|
-
export declare const titleContainerStyleDesktop: string;
|
33
|
+
export declare const titleContainerStyleDesktop: (theme: ITheme) => string;
|
30
34
|
/**
|
31
35
|
* @private
|
32
36
|
*/
|
33
|
-
export declare const titleContainerStyleMobile: string;
|
37
|
+
export declare const titleContainerStyleMobile: (theme: ITheme) => string;
|
34
38
|
/**
|
35
39
|
* @private
|
36
40
|
*/
|
@@ -68,7 +72,7 @@ export declare const effectsButtonStyles: (theme: Theme) => IButtonStyles;
|
|
68
72
|
/** @private */
|
69
73
|
export declare const fillWidth: string;
|
70
74
|
/** @private */
|
71
|
-
export declare const configurationCenteredContent: (fillsHeight: boolean, hasLogo?: boolean
|
75
|
+
export declare const configurationCenteredContent: (fillsHeight: boolean, hasLogo?: boolean) => string;
|
72
76
|
/** @private */
|
73
77
|
export declare const panelStyles: Partial<IPanelStyles>;
|
74
78
|
/** @private */
|
@@ -76,5 +80,5 @@ export declare const panelFocusProps: IFocusTrapZoneProps;
|
|
76
80
|
/**
|
77
81
|
* @private
|
78
82
|
*/
|
79
|
-
export declare const logoStyles: (shape: '
|
83
|
+
export declare const logoStyles: (shape: undefined | 'unset' | 'circle') => IImageStyles;
|
80
84
|
//# sourceMappingURL=CallConfiguration.styles.d.ts.map
|
@@ -9,7 +9,6 @@ export const CONFIGURATION_PAGE_SECTION_MAX_WIDTH_REM = 20.625;
|
|
9
9
|
/** @private */
|
10
10
|
export const CONFIGURATION_PAGE_SECTION_HEIGHT_REM = 13.625;
|
11
11
|
const LOGO_HEIGHT_REM = 3;
|
12
|
-
const LOGO_MARGIN_BOTTOM_REM = 1;
|
13
12
|
/**
|
14
13
|
* @private
|
15
14
|
*/
|
@@ -20,6 +19,12 @@ export const configurationStackTokensDesktop = {
|
|
20
19
|
* @private
|
21
20
|
*/
|
22
21
|
export const configurationStackTokensMobile = {
|
22
|
+
childrenGap: '0.5rem'
|
23
|
+
};
|
24
|
+
/**
|
25
|
+
* @private
|
26
|
+
*/
|
27
|
+
export const deviceConfigurationStackTokens = {
|
23
28
|
childrenGap: '1.5rem'
|
24
29
|
};
|
25
30
|
/** @private */
|
@@ -27,7 +32,7 @@ export const configurationContainerStyle = (desktop, backgroundImageUrl) => ({
|
|
27
32
|
root: {
|
28
33
|
height: '100%',
|
29
34
|
width: '100%',
|
30
|
-
padding: '2rem 1rem 2rem 1rem',
|
35
|
+
padding: desktop ? '2rem 1rem 2rem 1rem' : '1rem 1rem 2rem 1rem',
|
31
36
|
minWidth: desktop
|
32
37
|
? '25rem' // sum of min-width from children + ChildrenGap * (nb of children - 1) + padding * 2 = (11 + 11) + (2 * 1) + 0.5 * 2
|
33
38
|
: '16rem',
|
@@ -80,20 +85,36 @@ export const selectionContainerStyle = (theme) => mergeStyles({
|
|
80
85
|
/**
|
81
86
|
* @private
|
82
87
|
*/
|
83
|
-
export const titleContainerStyleDesktop = mergeStyles({
|
84
|
-
fontSize: '1.
|
85
|
-
lineHeight: '
|
88
|
+
export const titleContainerStyleDesktop = (theme) => mergeStyles({
|
89
|
+
fontSize: '1.2rem',
|
90
|
+
lineHeight: '1rem',
|
86
91
|
fontWeight: 600
|
87
|
-
});
|
92
|
+
}, configurationPageTextDecoration(theme));
|
88
93
|
/**
|
89
94
|
* @private
|
90
95
|
*/
|
91
|
-
export const titleContainerStyleMobile = mergeStyles({
|
96
|
+
export const titleContainerStyleMobile = (theme) => mergeStyles({
|
92
97
|
fontSize: '1.0625rem',
|
93
98
|
lineHeight: '1.375rem',
|
94
99
|
fontWeight: 600,
|
95
100
|
textAlign: 'center'
|
96
|
-
});
|
101
|
+
}, configurationPageTextDecoration(theme));
|
102
|
+
/**
|
103
|
+
* Ensure configuration page text is legible on top of a background image.
|
104
|
+
* @private
|
105
|
+
*/
|
106
|
+
const configurationPageTextDecoration = (theme) => {
|
107
|
+
return {
|
108
|
+
textShadow: `0px 0px 8px ${theme.palette.whiteTranslucent40}`,
|
109
|
+
fill: theme.semanticColors.bodyText,
|
110
|
+
stroke: theme.palette.whiteTranslucent40,
|
111
|
+
paintOrder: 'stroke fill',
|
112
|
+
strokeWidth: _pxToRem(1.5),
|
113
|
+
text: {
|
114
|
+
letterSpacing: '-0.02rem' // cope with extra width due to stroke width
|
115
|
+
}
|
116
|
+
};
|
117
|
+
};
|
97
118
|
/**
|
98
119
|
* @private
|
99
120
|
*/
|
@@ -106,8 +127,7 @@ export const callDetailsContainerStyles = {
|
|
106
127
|
};
|
107
128
|
const callDetailsStyle = {
|
108
129
|
fontSize: '0.9375',
|
109
|
-
lineHeight: '1.25rem'
|
110
|
-
marginTop: '0.25rem'
|
130
|
+
lineHeight: '1.25rem'
|
111
131
|
};
|
112
132
|
/**
|
113
133
|
* @private
|
@@ -116,7 +136,7 @@ export const callDetailsStyleDesktop = mergeStyles(Object.assign({}, callDetails
|
|
116
136
|
/**
|
117
137
|
* @private
|
118
138
|
*/
|
119
|
-
export const callDetailsStyleMobile = mergeStyles(Object.assign(Object.assign({}, callDetailsStyle), { textAlign: 'center' }));
|
139
|
+
export const callDetailsStyleMobile = mergeStyles(Object.assign(Object.assign({}, callDetailsStyle), { marginBottom: '0.5rem', textAlign: 'center' }));
|
120
140
|
/**
|
121
141
|
* @private
|
122
142
|
*/
|
@@ -202,7 +222,7 @@ export const configurationCenteredContent = (fillsHeight, hasLogo) => mergeStyle
|
|
202
222
|
// in and not shift the content. To exclude the logo, we subtract the logo height
|
203
223
|
// and margin from the actual height. This allows the flex box's natural centering
|
204
224
|
// to appropriately center the content.
|
205
|
-
height: `calc(100% - ${!fillsHeight && hasLogo ? `${LOGO_HEIGHT_REM
|
225
|
+
height: `calc(100% - ${!fillsHeight && hasLogo ? `${LOGO_HEIGHT_REM}rem` : '0rem'})`
|
206
226
|
});
|
207
227
|
/** @private */
|
208
228
|
export const panelStyles = {
|
@@ -232,13 +252,13 @@ export const logoStyles = (shape) => ({
|
|
232
252
|
root: {
|
233
253
|
overflow: 'initial',
|
234
254
|
display: 'flex',
|
235
|
-
justifyContent: 'center'
|
236
|
-
marginBottom: `${LOGO_MARGIN_BOTTOM_REM}rem`
|
255
|
+
justifyContent: 'center'
|
237
256
|
},
|
238
257
|
image: {
|
239
|
-
borderRadius: shape === 'circle' ? '100%' : undefined,
|
240
258
|
height: `${LOGO_HEIGHT_REM}rem`,
|
241
|
-
|
259
|
+
borderRadius: shape === 'circle' ? '100%' : undefined,
|
260
|
+
aspectRatio: shape === 'circle' ? '1 / 1' : undefined,
|
261
|
+
objectFit: shape === 'circle' ? 'cover' : undefined
|
242
262
|
}
|
243
263
|
});
|
244
264
|
//# sourceMappingURL=CallConfiguration.styles.js.map
|