@mindly/ui-components 3.10.6 → 3.11.0
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 +48 -35
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.d.ts +6 -6
- package/dist/cjs/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.style.d.ts +11 -8
- package/dist/cjs/types/lib/AgoraMediaPlayer/NetworkQuality/NetworkQualityComponents.style.d.ts +8 -0
- package/dist/cjs/types/lib/VideoCallInfo/VideoCallInfo.d.ts +12 -0
- package/dist/cjs/types/lib/VideoCallInfo/VideoCallInfo.style.d.ts +8 -0
- package/dist/cjs/types/lib/VideoCallInfo/index.d.ts +1 -0
- package/dist/esm/index.js +65 -52
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +2 -0
- package/dist/esm/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.d.ts +6 -6
- package/dist/esm/types/lib/AgoraMediaPlayer/AgoraMediaPlayer.style.d.ts +11 -8
- package/dist/esm/types/lib/AgoraMediaPlayer/NetworkQuality/NetworkQualityComponents.style.d.ts +8 -0
- package/dist/esm/types/lib/VideoCallInfo/VideoCallInfo.d.ts +12 -0
- package/dist/esm/types/lib/VideoCallInfo/VideoCallInfo.style.d.ts +8 -0
- package/dist/esm/types/lib/VideoCallInfo/index.d.ts +1 -0
- package/dist/index.d.ts +25 -14
- package/package.json +2 -1
|
@@ -91,3 +91,5 @@ export { default as VideoPlayer } from './lib/VideoPlayer';
|
|
|
91
91
|
export * from './lib/VideoPlayer';
|
|
92
92
|
export { default as NotSupportModal } from './lib/BrowserNotSupport';
|
|
93
93
|
export * from './lib/BrowserNotSupport';
|
|
94
|
+
export { default as VideoCallInfo } from './lib/VideoCallInfo';
|
|
95
|
+
export * from './lib/VideoCallInfo';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
2
|
import { ILocalAudioTrack, ILocalVideoTrack, IRemoteAudioTrack, IRemoteVideoTrack } from 'agora-rtc-sdk-ng';
|
|
3
3
|
export declare type MediaPlayerProps = {
|
|
4
|
+
fullwidth?: boolean;
|
|
4
5
|
cameraTrack?: ILocalVideoTrack | IRemoteVideoTrack;
|
|
5
6
|
audioTrack?: ILocalAudioTrack | IRemoteAudioTrack;
|
|
6
|
-
participantFullName?: string;
|
|
7
|
-
fullScreen?: boolean;
|
|
8
|
-
networkQualityShowHint?: boolean;
|
|
9
|
-
networkQuality?: number;
|
|
10
|
-
fallbackImage?: string;
|
|
11
|
-
fallbackText?: string;
|
|
12
7
|
isVideoTrackMuted?: boolean;
|
|
8
|
+
isAudioTrackMuted?: boolean;
|
|
9
|
+
networkQuality?: number;
|
|
10
|
+
fallbackAvatar?: string;
|
|
11
|
+
fallbackName?: string;
|
|
12
|
+
showControls: boolean;
|
|
13
13
|
} & HTMLAttributes<HTMLDivElement>;
|
|
14
14
|
declare const _default: React.NamedExoticComponent<MediaPlayerProps>;
|
|
15
15
|
export default _default;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
fullScreen?: boolean;
|
|
1
|
+
export declare const AgoraMediaWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
declare type AgoraMediaPlayerWrapperProps = {
|
|
3
|
+
fullwidth: boolean;
|
|
5
4
|
};
|
|
6
|
-
export declare const
|
|
7
|
-
declare type
|
|
8
|
-
|
|
5
|
+
export declare const AgoraMediaPlayerWrapper: import("styled-components").StyledComponent<"div", any, AgoraMediaPlayerWrapperProps, never>;
|
|
6
|
+
declare type AgoraMediaNoVideoWrapperProps = {
|
|
7
|
+
fullwidth: boolean;
|
|
9
8
|
};
|
|
10
|
-
export declare const
|
|
9
|
+
export declare const AgoraMediaNoVideoWrapper: import("styled-components").StyledComponent<"div", any, AgoraMediaNoVideoWrapperProps, never>;
|
|
10
|
+
export declare const AgoraMediaFallbackName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
export declare const AgoraMediaControlsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
+
export declare const ControlsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
|
+
export declare const ControlItemWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
14
|
export {};
|
package/dist/esm/types/lib/AgoraMediaPlayer/NetworkQuality/NetworkQualityComponents.style.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare type StyledNetworkQualityComponentContainerPropsType = {
|
|
2
|
+
showingAdditionalInfo?: boolean;
|
|
3
|
+
fullScreen?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const StyledNetworkQualityComponentContainer: import("styled-components").StyledComponent<"div", any, StyledNetworkQualityComponentContainerPropsType, never>;
|
|
6
|
+
export declare const StyledNetworkQualityComponent: any;
|
|
7
|
+
export declare const StyledNetworkQualityTextContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type UserInfo = {
|
|
3
|
+
name: string;
|
|
4
|
+
avatar?: string;
|
|
5
|
+
position?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare type VideoCallInfoProps = {
|
|
8
|
+
userInfo: UserInfo;
|
|
9
|
+
consultationDate?: number;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: React.NamedExoticComponent<VideoCallInfoProps>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const InfoCallContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const InfoCallWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const InfoCallUserInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const InfoCallUserName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const InfoCallUserPosition: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const InfoCallRow: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const InfoCallTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const InfoCallDescription: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VideoCallInfo';
|
package/dist/index.d.ts
CHANGED
|
@@ -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$7: 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$6: React.NamedExoticComponent<PersonDateTimeCardProps>;
|
|
213
213
|
|
|
214
214
|
declare type PsychologistProfileType = {
|
|
215
215
|
id: string;
|
|
@@ -416,7 +416,7 @@ declare type SelectImpressionEmojiProps = {
|
|
|
416
416
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
417
417
|
};
|
|
418
418
|
|
|
419
|
-
declare const _default$
|
|
419
|
+
declare const _default$5: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
420
420
|
|
|
421
421
|
interface FooterForBookingProps {
|
|
422
422
|
eventHandler: (props?: React.SyntheticEvent) => void;
|
|
@@ -433,17 +433,17 @@ declare type StatusTagPropsType = {
|
|
|
433
433
|
declare const StatusTag: React.FC<StatusTagPropsType>;
|
|
434
434
|
|
|
435
435
|
declare type MediaPlayerProps = {
|
|
436
|
+
fullwidth?: boolean;
|
|
436
437
|
cameraTrack?: ILocalVideoTrack | IRemoteVideoTrack;
|
|
437
438
|
audioTrack?: ILocalAudioTrack | IRemoteAudioTrack;
|
|
438
|
-
participantFullName?: string;
|
|
439
|
-
fullScreen?: boolean;
|
|
440
|
-
networkQualityShowHint?: boolean;
|
|
441
|
-
networkQuality?: number;
|
|
442
|
-
fallbackImage?: string;
|
|
443
|
-
fallbackText?: string;
|
|
444
439
|
isVideoTrackMuted?: boolean;
|
|
440
|
+
isAudioTrackMuted?: boolean;
|
|
441
|
+
networkQuality?: number;
|
|
442
|
+
fallbackAvatar?: string;
|
|
443
|
+
fallbackName?: string;
|
|
444
|
+
showControls: boolean;
|
|
445
445
|
} & HTMLAttributes<HTMLDivElement>;
|
|
446
|
-
declare const _default$
|
|
446
|
+
declare const _default$4: React.NamedExoticComponent<MediaPlayerProps>;
|
|
447
447
|
|
|
448
448
|
declare type RoundButtonPropsType = {
|
|
449
449
|
disabled?: boolean;
|
|
@@ -578,7 +578,7 @@ declare type SpecialistEducationCardProps = {
|
|
|
578
578
|
yearEnd?: number | null;
|
|
579
579
|
showLoader?: boolean;
|
|
580
580
|
};
|
|
581
|
-
declare const _default$
|
|
581
|
+
declare const _default$3: React.NamedExoticComponent<SpecialistEducationCardProps>;
|
|
582
582
|
|
|
583
583
|
declare type SpecialistProfileViewCardProps = {
|
|
584
584
|
avatarLink?: string | null;
|
|
@@ -591,7 +591,7 @@ declare type SpecialistProfileViewCardProps = {
|
|
|
591
591
|
videoLinkUrl?: string | null;
|
|
592
592
|
showLoader?: boolean;
|
|
593
593
|
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
594
|
-
declare const _default$
|
|
594
|
+
declare const _default$2: React.NamedExoticComponent<SpecialistProfileViewCardProps>;
|
|
595
595
|
|
|
596
596
|
declare type SpecialistStatisticsCardProps = {
|
|
597
597
|
activeClients?: number;
|
|
@@ -625,7 +625,7 @@ declare type VideoPlayerProps = {
|
|
|
625
625
|
closeModalHandler?: () => void;
|
|
626
626
|
onErrorContent: React.ReactElement;
|
|
627
627
|
} & JSX$1.IonModal;
|
|
628
|
-
declare const _default: React.NamedExoticComponent<VideoPlayerProps>;
|
|
628
|
+
declare const _default$1: React.NamedExoticComponent<VideoPlayerProps>;
|
|
629
629
|
|
|
630
630
|
declare type NotSupportModalProps = {
|
|
631
631
|
closeModal?: () => void;
|
|
@@ -635,4 +635,15 @@ declare type NotSupportModalProps = {
|
|
|
635
635
|
} & JSX$1.IonModal;
|
|
636
636
|
declare const NotSupportModal: React.FC<NotSupportModalProps>;
|
|
637
637
|
|
|
638
|
-
|
|
638
|
+
declare type UserInfo = {
|
|
639
|
+
name: string;
|
|
640
|
+
avatar?: string;
|
|
641
|
+
position?: string;
|
|
642
|
+
};
|
|
643
|
+
declare type VideoCallInfoProps = {
|
|
644
|
+
userInfo: UserInfo;
|
|
645
|
+
consultationDate?: number;
|
|
646
|
+
};
|
|
647
|
+
declare const _default: React.NamedExoticComponent<VideoCallInfoProps>;
|
|
648
|
+
|
|
649
|
+
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$7 as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$4 as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, _default$6 as PersonDateTimeCard, Range, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$5 as SelectImpressionEmoji, Skeleton, SpecialistAbout, _default$3 as SpecialistEducationCard, _default$2 as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatusTag, SwitchDeviceCard, TabBar, Tag, Textarea, TherapistCard, TherapistInformationComponent, Toggle, UpdatesCard, UsersPsychologistScrollList, _default as VideoCallInfo, _default$1 as VideoPlayer, YourLocalTimeBlock, toast };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindly/ui-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "react-scripts start",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"date-fns": "^2.28.0",
|
|
37
37
|
"luxon": "^2.4.0",
|
|
38
38
|
"react": "^17.0.2",
|
|
39
|
+
"react-countdown": "^2.3.2",
|
|
39
40
|
"react-day-picker": "^8.0.5",
|
|
40
41
|
"react-dom": "^17.0.2",
|
|
41
42
|
"react-refresh": "^0.9.0",
|