@mindly/ui-components 3.29.2 → 3.30.1
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 +13 -13
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +4 -0
- package/dist/cjs/types/lib/Inputs/CustomSelect/CustomSelect.d.ts +10 -0
- package/dist/cjs/types/lib/Inputs/CustomSelect/CustomSelect.style.d.ts +1 -0
- package/dist/cjs/types/lib/Inputs/CustomSelect/index.d.ts +1 -0
- package/dist/cjs/types/lib/Inputs/CustomTextarea/CustomTextarea.d.ts +6 -0
- package/dist/cjs/types/lib/Inputs/CustomTextarea/CustomTextarea.style.d.ts +1 -0
- package/dist/cjs/types/lib/Inputs/CustomTextarea/index.d.ts +1 -0
- package/dist/cjs/types/lib/Inputs/TextInput/TextInput.d.ts +5 -2
- package/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +4 -0
- package/dist/esm/types/lib/Inputs/CustomSelect/CustomSelect.d.ts +10 -0
- package/dist/esm/types/lib/Inputs/CustomSelect/CustomSelect.style.d.ts +1 -0
- package/dist/esm/types/lib/Inputs/CustomSelect/index.d.ts +1 -0
- package/dist/esm/types/lib/Inputs/CustomTextarea/CustomTextarea.d.ts +6 -0
- package/dist/esm/types/lib/Inputs/CustomTextarea/CustomTextarea.style.d.ts +1 -0
- package/dist/esm/types/lib/Inputs/CustomTextarea/index.d.ts +1 -0
- package/dist/esm/types/lib/Inputs/TextInput/TextInput.d.ts +5 -2
- package/dist/index.d.ts +44 -27
- package/package.json +1 -1
|
@@ -139,3 +139,7 @@ export { default as ImageInput } from './lib/Inputs/ImageInput';
|
|
|
139
139
|
export * from './lib/Inputs/ImageInput';
|
|
140
140
|
export { default as PasswordInput } from './lib/Inputs/PasswordInput';
|
|
141
141
|
export * from './lib/Inputs/PasswordInput';
|
|
142
|
+
export { default as CustomTextarea } from './lib/Inputs/CustomTextarea';
|
|
143
|
+
export * from './lib/Inputs/CustomTextarea';
|
|
144
|
+
export { default as CustomSelect } from './lib/Inputs/CustomSelect';
|
|
145
|
+
export * from './lib/Inputs/CustomSelect';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type CustomSelectProps = {
|
|
3
|
+
options: {
|
|
4
|
+
id: string | number;
|
|
5
|
+
label: string | number;
|
|
6
|
+
}[];
|
|
7
|
+
isError?: boolean;
|
|
8
|
+
} & React.SelectHTMLAttributes<HTMLSelectElement>;
|
|
9
|
+
declare const _default: React.NamedExoticComponent<CustomSelectProps>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CustomSelectWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CustomSelect';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TextareaWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CustomTextarea';
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare
|
|
3
|
-
|
|
2
|
+
declare type TextInputProps = {
|
|
3
|
+
isError?: boolean;
|
|
4
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'>;
|
|
5
|
+
declare const _default: React.NamedExoticComponent<TextInputProps>;
|
|
6
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -209,7 +209,7 @@ declare type LetterAvatarProps = {
|
|
|
209
209
|
fontSize?: number;
|
|
210
210
|
onClick?: () => void;
|
|
211
211
|
};
|
|
212
|
-
declare const _default$
|
|
212
|
+
declare const _default$r: React.NamedExoticComponent<LetterAvatarProps>;
|
|
213
213
|
|
|
214
214
|
declare type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
|
|
215
215
|
onErrorContent: React.ReactElement;
|
|
@@ -221,7 +221,7 @@ declare type PersonDateTimeCardProps = {
|
|
|
221
221
|
name: string;
|
|
222
222
|
dateTime: Date;
|
|
223
223
|
};
|
|
224
|
-
declare const _default$
|
|
224
|
+
declare const _default$q: React.NamedExoticComponent<PersonDateTimeCardProps>;
|
|
225
225
|
|
|
226
226
|
declare type PsychologistProfileType = {
|
|
227
227
|
id: string;
|
|
@@ -404,7 +404,7 @@ declare type SelectImpressionEmojiProps = {
|
|
|
404
404
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
405
405
|
};
|
|
406
406
|
|
|
407
|
-
declare const _default$
|
|
407
|
+
declare const _default$p: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
408
408
|
|
|
409
409
|
interface FooterForBookingProps {
|
|
410
410
|
eventHandler: (props?: React.SyntheticEvent) => void;
|
|
@@ -433,7 +433,7 @@ declare type MediaPlayerProps = {
|
|
|
433
433
|
showControls: boolean;
|
|
434
434
|
isScreenSharing?: boolean;
|
|
435
435
|
} & HTMLAttributes<HTMLDivElement>;
|
|
436
|
-
declare const _default$
|
|
436
|
+
declare const _default$o: React.NamedExoticComponent<MediaPlayerProps>;
|
|
437
437
|
|
|
438
438
|
declare type RoundButtonPropsType = {
|
|
439
439
|
disabled?: boolean;
|
|
@@ -458,7 +458,7 @@ declare type ChatListItemProps = {
|
|
|
458
458
|
timeZone?: string;
|
|
459
459
|
lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
|
|
460
460
|
};
|
|
461
|
-
declare const _default$
|
|
461
|
+
declare const _default$n: React.NamedExoticComponent<ChatListItemProps>;
|
|
462
462
|
|
|
463
463
|
declare type ChatMessageProps = {
|
|
464
464
|
message: string | File;
|
|
@@ -475,11 +475,11 @@ declare type ChatMessageProps = {
|
|
|
475
475
|
height?: number;
|
|
476
476
|
};
|
|
477
477
|
};
|
|
478
|
-
declare const _default$
|
|
478
|
+
declare const _default$m: React.NamedExoticComponent<ChatMessageProps>;
|
|
479
479
|
|
|
480
480
|
declare const ChatMessageSkeleton: () => JSX.Element;
|
|
481
481
|
|
|
482
|
-
declare const _default$
|
|
482
|
+
declare const _default$l: React.MemoExoticComponent<() => JSX.Element>;
|
|
483
483
|
|
|
484
484
|
declare type EmptyChatList = {
|
|
485
485
|
title?: string;
|
|
@@ -489,7 +489,7 @@ declare type EmptyChatList = {
|
|
|
489
489
|
onClick?: () => void;
|
|
490
490
|
};
|
|
491
491
|
declare const EmptyChatList: FC<EmptyChatList>;
|
|
492
|
-
declare const _default$
|
|
492
|
+
declare const _default$k: React.NamedExoticComponent<EmptyChatList>;
|
|
493
493
|
|
|
494
494
|
declare type EmptyChatMessagesProps = {
|
|
495
495
|
title?: string;
|
|
@@ -513,7 +513,7 @@ declare type TextareaProps = {
|
|
|
513
513
|
onError?: (message: string) => void;
|
|
514
514
|
onFileSelect?: (file: File | null, type: 'file' | 'image' | 'video', fileInfo: FileInfoType) => void;
|
|
515
515
|
};
|
|
516
|
-
declare const _default$
|
|
516
|
+
declare const _default$j: React.NamedExoticComponent<TextareaProps>;
|
|
517
517
|
|
|
518
518
|
declare type LouseConnectProps = {
|
|
519
519
|
onClick?: () => void;
|
|
@@ -587,7 +587,7 @@ declare type SpecialistEducationCardProps$1 = {
|
|
|
587
587
|
yearEnd?: number | null;
|
|
588
588
|
showLoader?: boolean;
|
|
589
589
|
};
|
|
590
|
-
declare const _default$
|
|
590
|
+
declare const _default$i: React.NamedExoticComponent<SpecialistEducationCardProps$1>;
|
|
591
591
|
|
|
592
592
|
declare type SpecialistProfileViewCardProps$1 = {
|
|
593
593
|
avatarLink?: string | null;
|
|
@@ -600,7 +600,7 @@ declare type SpecialistProfileViewCardProps$1 = {
|
|
|
600
600
|
videoLinkUrl?: string | null;
|
|
601
601
|
showLoader?: boolean;
|
|
602
602
|
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
603
|
-
declare const _default$
|
|
603
|
+
declare const _default$h: React.NamedExoticComponent<SpecialistProfileViewCardProps$1>;
|
|
604
604
|
|
|
605
605
|
declare type SpecialistStatisticsCardProps$1 = {
|
|
606
606
|
activeClients?: number;
|
|
@@ -636,7 +636,7 @@ declare type VideoPlayerProps = {
|
|
|
636
636
|
closeModalHandler?: () => void;
|
|
637
637
|
onErrorContent: React.ReactElement;
|
|
638
638
|
} & JSX$1.IonModal;
|
|
639
|
-
declare const _default$
|
|
639
|
+
declare const _default$g: React.NamedExoticComponent<VideoPlayerProps>;
|
|
640
640
|
|
|
641
641
|
declare type NotSupportModalProps = {
|
|
642
642
|
closeModal?: () => void;
|
|
@@ -658,7 +658,7 @@ declare type VideoCallInfoProps = {
|
|
|
658
658
|
consultationDate?: number;
|
|
659
659
|
timeZone?: string;
|
|
660
660
|
};
|
|
661
|
-
declare const _default$
|
|
661
|
+
declare const _default$f: React.NamedExoticComponent<VideoCallInfoProps>;
|
|
662
662
|
|
|
663
663
|
declare enum ConsultationCardType {
|
|
664
664
|
FEATURE = "feature",
|
|
@@ -677,14 +677,14 @@ declare type ConsultationCardProps = {
|
|
|
677
677
|
onVideoCall?: (sessionId: string) => void;
|
|
678
678
|
};
|
|
679
679
|
|
|
680
|
-
declare const _default$
|
|
680
|
+
declare const _default$e: React.NamedExoticComponent<ConsultationCardProps>;
|
|
681
681
|
|
|
682
682
|
declare type SignUpSessionButtonProps = {
|
|
683
683
|
label: string;
|
|
684
684
|
isLoading?: boolean;
|
|
685
685
|
onClick?: () => void;
|
|
686
686
|
};
|
|
687
|
-
declare const _default$
|
|
687
|
+
declare const _default$d: React.NamedExoticComponent<SignUpSessionButtonProps>;
|
|
688
688
|
|
|
689
689
|
declare type EmptyConsultationsProps = {
|
|
690
690
|
title: string;
|
|
@@ -692,7 +692,7 @@ declare type EmptyConsultationsProps = {
|
|
|
692
692
|
buttonLabel?: string;
|
|
693
693
|
onClick?: () => void;
|
|
694
694
|
};
|
|
695
|
-
declare const _default$
|
|
695
|
+
declare const _default$c: React.NamedExoticComponent<EmptyConsultationsProps>;
|
|
696
696
|
|
|
697
697
|
declare type ConsultationModalProps = {
|
|
698
698
|
isOpen: boolean;
|
|
@@ -710,7 +710,7 @@ declare type ConsultationModalProps = {
|
|
|
710
710
|
onReschedule?: (sessionId: string) => void;
|
|
711
711
|
onModalClose?: () => void;
|
|
712
712
|
};
|
|
713
|
-
declare const _default$
|
|
713
|
+
declare const _default$b: React.NamedExoticComponent<ConsultationModalProps>;
|
|
714
714
|
|
|
715
715
|
declare type SpecialistData = {
|
|
716
716
|
id: string;
|
|
@@ -725,7 +725,7 @@ declare type SignUpSessionModalProps = {
|
|
|
725
725
|
onCancel?: () => void;
|
|
726
726
|
viewportHeight: number;
|
|
727
727
|
};
|
|
728
|
-
declare const _default$
|
|
728
|
+
declare const _default$a: React.NamedExoticComponent<SignUpSessionModalProps>;
|
|
729
729
|
|
|
730
730
|
declare type ConsultationSpecialistCardProps = {
|
|
731
731
|
id: string;
|
|
@@ -735,7 +735,7 @@ declare type ConsultationSpecialistCardProps = {
|
|
|
735
735
|
onClick?: (id: string) => void;
|
|
736
736
|
onSignUp?: (id: string) => void;
|
|
737
737
|
};
|
|
738
|
-
declare const _default$
|
|
738
|
+
declare const _default$9: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
|
|
739
739
|
|
|
740
740
|
declare type UserInfoModalProps = {
|
|
741
741
|
isOpen: boolean;
|
|
@@ -772,7 +772,7 @@ declare type ReScheduleProps = {
|
|
|
772
772
|
onSubmit?: (message: string) => void;
|
|
773
773
|
isLoading?: boolean;
|
|
774
774
|
};
|
|
775
|
-
declare const _default$
|
|
775
|
+
declare const _default$8: React.NamedExoticComponent<ReScheduleProps>;
|
|
776
776
|
|
|
777
777
|
declare type ReScheduleSuccessProps = {
|
|
778
778
|
name: string;
|
|
@@ -799,7 +799,7 @@ declare type DaySliderProps = JSX$1.IonSlides & HTMLAttributes<HTMLIonSlidesElem
|
|
|
799
799
|
slides: number[];
|
|
800
800
|
onDayClick?: (i: number, item: number) => void;
|
|
801
801
|
};
|
|
802
|
-
declare const _default$
|
|
802
|
+
declare const _default$7: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<DaySliderProps, "key" | keyof JSX$1.IonSlides | keyof React.HTMLAttributes<HTMLIonSlidesElement> | "slides" | "onDayClick"> & React.RefAttributes<HTMLIonSlidesElement>>>;
|
|
803
803
|
|
|
804
804
|
declare type SpecialistWorkDirectionsPropsType = {
|
|
805
805
|
workDirections?: string[] | [];
|
|
@@ -815,7 +815,7 @@ declare type SpecialistProfileViewCardProps = {
|
|
|
815
815
|
onImageClick?: () => void;
|
|
816
816
|
isLoading?: boolean;
|
|
817
817
|
};
|
|
818
|
-
declare const _default$
|
|
818
|
+
declare const _default$6: React.NamedExoticComponent<SpecialistProfileViewCardProps>;
|
|
819
819
|
|
|
820
820
|
declare type SpecialistAboutProps = {
|
|
821
821
|
text?: string;
|
|
@@ -833,7 +833,7 @@ declare type SpecialistEducationCardProps = {
|
|
|
833
833
|
yearEnd?: number | null;
|
|
834
834
|
showLoader?: boolean;
|
|
835
835
|
};
|
|
836
|
-
declare const _default$
|
|
836
|
+
declare const _default$5: React.NamedExoticComponent<SpecialistEducationCardProps>;
|
|
837
837
|
|
|
838
838
|
declare type SpecialistStatisticsCardProps = {
|
|
839
839
|
activeClients?: number;
|
|
@@ -853,7 +853,7 @@ declare type BookingScheduleTimeProps = {
|
|
|
853
853
|
onClick?: (index: number, item: string) => void;
|
|
854
854
|
isLoading?: boolean;
|
|
855
855
|
};
|
|
856
|
-
declare const _default$
|
|
856
|
+
declare const _default$4: React.NamedExoticComponent<BookingScheduleTimeProps>;
|
|
857
857
|
|
|
858
858
|
declare type BookingSpecialistInfoProps = {
|
|
859
859
|
name: string;
|
|
@@ -862,7 +862,7 @@ declare type BookingSpecialistInfoProps = {
|
|
|
862
862
|
avatar?: string;
|
|
863
863
|
isLoading?: boolean;
|
|
864
864
|
};
|
|
865
|
-
declare const _default: React.NamedExoticComponent<BookingSpecialistInfoProps>;
|
|
865
|
+
declare const _default$3: React.NamedExoticComponent<BookingSpecialistInfoProps>;
|
|
866
866
|
|
|
867
867
|
declare type SpecialistCardProps = {
|
|
868
868
|
fullName?: string;
|
|
@@ -882,10 +882,27 @@ declare type SpecialistCardProps = {
|
|
|
882
882
|
};
|
|
883
883
|
declare const SpecialistCard: React.FC<SpecialistCardProps>;
|
|
884
884
|
|
|
885
|
-
declare
|
|
885
|
+
declare type TextInputProps = {
|
|
886
|
+
isError?: boolean;
|
|
887
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'>;
|
|
888
|
+
declare const _default$2: React.NamedExoticComponent<TextInputProps>;
|
|
886
889
|
|
|
887
890
|
declare const ImageInput: React.FC;
|
|
888
891
|
|
|
889
892
|
declare const PasswordInput: React.FC;
|
|
890
893
|
|
|
891
|
-
|
|
894
|
+
declare type CustomTextareaProps = {
|
|
895
|
+
isError?: boolean;
|
|
896
|
+
} & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
897
|
+
declare const _default$1: React.NamedExoticComponent<CustomTextareaProps>;
|
|
898
|
+
|
|
899
|
+
declare type CustomSelectProps = {
|
|
900
|
+
options: {
|
|
901
|
+
id: string | number;
|
|
902
|
+
label: string | number;
|
|
903
|
+
}[];
|
|
904
|
+
isError?: boolean;
|
|
905
|
+
} & React.SelectHTMLAttributes<HTMLSelectElement>;
|
|
906
|
+
declare const _default: React.NamedExoticComponent<CustomSelectProps>;
|
|
907
|
+
|
|
908
|
+
export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, _default$4 as BookingScheduleTime, _default$3 as BookingSpecialistInfo, Button, CancelSession, _default$n as ChatListItem, _default$l as ChatListSkeleton, _default$m as ChatMessage, ChatMessageSkeleton, _default$e as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$b as ConsultationModal, _default$9 as ConsultationSpecialistCard, Container, ContentCard, _default as CustomSelect, _default$1 as CustomTextarea, DatePicker, _default$7 as DaySlider, DayToRender, _default$5 as EducationCard, _default$k as EmptyChatList, EmptyChatMessages, _default$c as EmptyConsultations, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, _default$r as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$o as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$q as PersonDateTimeCard, _default$6 as ProfileView, Range, _default$8 as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$p as SelectImpressionEmoji, _default$d as SignUpSessionButton, _default$a as SignUpSessionModal, Skeleton, SpecialistAbout, SpecialistCard, _default$i as SpecialistEducationCard, _default$h as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatisticsScroll, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$2 as TextInput, _default$j as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$f as VideoCallInfo, _default$g as VideoPlayer, WorkDirections, YourLocalTimeBlock, decOfNum, toast };
|