@mindly/ui-components 3.7.2 → 3.7.4

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.
@@ -1,11 +1,13 @@
1
1
  import React, { HTMLAttributes } from 'react';
2
- import { ILocalAudioTrack, ILocalVideoTrack, IRemoteAudioTrack, IRemoteVideoTrack } from 'agora-rtc-sdk-ng';
2
+ import { ILocalAudioTrack, ILocalVideoTrack, IRemoteAudioTrack, IRemoteVideoTrack, NetworkQuality } from 'agora-rtc-sdk-ng';
3
3
  export declare type MediaPlayerProps = {
4
4
  videoContainer?: React.RefObject<HTMLDivElement>;
5
5
  cameraTrack?: ILocalVideoTrack;
6
6
  audioTrack?: ILocalAudioTrack;
7
7
  remoteAudioTrack?: IRemoteAudioTrack;
8
8
  remoteCameraTrack?: IRemoteVideoTrack;
9
+ fullScreen?: boolean;
10
+ networkQuality?: NetworkQuality;
9
11
  } & HTMLAttributes<HTMLDivElement>;
10
12
  declare const AgoraMediaPlayer: React.FC<MediaPlayerProps>;
11
13
  export default AgoraMediaPlayer;
@@ -1,6 +1,6 @@
1
+ export declare const StyledMediaPlayerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
1
2
  declare type StyledMediaPlayerContainerPropsType = {
2
- width?: number;
3
- height?: number;
3
+ fullScreen?: boolean;
4
4
  };
5
- export declare const StyledMediaPlayerContainer: import("styled-components").StyledComponent<"div", any, StyledMediaPlayerContainerPropsType, never>;
5
+ export declare const StyledMediaPlayer: import("styled-components").StyledComponent<"div", any, StyledMediaPlayerContainerPropsType, never>;
6
6
  export {};
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { NetworkQuality } from 'agora-rtc-sdk-ng';
3
+ declare type NetworkQualityComponentType = {
4
+ /**
5
+ * if this param - true, component didnt render any hint for connection(only icon)
6
+ */
7
+ showingAdditionalInfo: boolean;
8
+ /**
9
+ * Quality of network
10
+ * https://docs.agora.io/en/video/API%20Reference/web_ng/interfaces/networkquality.html#uplinknetworkquality
11
+ */
12
+ networkQuality?: NetworkQuality;
13
+ };
14
+ declare const NetworkQualityComponent: React.FC<NetworkQualityComponentType>;
15
+ export default NetworkQualityComponent;
@@ -0,0 +1,11 @@
1
+ export declare const getNetworkCssInformation: (networkQualityNumber: number) => {
2
+ color: string;
3
+ hint: string;
4
+ icon: string;
5
+ additionalHint?: undefined;
6
+ } | {
7
+ color: string;
8
+ hint: string;
9
+ additionalHint: string;
10
+ icon: string;
11
+ };
@@ -25,9 +25,9 @@ declare type VideoCallSwitchDevice = {
25
25
  */
26
26
  disableDeviceHandler?: () => void;
27
27
  /**
28
- * If device enabled: true, if muted: false
28
+ * If device disabled - false, in another way - true
29
29
  */
30
- isActive?: boolean;
30
+ isDisabled?: boolean;
31
31
  };
32
32
  declare const SwitchDeviceCard: React.FC<VideoCallSwitchDevice>;
33
33
  export default SwitchDeviceCard;