@mindly/ui-components 3.21.10 → 3.22.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/867adbe49f37ac1e.svg +39 -0
- package/dist/cjs/index.js +14 -14
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +6 -0
- package/dist/cjs/types/lib/Consultations/CancelSession/CancelSession.d.ts +13 -0
- package/dist/cjs/types/lib/Consultations/CancelSession/CancelSession.style.d.ts +2 -0
- package/dist/cjs/types/lib/Consultations/CancelSession/index.d.ts +1 -0
- package/dist/cjs/types/lib/Consultations/ReSchedule/ReSchedule.d.ts +11 -0
- package/dist/cjs/types/lib/Consultations/ReSchedule/ReSchedule.style.d.ts +1 -0
- package/dist/cjs/types/lib/Consultations/ReSchedule/index.d.ts +1 -0
- package/dist/cjs/types/lib/Consultations/ReScheduleSuccess/ReScheduleSuccess.d.ts +11 -0
- package/dist/cjs/types/lib/Consultations/ReScheduleSuccess/ReScheduleSuccess.style.d.ts +6 -0
- package/dist/cjs/types/lib/Consultations/ReScheduleSuccess/index.d.ts +1 -0
- package/dist/esm/867adbe49f37ac1e.svg +39 -0
- package/dist/esm/index.js +20 -20
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +6 -0
- package/dist/esm/types/lib/Consultations/CancelSession/CancelSession.d.ts +13 -0
- package/dist/esm/types/lib/Consultations/CancelSession/CancelSession.style.d.ts +2 -0
- package/dist/esm/types/lib/Consultations/CancelSession/index.d.ts +1 -0
- package/dist/esm/types/lib/Consultations/ReSchedule/ReSchedule.d.ts +11 -0
- package/dist/esm/types/lib/Consultations/ReSchedule/ReSchedule.style.d.ts +1 -0
- package/dist/esm/types/lib/Consultations/ReSchedule/index.d.ts +1 -0
- package/dist/esm/types/lib/Consultations/ReScheduleSuccess/ReScheduleSuccess.d.ts +11 -0
- package/dist/esm/types/lib/Consultations/ReScheduleSuccess/ReScheduleSuccess.style.d.ts +6 -0
- package/dist/esm/types/lib/Consultations/ReScheduleSuccess/index.d.ts +1 -0
- package/dist/index.d.ts +52 -20
- package/package.json +1 -1
|
@@ -107,3 +107,9 @@ export { default as ConsultationSpecialistCard } from './lib/Consultations/Consu
|
|
|
107
107
|
export * from './lib/Consultations/ConsultationSpecialistCard';
|
|
108
108
|
export { default as SpecialistInfoModal } from './lib/Consultations/SpecialistInfoModal';
|
|
109
109
|
export * from './lib/Consultations/SpecialistInfoModal';
|
|
110
|
+
export { default as CancelSession } from './lib/Consultations/CancelSession';
|
|
111
|
+
export * from './lib/Consultations/CancelSession';
|
|
112
|
+
export { default as ReSchedule } from './lib/Consultations/ReSchedule';
|
|
113
|
+
export * from './lib/Consultations/ReSchedule';
|
|
114
|
+
export { default as ReScheduleSuccess } from './lib/Consultations/ReScheduleSuccess';
|
|
115
|
+
export * from './lib/Consultations/ReScheduleSuccess';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
declare type CancelSessionProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
avatar?: string;
|
|
5
|
+
time: number;
|
|
6
|
+
timeZone?: string;
|
|
7
|
+
onSubmit?: (message: string) => void;
|
|
8
|
+
onReschedule?: () => void;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
isClientView?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const CancelSession: FC<CancelSessionProps>;
|
|
13
|
+
export default CancelSession;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CancelSession';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type ReScheduleProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
avatar?: string;
|
|
5
|
+
time: number;
|
|
6
|
+
timeZone?: string;
|
|
7
|
+
onSubmit?: (message: string) => void;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: React.NamedExoticComponent<ReScheduleProps>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ReScheduleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ReSchedule';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
declare type ReScheduleSuccessProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
avatar?: string;
|
|
5
|
+
time: number;
|
|
6
|
+
timeZone?: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
type?: 'reschedule' | 'cancel';
|
|
9
|
+
};
|
|
10
|
+
declare const ReScheduleSuccess: FC<ReScheduleSuccessProps>;
|
|
11
|
+
export default ReScheduleSuccess;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare type SuccessProps = {
|
|
2
|
+
type: 'reschedule' | 'cancel';
|
|
3
|
+
};
|
|
4
|
+
export declare const SuccessWrapper: import("styled-components").StyledComponent<"div", any, SuccessProps, never>;
|
|
5
|
+
export declare const SuccessContainer: import("styled-components").StyledComponent<"div", any, SuccessProps, never>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ReScheduleSuccess';
|
package/dist/index.d.ts
CHANGED
|
@@ -203,7 +203,7 @@ declare type LetterAvatarProps = {
|
|
|
203
203
|
fontSize?: number;
|
|
204
204
|
onClick?: () => void;
|
|
205
205
|
};
|
|
206
|
-
declare const _default$
|
|
206
|
+
declare const _default$j: React.NamedExoticComponent<LetterAvatarProps>;
|
|
207
207
|
|
|
208
208
|
declare type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
|
|
209
209
|
onErrorContent: React.ReactElement;
|
|
@@ -215,7 +215,7 @@ declare type PersonDateTimeCardProps = {
|
|
|
215
215
|
name: string;
|
|
216
216
|
dateTime: Date;
|
|
217
217
|
};
|
|
218
|
-
declare const _default$
|
|
218
|
+
declare const _default$i: React.NamedExoticComponent<PersonDateTimeCardProps>;
|
|
219
219
|
|
|
220
220
|
declare type PsychologistProfileType = {
|
|
221
221
|
id: string;
|
|
@@ -430,7 +430,7 @@ declare type SelectImpressionEmojiProps = {
|
|
|
430
430
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
431
431
|
};
|
|
432
432
|
|
|
433
|
-
declare const _default$
|
|
433
|
+
declare const _default$h: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
434
434
|
|
|
435
435
|
interface FooterForBookingProps {
|
|
436
436
|
eventHandler: (props?: React.SyntheticEvent) => void;
|
|
@@ -459,7 +459,7 @@ declare type MediaPlayerProps = {
|
|
|
459
459
|
showControls: boolean;
|
|
460
460
|
isScreenSharing?: boolean;
|
|
461
461
|
} & HTMLAttributes<HTMLDivElement>;
|
|
462
|
-
declare const _default$
|
|
462
|
+
declare const _default$g: React.NamedExoticComponent<MediaPlayerProps>;
|
|
463
463
|
|
|
464
464
|
declare type RoundButtonPropsType = {
|
|
465
465
|
disabled?: boolean;
|
|
@@ -484,7 +484,7 @@ declare type ChatListItemProps = {
|
|
|
484
484
|
timeZone?: string;
|
|
485
485
|
lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
|
|
486
486
|
};
|
|
487
|
-
declare const _default$
|
|
487
|
+
declare const _default$f: React.NamedExoticComponent<ChatListItemProps>;
|
|
488
488
|
|
|
489
489
|
declare type ChatMessageProps = {
|
|
490
490
|
message: string | File;
|
|
@@ -501,11 +501,11 @@ declare type ChatMessageProps = {
|
|
|
501
501
|
height?: number;
|
|
502
502
|
};
|
|
503
503
|
};
|
|
504
|
-
declare const _default$
|
|
504
|
+
declare const _default$e: React.NamedExoticComponent<ChatMessageProps>;
|
|
505
505
|
|
|
506
506
|
declare const ChatMessageSkeleton: () => JSX.Element;
|
|
507
507
|
|
|
508
|
-
declare const _default$
|
|
508
|
+
declare const _default$d: React.MemoExoticComponent<() => JSX.Element>;
|
|
509
509
|
|
|
510
510
|
declare type EmptyChatList = {
|
|
511
511
|
title?: string;
|
|
@@ -515,7 +515,7 @@ declare type EmptyChatList = {
|
|
|
515
515
|
onClick?: () => void;
|
|
516
516
|
};
|
|
517
517
|
declare const EmptyChatList: FC<EmptyChatList>;
|
|
518
|
-
declare const _default$
|
|
518
|
+
declare const _default$c: React.NamedExoticComponent<EmptyChatList>;
|
|
519
519
|
|
|
520
520
|
declare type EmptyChatMessagesProps = {
|
|
521
521
|
title?: string;
|
|
@@ -539,7 +539,7 @@ declare type TextareaProps = {
|
|
|
539
539
|
onError?: (message: string) => void;
|
|
540
540
|
onFileSelect?: (file: File | null, type: 'file' | 'image' | 'video', fileInfo: FileInfoType) => void;
|
|
541
541
|
};
|
|
542
|
-
declare const _default$
|
|
542
|
+
declare const _default$b: React.NamedExoticComponent<TextareaProps>;
|
|
543
543
|
|
|
544
544
|
declare type LouseConnectProps = {
|
|
545
545
|
onClick?: () => void;
|
|
@@ -620,7 +620,7 @@ declare type SpecialistEducationCardProps = {
|
|
|
620
620
|
yearEnd?: number | null;
|
|
621
621
|
showLoader?: boolean;
|
|
622
622
|
};
|
|
623
|
-
declare const _default$
|
|
623
|
+
declare const _default$a: React.NamedExoticComponent<SpecialistEducationCardProps>;
|
|
624
624
|
|
|
625
625
|
declare type SpecialistProfileViewCardProps = {
|
|
626
626
|
avatarLink?: string | null;
|
|
@@ -633,7 +633,7 @@ declare type SpecialistProfileViewCardProps = {
|
|
|
633
633
|
videoLinkUrl?: string | null;
|
|
634
634
|
showLoader?: boolean;
|
|
635
635
|
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
636
|
-
declare const _default$
|
|
636
|
+
declare const _default$9: React.NamedExoticComponent<SpecialistProfileViewCardProps>;
|
|
637
637
|
|
|
638
638
|
declare type SpecialistStatisticsCardProps = {
|
|
639
639
|
activeClients?: number;
|
|
@@ -667,7 +667,7 @@ declare type VideoPlayerProps = {
|
|
|
667
667
|
closeModalHandler?: () => void;
|
|
668
668
|
onErrorContent: React.ReactElement;
|
|
669
669
|
} & JSX$1.IonModal;
|
|
670
|
-
declare const _default$
|
|
670
|
+
declare const _default$8: React.NamedExoticComponent<VideoPlayerProps>;
|
|
671
671
|
|
|
672
672
|
declare type NotSupportModalProps = {
|
|
673
673
|
closeModal?: () => void;
|
|
@@ -688,7 +688,7 @@ declare type VideoCallInfoProps = {
|
|
|
688
688
|
userInfo: UserInfo;
|
|
689
689
|
consultationDate?: number;
|
|
690
690
|
};
|
|
691
|
-
declare const _default$
|
|
691
|
+
declare const _default$7: React.NamedExoticComponent<VideoCallInfoProps>;
|
|
692
692
|
|
|
693
693
|
declare enum ConsultationCardType {
|
|
694
694
|
FEATURE = "feature",
|
|
@@ -707,14 +707,14 @@ declare type ConsultationCardProps = {
|
|
|
707
707
|
onVideoCall?: (sessionId: string) => void;
|
|
708
708
|
};
|
|
709
709
|
|
|
710
|
-
declare const _default$
|
|
710
|
+
declare const _default$6: React.NamedExoticComponent<ConsultationCardProps>;
|
|
711
711
|
|
|
712
712
|
declare type SignUpSessionButtonProps = {
|
|
713
713
|
label: string;
|
|
714
714
|
isLoading?: boolean;
|
|
715
715
|
onClick?: () => void;
|
|
716
716
|
};
|
|
717
|
-
declare const _default$
|
|
717
|
+
declare const _default$5: React.NamedExoticComponent<SignUpSessionButtonProps>;
|
|
718
718
|
|
|
719
719
|
declare type EmptyConsultationsProps = {
|
|
720
720
|
title: string;
|
|
@@ -722,7 +722,7 @@ declare type EmptyConsultationsProps = {
|
|
|
722
722
|
buttonLabel?: string;
|
|
723
723
|
onClick?: () => void;
|
|
724
724
|
};
|
|
725
|
-
declare const _default$
|
|
725
|
+
declare const _default$4: React.NamedExoticComponent<EmptyConsultationsProps>;
|
|
726
726
|
|
|
727
727
|
declare type ConsultationModalProps = {
|
|
728
728
|
isOpen: boolean;
|
|
@@ -740,7 +740,7 @@ declare type ConsultationModalProps = {
|
|
|
740
740
|
onReschedule?: (sessionId: string) => void;
|
|
741
741
|
onModalClose?: () => void;
|
|
742
742
|
};
|
|
743
|
-
declare const _default$
|
|
743
|
+
declare const _default$3: React.NamedExoticComponent<ConsultationModalProps>;
|
|
744
744
|
|
|
745
745
|
declare type SpecialistData = {
|
|
746
746
|
id: string;
|
|
@@ -755,7 +755,7 @@ declare type SignUpSessionModalProps = {
|
|
|
755
755
|
onCancel?: () => void;
|
|
756
756
|
viewportHeight: number;
|
|
757
757
|
};
|
|
758
|
-
declare const _default$
|
|
758
|
+
declare const _default$2: React.NamedExoticComponent<SignUpSessionModalProps>;
|
|
759
759
|
|
|
760
760
|
declare type ConsultationSpecialistCardProps = {
|
|
761
761
|
id: string;
|
|
@@ -765,7 +765,7 @@ declare type ConsultationSpecialistCardProps = {
|
|
|
765
765
|
onClick?: (id: string) => void;
|
|
766
766
|
onSignUp?: (id: string) => void;
|
|
767
767
|
};
|
|
768
|
-
declare const _default: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
|
|
768
|
+
declare const _default$1: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
|
|
769
769
|
|
|
770
770
|
declare type SpecialistInfoModalProps = {
|
|
771
771
|
isOpen: boolean;
|
|
@@ -781,4 +781,36 @@ declare type SpecialistInfoModalProps = {
|
|
|
781
781
|
};
|
|
782
782
|
declare const SpecialistInfoModal: FC<SpecialistInfoModalProps>;
|
|
783
783
|
|
|
784
|
-
|
|
784
|
+
declare type CancelSessionProps = {
|
|
785
|
+
name: string;
|
|
786
|
+
avatar?: string;
|
|
787
|
+
time: number;
|
|
788
|
+
timeZone?: string;
|
|
789
|
+
onSubmit?: (message: string) => void;
|
|
790
|
+
onReschedule?: () => void;
|
|
791
|
+
isLoading?: boolean;
|
|
792
|
+
isClientView?: boolean;
|
|
793
|
+
};
|
|
794
|
+
declare const CancelSession: FC<CancelSessionProps>;
|
|
795
|
+
|
|
796
|
+
declare type ReScheduleProps = {
|
|
797
|
+
name: string;
|
|
798
|
+
avatar?: string;
|
|
799
|
+
time: number;
|
|
800
|
+
timeZone?: string;
|
|
801
|
+
onSubmit?: (message: string) => void;
|
|
802
|
+
isLoading?: boolean;
|
|
803
|
+
};
|
|
804
|
+
declare const _default: React.NamedExoticComponent<ReScheduleProps>;
|
|
805
|
+
|
|
806
|
+
declare type ReScheduleSuccessProps = {
|
|
807
|
+
name: string;
|
|
808
|
+
avatar?: string;
|
|
809
|
+
time: number;
|
|
810
|
+
timeZone?: string;
|
|
811
|
+
onClick?: () => void;
|
|
812
|
+
type?: 'reschedule' | 'cancel';
|
|
813
|
+
};
|
|
814
|
+
declare const ReScheduleSuccess: FC<ReScheduleSuccessProps>;
|
|
815
|
+
|
|
816
|
+
export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, CancelSession, _default$f as ChatListItem, _default$d as ChatListSkeleton, _default$e as ChatMessage, ChatMessageSkeleton, _default$6 as ConsultationCard, ConsultationCardDeprecated, ConsultationCardDeprecatedProps, ConsultationCardDeprecatedSkeleton, ConsultationCardProps, ConsultationCardType, _default$3 as ConsultationModal, _default$1 as ConsultationSpecialistCard, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, _default$c as EmptyChatList, EmptyChatMessages, _default$4 as EmptyConsultations, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$j as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$g as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, _default$i as PersonDateTimeCard, Range, _default as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$h as SelectImpressionEmoji, _default$5 as SignUpSessionButton, _default$2 as SignUpSessionModal, Skeleton, SpecialistAbout, _default$a as SpecialistEducationCard, SpecialistInfoModal, _default$9 as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$b as Textarea, TherapistCard, TherapistInformationComponent, Toggle, UpdatesCard, UsersPsychologistScrollList, _default$7 as VideoCallInfo, _default$8 as VideoPlayer, YourLocalTimeBlock, toast };
|