@mindly/ui-components 3.7.3 → 3.7.5
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/cjs/index.js +5 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.d.ts +9 -8
- package/dist/cjs/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.style.d.ts +5 -0
- package/dist/cjs/types/lib/AgoraMediaPlayer/NetworkQuality/NetworkQualityComponent.d.ts +1 -2
- package/dist/cjs/types/lib/SwitchDeviceCard/SwitchDeviceCard.d.ts +2 -2
- package/dist/esm/index.js +5 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.d.ts +9 -8
- package/dist/esm/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.style.d.ts +5 -0
- package/dist/esm/types/lib/AgoraMediaPlayer/NetworkQuality/NetworkQualityComponent.d.ts +1 -2
- package/dist/esm/types/lib/SwitchDeviceCard/SwitchDeviceCard.d.ts +2 -2
- package/dist/index.d.ts +14 -13
- package/package.json +1 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
import { ILocalAudioTrack, ILocalVideoTrack, IRemoteAudioTrack, IRemoteVideoTrack
|
|
2
|
+
import { ILocalAudioTrack, ILocalVideoTrack, IRemoteAudioTrack, IRemoteVideoTrack } from 'agora-rtc-sdk-ng';
|
|
3
3
|
export declare type MediaPlayerProps = {
|
|
4
4
|
videoContainer?: React.RefObject<HTMLDivElement>;
|
|
5
|
-
cameraTrack?: ILocalVideoTrack;
|
|
6
|
-
audioTrack?: ILocalAudioTrack;
|
|
7
|
-
remoteAudioTrack?: IRemoteAudioTrack;
|
|
8
|
-
remoteCameraTrack?: IRemoteVideoTrack;
|
|
5
|
+
cameraTrack?: ILocalVideoTrack | IRemoteVideoTrack;
|
|
6
|
+
audioTrack?: ILocalAudioTrack | IRemoteAudioTrack;
|
|
9
7
|
fullScreen?: boolean;
|
|
10
|
-
networkQuality?:
|
|
8
|
+
networkQuality?: number;
|
|
9
|
+
fallbackImage?: string;
|
|
10
|
+
fallbackText?: string;
|
|
11
|
+
isVideoTrackMuted?: boolean;
|
|
11
12
|
} & HTMLAttributes<HTMLDivElement>;
|
|
12
|
-
declare const
|
|
13
|
-
export default
|
|
13
|
+
declare const _default: React.NamedExoticComponent<MediaPlayerProps>;
|
|
14
|
+
export default _default;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const StyledMediaPlayerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
3
|
declare type StyledMediaPlayerContainerPropsType = {
|
|
3
4
|
fullScreen?: boolean;
|
|
4
5
|
};
|
|
5
6
|
export declare const StyledMediaPlayer: import("styled-components").StyledComponent<"div", any, StyledMediaPlayerContainerPropsType, never>;
|
|
7
|
+
declare type StyledPlaceholderImagePropsType = {
|
|
8
|
+
fullScreen?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const StyledPlaceholderImage: import("styled-components").StyledComponent<import("react").FC<import("../Avatar").AvatarProps>, any, StyledPlaceholderImagePropsType, never>;
|
|
6
11
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { NetworkQuality } from 'agora-rtc-sdk-ng';
|
|
3
2
|
declare type NetworkQualityComponentType = {
|
|
4
3
|
/**
|
|
5
4
|
* if this param - true, component didnt render any hint for connection(only icon)
|
|
@@ -9,7 +8,7 @@ declare type NetworkQualityComponentType = {
|
|
|
9
8
|
* Quality of network
|
|
10
9
|
* https://docs.agora.io/en/video/API%20Reference/web_ng/interfaces/networkquality.html#uplinknetworkquality
|
|
11
10
|
*/
|
|
12
|
-
networkQuality?:
|
|
11
|
+
networkQuality?: number;
|
|
13
12
|
};
|
|
14
13
|
declare const NetworkQualityComponent: React.FC<NetworkQualityComponentType>;
|
|
15
14
|
export default NetworkQualityComponent;
|
|
@@ -25,9 +25,9 @@ declare type VideoCallSwitchDevice = {
|
|
|
25
25
|
*/
|
|
26
26
|
disableDeviceHandler?: () => void;
|
|
27
27
|
/**
|
|
28
|
-
* If device
|
|
28
|
+
* If device disabled - false, in another way - true
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
isDisabled?: boolean;
|
|
31
31
|
};
|
|
32
32
|
declare const SwitchDeviceCard: React.FC<VideoCallSwitchDevice>;
|
|
33
33
|
export default SwitchDeviceCard;
|