@mindly/ui-components 3.7.4 → 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/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/index.d.ts +12 -11
- 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;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText } from 'react';
|
|
3
3
|
import { JSX as JSX$1 } from '@ionic/core/components';
|
|
4
|
-
import { ILocalVideoTrack, ILocalAudioTrack, IRemoteAudioTrack
|
|
4
|
+
import { ILocalVideoTrack, IRemoteVideoTrack, ILocalAudioTrack, IRemoteAudioTrack } from 'agora-rtc-sdk-ng';
|
|
5
5
|
|
|
6
6
|
interface ButtonProps {
|
|
7
7
|
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
|
|
@@ -197,7 +197,7 @@ declare type LetterAvatarProps = {
|
|
|
197
197
|
className?: string;
|
|
198
198
|
style?: CSSProperties;
|
|
199
199
|
};
|
|
200
|
-
declare const _default$
|
|
200
|
+
declare const _default$3: React.NamedExoticComponent<LetterAvatarProps>;
|
|
201
201
|
|
|
202
202
|
declare type ImageWithFallbackProps = JSX.IntrinsicElements["img"] & ({
|
|
203
203
|
onErrorContent: React.ReactElement;
|
|
@@ -209,7 +209,7 @@ declare type PersonDateTimeCardProps = {
|
|
|
209
209
|
name: string;
|
|
210
210
|
dateTime: Date;
|
|
211
211
|
};
|
|
212
|
-
declare const _default$
|
|
212
|
+
declare const _default$2: React.NamedExoticComponent<PersonDateTimeCardProps>;
|
|
213
213
|
|
|
214
214
|
declare type PsychologistProfileType = {
|
|
215
215
|
id: string;
|
|
@@ -411,7 +411,7 @@ declare type SelectImpressionEmojiProps = {
|
|
|
411
411
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
412
412
|
};
|
|
413
413
|
|
|
414
|
-
declare const _default: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
414
|
+
declare const _default$1: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
415
415
|
|
|
416
416
|
interface FooterForBookingProps {
|
|
417
417
|
eventHandler: (props?: React.SyntheticEvent) => void;
|
|
@@ -429,14 +429,15 @@ declare const StatusTag: React.FC<StatusTagPropsType>;
|
|
|
429
429
|
|
|
430
430
|
declare type MediaPlayerProps = {
|
|
431
431
|
videoContainer?: React.RefObject<HTMLDivElement>;
|
|
432
|
-
cameraTrack?: ILocalVideoTrack;
|
|
433
|
-
audioTrack?: ILocalAudioTrack;
|
|
434
|
-
remoteAudioTrack?: IRemoteAudioTrack;
|
|
435
|
-
remoteCameraTrack?: IRemoteVideoTrack;
|
|
432
|
+
cameraTrack?: ILocalVideoTrack | IRemoteVideoTrack;
|
|
433
|
+
audioTrack?: ILocalAudioTrack | IRemoteAudioTrack;
|
|
436
434
|
fullScreen?: boolean;
|
|
437
|
-
networkQuality?:
|
|
435
|
+
networkQuality?: number;
|
|
436
|
+
fallbackImage?: string;
|
|
437
|
+
fallbackText?: string;
|
|
438
|
+
isVideoTrackMuted?: boolean;
|
|
438
439
|
} & HTMLAttributes<HTMLDivElement>;
|
|
439
|
-
declare const
|
|
440
|
+
declare const _default: React.NamedExoticComponent<MediaPlayerProps>;
|
|
440
441
|
|
|
441
442
|
declare type RoundButtonPropsType = {
|
|
442
443
|
disabled?: boolean;
|
|
@@ -541,4 +542,4 @@ declare type AppFooterProps = {
|
|
|
541
542
|
};
|
|
542
543
|
declare const AppFooter: FC<AppFooterProps>;
|
|
543
544
|
|
|
544
|
-
export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, ChatListItem, ChatListSkeleton, ChatMessage, ChatMessageSkeleton, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, EmptyChatList, EmptyChatMessages, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$
|
|
545
|
+
export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, ChatListItem, ChatListSkeleton, ChatMessage, ChatMessageSkeleton, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, EmptyChatList, EmptyChatMessages, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$3 as LetterAvatar, ListButton, ListSelect, LouseConnect, _default as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotesCardText, NotesEditor, _default$2 as PersonDateTimeCard, Range, RoundButton, RowSelect, ScrollTabs, Segment, SegmentType, _default$1 as SelectImpressionEmoji, StatusTag, SwitchDeviceCard, TabBar, Textarea, TherapistCard, TherapistInformationComponent, Toggle, UpdatesCard, UsersPsychologistScrollList, YourLocalTimeBlock, toast };
|