@azure/communication-react 1.11.0-alpha-202312060012 → 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 +5 -5
- 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/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/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/pages/ConfigurationPage.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +1 -2
- 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 +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +3 -2
- 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 * 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;
|
@@ -18,7 +18,7 @@ export declare const configurationStackTokensMobile: IStackTokens;
|
|
18
18
|
*/
|
19
19
|
export declare const deviceConfigurationStackTokens: IStackTokens;
|
20
20
|
/** @private */
|
21
|
-
export declare const configurationContainerStyle: (desktop: boolean, backgroundImageUrl?: string
|
21
|
+
export declare const configurationContainerStyle: (desktop: boolean, backgroundImageUrl?: string) => IStackStyles;
|
22
22
|
/**
|
23
23
|
* @private
|
24
24
|
*/
|
@@ -72,7 +72,7 @@ export declare const effectsButtonStyles: (theme: Theme) => IButtonStyles;
|
|
72
72
|
/** @private */
|
73
73
|
export declare const fillWidth: string;
|
74
74
|
/** @private */
|
75
|
-
export declare const configurationCenteredContent: (fillsHeight: boolean, hasLogo?: boolean
|
75
|
+
export declare const configurationCenteredContent: (fillsHeight: boolean, hasLogo?: boolean) => string;
|
76
76
|
/** @private */
|
77
77
|
export declare const panelStyles: Partial<IPanelStyles>;
|
78
78
|
/** @private */
|
@@ -80,5 +80,5 @@ export declare const panelFocusProps: IFocusTrapZoneProps;
|
|
80
80
|
/**
|
81
81
|
* @private
|
82
82
|
*/
|
83
|
-
export declare const logoStyles: (shape: '
|
83
|
+
export declare const logoStyles: (shape: undefined | 'unset' | 'circle') => IImageStyles;
|
84
84
|
//# sourceMappingURL=CallConfiguration.styles.d.ts.map
|
@@ -255,9 +255,10 @@ export const logoStyles = (shape) => ({
|
|
255
255
|
justifyContent: 'center'
|
256
256
|
},
|
257
257
|
image: {
|
258
|
-
borderRadius: shape === 'circle' ? '100%' : undefined,
|
259
258
|
height: `${LOGO_HEIGHT_REM}rem`,
|
260
|
-
|
259
|
+
borderRadius: shape === 'circle' ? '100%' : undefined,
|
260
|
+
aspectRatio: shape === 'circle' ? '1 / 1' : undefined,
|
261
|
+
objectFit: shape === 'circle' ? 'cover' : undefined
|
261
262
|
}
|
262
263
|
});
|
263
264
|
//# sourceMappingURL=CallConfiguration.styles.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CallConfiguration.styles.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAKL,WAAW,EAMX,eAAe,EAEhB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,yCAAgC;AAEnD,eAAe;AACf,MAAM,CAAC,MAAM,wCAAwC,GAAG,EAAE,CAAC;AAC3D,eAAe;AACf,MAAM,CAAC,MAAM,wCAAwC,GAAG,MAAM,CAAC;AAC/D,eAAe;AACf,MAAM,CAAC,MAAM,qCAAqC,GAAG,MAAM,CAAC;AAE5D,MAAM,eAAe,GAAG,CAAC,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAiB;IAC3D,WAAW,EAAE,MAAM;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAiB;IAC1D,WAAW,EAAE,QAAQ;CACtB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,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,CAAC,CAAC;AAEL,eAAe;AACf,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,OAAO,EAAE;QACP,OAAO,EAAE,MAAM;QACf,SAAS,EAAE,MAAM;QACjB,WAAW,EAAE,MAAM;QACnB,YAAY,EAAE,MAAM,CAAC,yBAAyB;KAC/C;IACD,QAAQ,EAAE;QACR,UAAU,EAAE,MAAM,CAAC,yBAAyB;KAC7C;IACD,iBAAiB,EAAE;QACjB,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,QAAQ;QACvB,MAAM,EAAE,MAAM;KACf;CACF,CAAC;AAEF,eAAe;AACf,MAAM,CAAC,MAAM,eAAe,GAAwB;IAClD,oBAAoB,EAAE,KAAK;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAA0B,EAAgB,EAAE,CAAC,CAAC;IACvE,IAAI,EAAE;QACJ,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,QAAQ;KACzB;IACD,KAAK,EAAE;QACL,YAAY,EAAE,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;QACrD,MAAM,EAAE,GAAG,eAAe,KAAK;QAC/B,KAAK,EAAE,GAAG,eAAe,KAAK,CAAC,4BAA4B;KAC5D;CACF,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n IStackItemStyles,\n IStackStyles,\n IStackTokens,\n IStyle,\n mergeStyles,\n IButtonStyles,\n Theme,\n IPanelStyles,\n IFocusTrapZoneProps,\n IImageStyles,\n AnimationStyles,\n ITheme\n} from '@fluentui/react';\nimport { _pxToRem } from '@internal/acs-ui-common';\n\n/** @private */\nexport const CONFIGURATION_PAGE_SECTION_MIN_WIDTH_REM = 11;\n/** @private */\nexport const CONFIGURATION_PAGE_SECTION_MAX_WIDTH_REM = 20.625;\n/** @private */\nexport const CONFIGURATION_PAGE_SECTION_HEIGHT_REM = 13.625;\n\nconst LOGO_HEIGHT_REM = 3;\n\n/**\n * @private\n */\nexport const configurationStackTokensDesktop: IStackTokens = {\n childrenGap: '1rem'\n};\n\n/**\n * @private\n */\nexport const configurationStackTokensMobile: IStackTokens = {\n childrenGap: '0.5rem'\n};\n\n/**\n * @private\n */\nexport const deviceConfigurationStackTokens: IStackTokens = {\n childrenGap: '1.5rem'\n};\n\n/** @private */\nexport const configurationContainerStyle = (desktop: boolean, backgroundImageUrl?: string): IStackStyles => ({\n root: {\n height: '100%',\n width: '100%',\n padding: desktop ? '2rem 1rem 2rem 1rem' : '1rem 1rem 2rem 1rem',\n minWidth: desktop\n ? '25rem' // sum of min-width from children + ChildrenGap * (nb of children - 1) + padding * 2 = (11 + 11) + (2 * 1) + 0.5 * 2\n : '16rem', // from LocalPreview: ControlBar width + 0.5 * 2 for spacing + padding * 2 = 14 + 0.5 * 2 + 0.5 * 2\n minHeight: desktop\n ? '22rem' // max height of SelectionContainer + padding * 2 = 21 + 0.5 * 2\n : '13rem',\n '::before': !backgroundImageUrl\n ? undefined\n : {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n left: 0,\n zIndex: 0,\n width: '100%',\n height: '100%',\n backgroundImage: `url(${backgroundImageUrl})`,\n backgroundSize: 'cover',\n backgroundPosition: 'center',\n ...AnimationStyles.fadeIn500\n }\n }\n});\n\n/**\n * @private\n */\nexport const configurationSectionStyle: IStackStyles = {\n root: {\n width: '100%',\n minWidth: `${CONFIGURATION_PAGE_SECTION_MIN_WIDTH_REM}rem`,\n maxWidth: `${CONFIGURATION_PAGE_SECTION_MAX_WIDTH_REM}rem`\n }\n};\n\n/**\n * @private\n */\nexport const selectionContainerStyle = (theme: ITheme): string =>\n mergeStyles({\n width: '100%',\n height: `${CONFIGURATION_PAGE_SECTION_HEIGHT_REM}rem`,\n padding: '1rem',\n borderRadius: theme.effects.roundedCorner6,\n border: `0.0625rem solid ${theme.palette.neutralLight}`,\n boxShadow: theme.effects.elevation4,\n // Style the background of the container to have partial transparency.\n // Using `before:` pseudo-element to avoid having to wrap the content in an extra div.\n // Ideally rgba would be used but we cannot garauntee the format of theme.palette.white\n // to parse it correctly.\n position: 'relative',\n ':before': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n zIndex: 0,\n background: theme.palette.white,\n opacity: 0.9,\n borderRadius: theme.effects.roundedCorner4\n }\n });\n\n/**\n * @private\n */\nexport const titleContainerStyleDesktop = (theme: ITheme): string =>\n mergeStyles(\n {\n fontSize: '1.2rem',\n lineHeight: '1rem',\n fontWeight: 600\n },\n configurationPageTextDecoration(theme)\n );\n\n/**\n * @private\n */\nexport const titleContainerStyleMobile = (theme: ITheme): string =>\n mergeStyles(\n {\n fontSize: '1.0625rem',\n lineHeight: '1.375rem',\n fontWeight: 600,\n textAlign: 'center'\n },\n configurationPageTextDecoration(theme)\n );\n\n/**\n * Ensure configuration page text is legible on top of a background image.\n * @private\n */\nconst configurationPageTextDecoration = (theme: ITheme): IStyle => {\n return {\n textShadow: `0px 0px 8px ${theme.palette.whiteTranslucent40}`,\n fill: theme.semanticColors.bodyText,\n stroke: theme.palette.whiteTranslucent40,\n paintOrder: 'stroke fill',\n strokeWidth: _pxToRem(1.5),\n text: {\n letterSpacing: '-0.02rem' // cope with extra width due to stroke width\n }\n };\n};\n\n/**\n * @private\n */\nexport const callDetailsContainerStyles: IStackStyles = {\n root: {\n textAlign: 'center',\n maxWidth: _pxToRem(700),\n alignSelf: 'center'\n }\n};\n\nconst callDetailsStyle: IStyle = {\n fontSize: '0.9375',\n lineHeight: '1.25rem'\n};\n\n/**\n * @private\n */\nexport const callDetailsStyleDesktop = mergeStyles({\n ...callDetailsStyle\n});\n\n/**\n * @private\n */\nexport const callDetailsStyleMobile = mergeStyles({\n ...callDetailsStyle,\n marginBottom: '0.5rem',\n textAlign: 'center'\n});\n\n/**\n * @private\n */\nexport const startCallButtonContainerStyleDesktop: IStackStyles = {\n root: {\n paddingTop: '1.125rem'\n }\n};\n\n/**\n * @private\n */\nexport const startCallButtonContainerStyleMobile: IStackStyles = {\n root: {\n textAlign: 'center'\n }\n};\n\n/**\n * @private\n */\nexport const startCallButtonStyleMobile = mergeStyles({\n width: '100%',\n maxWidth: 'unset',\n borderRadius: '0.25rem'\n});\n\n/**\n * @private\n */\nexport const startCallButtonStyleDesktop = mergeStyles({\n borderRadius: '0.25rem',\n width: 'auto',\n height: '2.25rem'\n});\n\n/** @private */\nexport const cameraAndVideoEffectsContainerStyleDesktop: IStackItemStyles = {\n root: {\n alignItems: 'center'\n }\n};\n\n/**\n * @private\n */\nexport const effectsButtonStyles = (theme: Theme): IButtonStyles => {\n return {\n root: {\n background: 'transparent',\n border: 'none',\n color: theme.palette.themePrimary,\n // Top and bottom padding needs to be 5px to match the label padding\n padding: '5px 0.25rem',\n ':hover, :focus': {\n color: theme.palette.themePrimary\n },\n svg: {\n height: '1rem',\n width: '1rem'\n }\n },\n rootChecked: {\n color: theme.palette.themePrimary\n },\n rootHovered: {\n color: theme.palette.themePrimary\n },\n rootPressed: {\n color: theme.palette.themePrimary\n },\n rootFocused: {\n color: theme.palette.themePrimary\n }\n };\n};\n\n/** @private */\nexport const fillWidth = mergeStyles({\n width: '100%',\n position: 'relative'\n});\n\n/** @private */\nexport const configurationCenteredContent = (fillsHeight: boolean, hasLogo?: boolean): string =>\n mergeStyles({\n width: '100%',\n position: 'relative',\n\n // If the content does not fill the height, center it vertically.\n // We do not include the logo in the centering per design. This allows it to fade\n // in and not shift the content. To exclude the logo, we subtract the logo height\n // and margin from the actual height. This allows the flex box's natural centering\n // to appropriately center the content.\n height: `calc(100% - ${!fillsHeight && hasLogo ? `${LOGO_HEIGHT_REM}rem` : '0rem'})`\n });\n\n/** @private */\nexport const panelStyles: Partial<IPanelStyles> = {\n content: {\n display: 'flex',\n flexBasis: '100%',\n paddingLeft: '0rem', // remove default padding\n paddingRight: '0rem' // remove default padding\n },\n commands: {\n paddingTop: '0rem' // remove default padding\n },\n scrollableContent: {\n display: 'flex',\n flexDirection: 'column',\n height: '100%'\n }\n};\n\n/** @private */\nexport const panelFocusProps: IFocusTrapZoneProps = {\n forceFocusInsideTrap: false\n};\n\n/**\n * @private\n */\nexport const logoStyles = (shape: 'circle' | 'square'): IImageStyles => ({\n root: {\n overflow: 'initial', // prevent the image being clipped\n display: 'flex',\n justifyContent: 'center'\n },\n image: {\n borderRadius: shape === 'circle' ? '100%' : undefined,\n height: `${LOGO_HEIGHT_REM}rem`,\n width: `${LOGO_HEIGHT_REM}rem` // width should match height\n }\n});\n\"../../../../../acs-ui-common/src\""]}
|
1
|
+
{"version":3,"file":"CallConfiguration.styles.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAKL,WAAW,EAMX,eAAe,EAEhB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,yCAAgC;AAEnD,eAAe;AACf,MAAM,CAAC,MAAM,wCAAwC,GAAG,EAAE,CAAC;AAC3D,eAAe;AACf,MAAM,CAAC,MAAM,wCAAwC,GAAG,MAAM,CAAC;AAC/D,eAAe;AACf,MAAM,CAAC,MAAM,qCAAqC,GAAG,MAAM,CAAC;AAE5D,MAAM,eAAe,GAAG,CAAC,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAiB;IAC3D,WAAW,EAAE,MAAM;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAiB;IAC1D,WAAW,EAAE,QAAQ;CACtB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAiB;IAC1D,WAAW,EAAE,QAAQ;CACtB,CAAC;AAEF,eAAe;AACf,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,OAAgB,EAAE,kBAA2B,EAAgB,EAAE,CAAC,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,MAAM;QACnB,YAAY,EAAE,MAAM,CAAC,yBAAyB;KAC/C;IACD,QAAQ,EAAE;QACR,UAAU,EAAE,MAAM,CAAC,yBAAyB;KAC7C;IACD,iBAAiB,EAAE;QACjB,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,QAAQ;QACvB,MAAM,EAAE,MAAM;KACf;CACF,CAAC;AAEF,eAAe;AACf,MAAM,CAAC,MAAM,eAAe,GAAwB;IAClD,oBAAoB,EAAE,KAAK;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAqC,EAAgB,EAAE,CAAC,CAAC;IAClF,IAAI,EAAE;QACJ,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,QAAQ;KACzB;IACD,KAAK,EAAE;QACL,MAAM,EAAE,GAAG,eAAe,KAAK;QAC/B,YAAY,EAAE,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;QACrD,WAAW,EAAE,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;QACrD,SAAS,EAAE,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;KACpD;CACF,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n IStackItemStyles,\n IStackStyles,\n IStackTokens,\n IStyle,\n mergeStyles,\n IButtonStyles,\n Theme,\n IPanelStyles,\n IFocusTrapZoneProps,\n IImageStyles,\n AnimationStyles,\n ITheme\n} from '@fluentui/react';\nimport { _pxToRem } from '@internal/acs-ui-common';\n\n/** @private */\nexport const CONFIGURATION_PAGE_SECTION_MIN_WIDTH_REM = 11;\n/** @private */\nexport const CONFIGURATION_PAGE_SECTION_MAX_WIDTH_REM = 20.625;\n/** @private */\nexport const CONFIGURATION_PAGE_SECTION_HEIGHT_REM = 13.625;\n\nconst LOGO_HEIGHT_REM = 3;\n\n/**\n * @private\n */\nexport const configurationStackTokensDesktop: IStackTokens = {\n childrenGap: '1rem'\n};\n\n/**\n * @private\n */\nexport const configurationStackTokensMobile: IStackTokens = {\n childrenGap: '0.5rem'\n};\n\n/**\n * @private\n */\nexport const deviceConfigurationStackTokens: IStackTokens = {\n childrenGap: '1.5rem'\n};\n\n/** @private */\nexport const configurationContainerStyle = (desktop: boolean, backgroundImageUrl?: string): IStackStyles => ({\n root: {\n height: '100%',\n width: '100%',\n padding: desktop ? '2rem 1rem 2rem 1rem' : '1rem 1rem 2rem 1rem',\n minWidth: desktop\n ? '25rem' // sum of min-width from children + ChildrenGap * (nb of children - 1) + padding * 2 = (11 + 11) + (2 * 1) + 0.5 * 2\n : '16rem', // from LocalPreview: ControlBar width + 0.5 * 2 for spacing + padding * 2 = 14 + 0.5 * 2 + 0.5 * 2\n minHeight: desktop\n ? '22rem' // max height of SelectionContainer + padding * 2 = 21 + 0.5 * 2\n : '13rem',\n '::before': !backgroundImageUrl\n ? undefined\n : {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n left: 0,\n zIndex: 0,\n width: '100%',\n height: '100%',\n backgroundImage: `url(${backgroundImageUrl})`,\n backgroundSize: 'cover',\n backgroundPosition: 'center',\n ...AnimationStyles.fadeIn500\n }\n }\n});\n\n/**\n * @private\n */\nexport const configurationSectionStyle: IStackStyles = {\n root: {\n width: '100%',\n minWidth: `${CONFIGURATION_PAGE_SECTION_MIN_WIDTH_REM}rem`,\n maxWidth: `${CONFIGURATION_PAGE_SECTION_MAX_WIDTH_REM}rem`\n }\n};\n\n/**\n * @private\n */\nexport const selectionContainerStyle = (theme: ITheme): string =>\n mergeStyles({\n width: '100%',\n height: `${CONFIGURATION_PAGE_SECTION_HEIGHT_REM}rem`,\n padding: '1rem',\n borderRadius: theme.effects.roundedCorner6,\n border: `0.0625rem solid ${theme.palette.neutralLight}`,\n boxShadow: theme.effects.elevation4,\n // Style the background of the container to have partial transparency.\n // Using `before:` pseudo-element to avoid having to wrap the content in an extra div.\n // Ideally rgba would be used but we cannot garauntee the format of theme.palette.white\n // to parse it correctly.\n position: 'relative',\n ':before': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n zIndex: 0,\n background: theme.palette.white,\n opacity: 0.9,\n borderRadius: theme.effects.roundedCorner4\n }\n });\n\n/**\n * @private\n */\nexport const titleContainerStyleDesktop = (theme: ITheme): string =>\n mergeStyles(\n {\n fontSize: '1.2rem',\n lineHeight: '1rem',\n fontWeight: 600\n },\n configurationPageTextDecoration(theme)\n );\n\n/**\n * @private\n */\nexport const titleContainerStyleMobile = (theme: ITheme): string =>\n mergeStyles(\n {\n fontSize: '1.0625rem',\n lineHeight: '1.375rem',\n fontWeight: 600,\n textAlign: 'center'\n },\n configurationPageTextDecoration(theme)\n );\n\n/**\n * Ensure configuration page text is legible on top of a background image.\n * @private\n */\nconst configurationPageTextDecoration = (theme: ITheme): IStyle => {\n return {\n textShadow: `0px 0px 8px ${theme.palette.whiteTranslucent40}`,\n fill: theme.semanticColors.bodyText,\n stroke: theme.palette.whiteTranslucent40,\n paintOrder: 'stroke fill',\n strokeWidth: _pxToRem(1.5),\n text: {\n letterSpacing: '-0.02rem' // cope with extra width due to stroke width\n }\n };\n};\n\n/**\n * @private\n */\nexport const callDetailsContainerStyles: IStackStyles = {\n root: {\n textAlign: 'center',\n maxWidth: _pxToRem(700),\n alignSelf: 'center'\n }\n};\n\nconst callDetailsStyle: IStyle = {\n fontSize: '0.9375',\n lineHeight: '1.25rem'\n};\n\n/**\n * @private\n */\nexport const callDetailsStyleDesktop = mergeStyles({\n ...callDetailsStyle\n});\n\n/**\n * @private\n */\nexport const callDetailsStyleMobile = mergeStyles({\n ...callDetailsStyle,\n marginBottom: '0.5rem',\n textAlign: 'center'\n});\n\n/**\n * @private\n */\nexport const startCallButtonContainerStyleDesktop: IStackStyles = {\n root: {\n paddingTop: '1.125rem'\n }\n};\n\n/**\n * @private\n */\nexport const startCallButtonContainerStyleMobile: IStackStyles = {\n root: {\n textAlign: 'center'\n }\n};\n\n/**\n * @private\n */\nexport const startCallButtonStyleMobile = mergeStyles({\n width: '100%',\n maxWidth: 'unset',\n borderRadius: '0.25rem'\n});\n\n/**\n * @private\n */\nexport const startCallButtonStyleDesktop = mergeStyles({\n borderRadius: '0.25rem',\n width: 'auto',\n height: '2.25rem'\n});\n\n/** @private */\nexport const cameraAndVideoEffectsContainerStyleDesktop: IStackItemStyles = {\n root: {\n alignItems: 'center'\n }\n};\n\n/**\n * @private\n */\nexport const effectsButtonStyles = (theme: Theme): IButtonStyles => {\n return {\n root: {\n background: 'transparent',\n border: 'none',\n color: theme.palette.themePrimary,\n // Top and bottom padding needs to be 5px to match the label padding\n padding: '5px 0.25rem',\n ':hover, :focus': {\n color: theme.palette.themePrimary\n },\n svg: {\n height: '1rem',\n width: '1rem'\n }\n },\n rootChecked: {\n color: theme.palette.themePrimary\n },\n rootHovered: {\n color: theme.palette.themePrimary\n },\n rootPressed: {\n color: theme.palette.themePrimary\n },\n rootFocused: {\n color: theme.palette.themePrimary\n }\n };\n};\n\n/** @private */\nexport const fillWidth = mergeStyles({\n width: '100%',\n position: 'relative'\n});\n\n/** @private */\nexport const configurationCenteredContent = (fillsHeight: boolean, hasLogo?: boolean): string =>\n mergeStyles({\n width: '100%',\n position: 'relative',\n\n // If the content does not fill the height, center it vertically.\n // We do not include the logo in the centering per design. This allows it to fade\n // in and not shift the content. To exclude the logo, we subtract the logo height\n // and margin from the actual height. This allows the flex box's natural centering\n // to appropriately center the content.\n height: `calc(100% - ${!fillsHeight && hasLogo ? `${LOGO_HEIGHT_REM}rem` : '0rem'})`\n });\n\n/** @private */\nexport const panelStyles: Partial<IPanelStyles> = {\n content: {\n display: 'flex',\n flexBasis: '100%',\n paddingLeft: '0rem', // remove default padding\n paddingRight: '0rem' // remove default padding\n },\n commands: {\n paddingTop: '0rem' // remove default padding\n },\n scrollableContent: {\n display: 'flex',\n flexDirection: 'column',\n height: '100%'\n }\n};\n\n/** @private */\nexport const panelFocusProps: IFocusTrapZoneProps = {\n forceFocusInsideTrap: false\n};\n\n/**\n * @private\n */\nexport const logoStyles = (shape: undefined | 'unset' | 'circle'): IImageStyles => ({\n root: {\n overflow: 'initial', // prevent the image being clipped\n display: 'flex',\n justifyContent: 'center'\n },\n image: {\n height: `${LOGO_HEIGHT_REM}rem`,\n borderRadius: shape === 'circle' ? '100%' : undefined,\n aspectRatio: shape === 'circle' ? '1 / 1' : undefined,\n objectFit: shape === 'circle' ? 'cover' : undefined\n }\n});\n\"../../../../../acs-ui-common/src\""]}
|
package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.d.ts
CHANGED
@@ -34,7 +34,7 @@ export declare const bannerNotificationStyles: IStackStyles;
|
|
34
34
|
/**
|
35
35
|
* @private
|
36
36
|
*/
|
37
|
-
export declare const callArrangementContainerStyles: (verticalControlBar?: boolean
|
37
|
+
export declare const callArrangementContainerStyles: (verticalControlBar?: boolean) => IStackStyles;
|
38
38
|
/**
|
39
39
|
* @private
|
40
40
|
*/
|
@@ -24,7 +24,7 @@ export declare const reduceCallControlsForMobile: (callControlOptions: CallContr
|
|
24
24
|
* Helper function for determine strings and icons for end call page
|
25
25
|
* @private
|
26
26
|
*/
|
27
|
-
export declare const getEndedCallPageProps: (locale: CompositeLocale, endedCall?: CallState
|
27
|
+
export declare const getEndedCallPageProps: (locale: CompositeLocale, endedCall?: CallState) => {
|
28
28
|
title: string;
|
29
29
|
moreDetails?: string | undefined;
|
30
30
|
disableStartCallButton: boolean;
|
@@ -157,11 +157,11 @@ export declare type CallWithChatCompositeOptions = {
|
|
157
157
|
*/
|
158
158
|
alt?: string;
|
159
159
|
/**
|
160
|
-
* The logo can be displayed as a circle
|
160
|
+
* The logo can be displayed as a circle.
|
161
161
|
*
|
162
|
-
* @defaultValue '
|
162
|
+
* @defaultValue 'unset'
|
163
163
|
*/
|
164
|
-
shape?: '
|
164
|
+
shape?: 'unset' | 'circle';
|
165
165
|
};
|
166
166
|
/**
|
167
167
|
* Background image displayed on the configuration page.
|