@mindly/ui-components 3.36.4 → 3.37.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 +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/lib/Flag/Flag.d.ts +15 -0
- package/dist/cjs/types/lib/Flag/flags/gb.d.ts +4 -0
- package/dist/cjs/types/lib/Flag/flags/pl.d.ts +4 -0
- package/dist/cjs/types/lib/Flag/flags/ru.d.ts +4 -0
- package/dist/cjs/types/lib/Flag/flags/ua.d.ts +4 -0
- package/dist/cjs/types/lib/Flag/index.d.ts +2 -0
- package/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +2 -0
- package/dist/esm/types/lib/Flag/Flag.d.ts +15 -0
- package/dist/esm/types/lib/Flag/flags/gb.d.ts +4 -0
- package/dist/esm/types/lib/Flag/flags/pl.d.ts +4 -0
- package/dist/esm/types/lib/Flag/flags/ru.d.ts +4 -0
- package/dist/esm/types/lib/Flag/flags/ua.d.ts +4 -0
- package/dist/esm/types/lib/Flag/index.d.ts +2 -0
- package/dist/index.d.ts +47 -33
- package/package.json +1 -1
|
@@ -157,3 +157,5 @@ export { default as LineFileInput } from './lib/Inputs/LineFileInput';
|
|
|
157
157
|
export * from './lib/Inputs/LineFileInput';
|
|
158
158
|
export { default as SuccessScreen } from './lib/SuccessScreen';
|
|
159
159
|
export * from './lib/SuccessScreen';
|
|
160
|
+
export { default as Flag } from './lib/Flag';
|
|
161
|
+
export * from './lib/Flag';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare enum FlagTypes {
|
|
3
|
+
uk = "ua",
|
|
4
|
+
ua = "ua",
|
|
5
|
+
pl = "pl",
|
|
6
|
+
gb = "gb",
|
|
7
|
+
en = "gb",
|
|
8
|
+
ru = "ru"
|
|
9
|
+
}
|
|
10
|
+
declare type FlagProps = {
|
|
11
|
+
name: FlagTypes;
|
|
12
|
+
size?: number;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: React.NamedExoticComponent<FlagProps>;
|
|
15
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -212,7 +212,7 @@ declare type LetterAvatarProps = {
|
|
|
212
212
|
fontSize?: number;
|
|
213
213
|
onClick?: () => void;
|
|
214
214
|
};
|
|
215
|
-
declare const _default$
|
|
215
|
+
declare const _default$w: React.NamedExoticComponent<LetterAvatarProps>;
|
|
216
216
|
|
|
217
217
|
declare type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
|
|
218
218
|
onErrorContent: React.ReactElement;
|
|
@@ -224,7 +224,7 @@ declare type PersonDateTimeCardProps = {
|
|
|
224
224
|
name: string;
|
|
225
225
|
dateTime: Date;
|
|
226
226
|
};
|
|
227
|
-
declare const _default$
|
|
227
|
+
declare const _default$v: React.NamedExoticComponent<PersonDateTimeCardProps>;
|
|
228
228
|
|
|
229
229
|
declare type PsychologistProfileType = {
|
|
230
230
|
id: string;
|
|
@@ -407,7 +407,7 @@ declare type SelectImpressionEmojiProps = {
|
|
|
407
407
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
408
408
|
};
|
|
409
409
|
|
|
410
|
-
declare const _default$
|
|
410
|
+
declare const _default$u: React.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
411
411
|
|
|
412
412
|
interface FooterForBookingProps {
|
|
413
413
|
eventHandler: (props?: React.SyntheticEvent) => void;
|
|
@@ -436,7 +436,7 @@ declare type MediaPlayerProps = {
|
|
|
436
436
|
showControls: boolean;
|
|
437
437
|
isScreenSharing?: boolean;
|
|
438
438
|
} & HTMLAttributes<HTMLDivElement>;
|
|
439
|
-
declare const _default$
|
|
439
|
+
declare const _default$t: React.NamedExoticComponent<MediaPlayerProps>;
|
|
440
440
|
|
|
441
441
|
declare type RoundButtonPropsType = {
|
|
442
442
|
disabled?: boolean;
|
|
@@ -461,7 +461,7 @@ declare type ChatListItemProps = {
|
|
|
461
461
|
timeZone?: string;
|
|
462
462
|
lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
|
|
463
463
|
};
|
|
464
|
-
declare const _default$
|
|
464
|
+
declare const _default$s: React.NamedExoticComponent<ChatListItemProps>;
|
|
465
465
|
|
|
466
466
|
declare type ChatMessageProps = {
|
|
467
467
|
message: string | File;
|
|
@@ -478,11 +478,11 @@ declare type ChatMessageProps = {
|
|
|
478
478
|
height?: number;
|
|
479
479
|
};
|
|
480
480
|
};
|
|
481
|
-
declare const _default$
|
|
481
|
+
declare const _default$r: React.NamedExoticComponent<ChatMessageProps>;
|
|
482
482
|
|
|
483
483
|
declare const ChatMessageSkeleton: () => JSX.Element;
|
|
484
484
|
|
|
485
|
-
declare const _default$
|
|
485
|
+
declare const _default$q: React.MemoExoticComponent<() => JSX.Element>;
|
|
486
486
|
|
|
487
487
|
declare type EmptyChatList = {
|
|
488
488
|
title?: string;
|
|
@@ -492,7 +492,7 @@ declare type EmptyChatList = {
|
|
|
492
492
|
onClick?: () => void;
|
|
493
493
|
};
|
|
494
494
|
declare const EmptyChatList: FC<EmptyChatList>;
|
|
495
|
-
declare const _default$
|
|
495
|
+
declare const _default$p: React.NamedExoticComponent<EmptyChatList>;
|
|
496
496
|
|
|
497
497
|
declare type EmptyChatMessagesProps = {
|
|
498
498
|
title?: string;
|
|
@@ -516,7 +516,7 @@ declare type TextareaProps = {
|
|
|
516
516
|
onError?: (message: string) => void;
|
|
517
517
|
onFileSelect?: (file: File | null, type: 'file' | 'image' | 'video', fileInfo: FileInfoType) => void;
|
|
518
518
|
};
|
|
519
|
-
declare const _default$
|
|
519
|
+
declare const _default$o: React.NamedExoticComponent<TextareaProps>;
|
|
520
520
|
|
|
521
521
|
declare type LouseConnectProps = {
|
|
522
522
|
onClick?: () => void;
|
|
@@ -590,7 +590,7 @@ declare type SpecialistEducationCardProps$1 = {
|
|
|
590
590
|
yearEnd?: number | null;
|
|
591
591
|
showLoader?: boolean;
|
|
592
592
|
};
|
|
593
|
-
declare const _default$
|
|
593
|
+
declare const _default$n: React.NamedExoticComponent<SpecialistEducationCardProps$1>;
|
|
594
594
|
|
|
595
595
|
declare type SpecialistProfileViewCardProps$1 = {
|
|
596
596
|
avatarLink?: string | null;
|
|
@@ -603,7 +603,7 @@ declare type SpecialistProfileViewCardProps$1 = {
|
|
|
603
603
|
videoLinkUrl?: string | null;
|
|
604
604
|
showLoader?: boolean;
|
|
605
605
|
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
606
|
-
declare const _default$
|
|
606
|
+
declare const _default$m: React.NamedExoticComponent<SpecialistProfileViewCardProps$1>;
|
|
607
607
|
|
|
608
608
|
declare type SpecialistStatisticsCardProps$1 = {
|
|
609
609
|
activeClients?: number;
|
|
@@ -639,7 +639,7 @@ declare type VideoPlayerProps = {
|
|
|
639
639
|
closeModalHandler?: () => void;
|
|
640
640
|
onErrorContent: React.ReactElement;
|
|
641
641
|
} & JSX$1.IonModal;
|
|
642
|
-
declare const _default$
|
|
642
|
+
declare const _default$l: React.NamedExoticComponent<VideoPlayerProps>;
|
|
643
643
|
|
|
644
644
|
declare type NotSupportModalProps = {
|
|
645
645
|
closeModal?: () => void;
|
|
@@ -661,7 +661,7 @@ declare type VideoCallInfoProps = {
|
|
|
661
661
|
consultationDate?: number;
|
|
662
662
|
timeZone?: string;
|
|
663
663
|
};
|
|
664
|
-
declare const _default$
|
|
664
|
+
declare const _default$k: React.NamedExoticComponent<VideoCallInfoProps>;
|
|
665
665
|
|
|
666
666
|
declare enum ConsultationCardType {
|
|
667
667
|
FEATURE = "feature",
|
|
@@ -680,14 +680,14 @@ declare type ConsultationCardProps = {
|
|
|
680
680
|
onVideoCall?: (sessionId: string) => void;
|
|
681
681
|
};
|
|
682
682
|
|
|
683
|
-
declare const _default$
|
|
683
|
+
declare const _default$j: React.NamedExoticComponent<ConsultationCardProps>;
|
|
684
684
|
|
|
685
685
|
declare type SignUpSessionButtonProps = {
|
|
686
686
|
label: string;
|
|
687
687
|
isLoading?: boolean;
|
|
688
688
|
onClick?: () => void;
|
|
689
689
|
};
|
|
690
|
-
declare const _default$
|
|
690
|
+
declare const _default$i: React.NamedExoticComponent<SignUpSessionButtonProps>;
|
|
691
691
|
|
|
692
692
|
declare type EmptyConsultationsProps = {
|
|
693
693
|
title: string;
|
|
@@ -695,7 +695,7 @@ declare type EmptyConsultationsProps = {
|
|
|
695
695
|
buttonLabel?: string;
|
|
696
696
|
onClick?: () => void;
|
|
697
697
|
};
|
|
698
|
-
declare const _default$
|
|
698
|
+
declare const _default$h: React.NamedExoticComponent<EmptyConsultationsProps>;
|
|
699
699
|
|
|
700
700
|
declare type ConsultationModalProps = {
|
|
701
701
|
isOpen: boolean;
|
|
@@ -713,7 +713,7 @@ declare type ConsultationModalProps = {
|
|
|
713
713
|
onReschedule?: (sessionId: string) => void;
|
|
714
714
|
onModalClose?: () => void;
|
|
715
715
|
};
|
|
716
|
-
declare const _default$
|
|
716
|
+
declare const _default$g: React.NamedExoticComponent<ConsultationModalProps>;
|
|
717
717
|
|
|
718
718
|
declare type SpecialistData = {
|
|
719
719
|
id: string;
|
|
@@ -728,7 +728,7 @@ declare type SignUpSessionModalProps = {
|
|
|
728
728
|
onCancel?: () => void;
|
|
729
729
|
viewportHeight: number;
|
|
730
730
|
};
|
|
731
|
-
declare const _default$
|
|
731
|
+
declare const _default$f: React.NamedExoticComponent<SignUpSessionModalProps>;
|
|
732
732
|
|
|
733
733
|
declare type ConsultationSpecialistCardProps = {
|
|
734
734
|
id: string;
|
|
@@ -738,7 +738,7 @@ declare type ConsultationSpecialistCardProps = {
|
|
|
738
738
|
onClick?: (id: string) => void;
|
|
739
739
|
onSignUp?: (id: string) => void;
|
|
740
740
|
};
|
|
741
|
-
declare const _default$
|
|
741
|
+
declare const _default$e: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
|
|
742
742
|
|
|
743
743
|
declare type UserInfoModalProps = {
|
|
744
744
|
isOpen: boolean;
|
|
@@ -775,7 +775,7 @@ declare type ReScheduleProps = {
|
|
|
775
775
|
onSubmit?: (message: string) => void;
|
|
776
776
|
isLoading?: boolean;
|
|
777
777
|
};
|
|
778
|
-
declare const _default$
|
|
778
|
+
declare const _default$d: React.NamedExoticComponent<ReScheduleProps>;
|
|
779
779
|
|
|
780
780
|
declare type ReScheduleSuccessProps = {
|
|
781
781
|
name: string;
|
|
@@ -802,7 +802,7 @@ declare type DaySliderProps = JSX$1.IonSlides & HTMLAttributes<HTMLIonSlidesElem
|
|
|
802
802
|
slides: number[];
|
|
803
803
|
onDayClick?: (i: number, item: number) => void;
|
|
804
804
|
};
|
|
805
|
-
declare const _default$
|
|
805
|
+
declare const _default$c: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<DaySliderProps, "key" | keyof JSX$1.IonSlides | keyof React.HTMLAttributes<HTMLIonSlidesElement> | "slides" | "onDayClick"> & React.RefAttributes<HTMLIonSlidesElement>>>;
|
|
806
806
|
|
|
807
807
|
declare type SpecialistWorkDirectionsPropsType = {
|
|
808
808
|
workDirections?: string[] | [];
|
|
@@ -818,7 +818,7 @@ declare type SpecialistProfileViewCardProps = {
|
|
|
818
818
|
onImageClick?: () => void;
|
|
819
819
|
isLoading?: boolean;
|
|
820
820
|
};
|
|
821
|
-
declare const _default$
|
|
821
|
+
declare const _default$b: React.NamedExoticComponent<SpecialistProfileViewCardProps>;
|
|
822
822
|
|
|
823
823
|
declare type SpecialistAboutProps = {
|
|
824
824
|
text?: string;
|
|
@@ -836,7 +836,7 @@ declare type SpecialistEducationCardProps = {
|
|
|
836
836
|
yearEnd?: number | null;
|
|
837
837
|
showLoader?: boolean;
|
|
838
838
|
};
|
|
839
|
-
declare const _default$
|
|
839
|
+
declare const _default$a: React.NamedExoticComponent<SpecialistEducationCardProps>;
|
|
840
840
|
|
|
841
841
|
declare type SpecialistStatisticsCardProps = {
|
|
842
842
|
activeClients?: number;
|
|
@@ -861,7 +861,7 @@ declare type BookingScheduleTimeProps = {
|
|
|
861
861
|
onClick?: (index: number, item: string) => void;
|
|
862
862
|
isLoading?: boolean;
|
|
863
863
|
};
|
|
864
|
-
declare const _default$
|
|
864
|
+
declare const _default$9: React.NamedExoticComponent<BookingScheduleTimeProps>;
|
|
865
865
|
|
|
866
866
|
declare type BookingSpecialistInfoProps = {
|
|
867
867
|
name: string;
|
|
@@ -870,7 +870,7 @@ declare type BookingSpecialistInfoProps = {
|
|
|
870
870
|
avatar?: string;
|
|
871
871
|
isLoading?: boolean;
|
|
872
872
|
};
|
|
873
|
-
declare const _default$
|
|
873
|
+
declare const _default$8: React.NamedExoticComponent<BookingSpecialistInfoProps>;
|
|
874
874
|
|
|
875
875
|
declare type SpecialistCardProps = {
|
|
876
876
|
fullName?: string;
|
|
@@ -895,7 +895,7 @@ declare type SpecialistCardProps = {
|
|
|
895
895
|
};
|
|
896
896
|
declare const SpecialistCard: React.FC<SpecialistCardProps>;
|
|
897
897
|
|
|
898
|
-
declare const _default$
|
|
898
|
+
declare const _default$7: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
899
899
|
isError?: boolean | undefined;
|
|
900
900
|
errorStyle?: "filled" | "unfilled" | undefined;
|
|
901
901
|
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & React.RefAttributes<HTMLInputElement>>>;
|
|
@@ -916,11 +916,11 @@ declare const PasswordInput: React.ForwardRefExoticComponent<{
|
|
|
916
916
|
error?: string | null | undefined;
|
|
917
917
|
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & React.RefAttributes<HTMLInputElement>>;
|
|
918
918
|
|
|
919
|
-
declare const _default$
|
|
919
|
+
declare const _default$6: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
920
920
|
isError?: boolean | undefined;
|
|
921
921
|
} & React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>>>;
|
|
922
922
|
|
|
923
|
-
declare const _default$
|
|
923
|
+
declare const _default$5: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
924
924
|
options: {
|
|
925
925
|
id: string | number;
|
|
926
926
|
label: string | number;
|
|
@@ -953,7 +953,7 @@ declare type CustomCheckboxProps = {
|
|
|
953
953
|
isCheckbox?: boolean;
|
|
954
954
|
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
955
955
|
};
|
|
956
|
-
declare const _default$
|
|
956
|
+
declare const _default$4: React.MemoExoticComponent<React.ForwardRefExoticComponent<CustomCheckboxProps & React.RefAttributes<HTMLInputElement>>>;
|
|
957
957
|
|
|
958
958
|
declare type CheckboxListItem = {
|
|
959
959
|
id: ReactText;
|
|
@@ -976,7 +976,7 @@ declare type CheckboxListProps = {
|
|
|
976
976
|
className?: string;
|
|
977
977
|
selectedBy?: 'id' | 'label';
|
|
978
978
|
};
|
|
979
|
-
declare const _default$
|
|
979
|
+
declare const _default$3: React.NamedExoticComponent<CheckboxListProps>;
|
|
980
980
|
|
|
981
981
|
declare type BookingHeaderProps = {
|
|
982
982
|
title?: string;
|
|
@@ -989,9 +989,9 @@ declare const ChevronHeader: React.FC<BookingHeaderProps>;
|
|
|
989
989
|
declare type ProgressBarProps = {
|
|
990
990
|
progress: number;
|
|
991
991
|
};
|
|
992
|
-
declare const _default$
|
|
992
|
+
declare const _default$2: React.NamedExoticComponent<ProgressBarProps>;
|
|
993
993
|
|
|
994
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
994
|
+
declare const _default$1: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
995
995
|
title: string;
|
|
996
996
|
subTitle?: string | undefined;
|
|
997
997
|
isError?: boolean | undefined;
|
|
@@ -1008,4 +1008,18 @@ declare type SuccessScreenProps = {
|
|
|
1008
1008
|
};
|
|
1009
1009
|
declare const SuccessScreen: FC<SuccessScreenProps>;
|
|
1010
1010
|
|
|
1011
|
-
|
|
1011
|
+
declare enum FlagTypes {
|
|
1012
|
+
uk = "ua",
|
|
1013
|
+
ua = "ua",
|
|
1014
|
+
pl = "pl",
|
|
1015
|
+
gb = "gb",
|
|
1016
|
+
en = "gb",
|
|
1017
|
+
ru = "ru"
|
|
1018
|
+
}
|
|
1019
|
+
declare type FlagProps = {
|
|
1020
|
+
name: FlagTypes;
|
|
1021
|
+
size?: number;
|
|
1022
|
+
};
|
|
1023
|
+
declare const _default: React.NamedExoticComponent<FlagProps>;
|
|
1024
|
+
|
|
1025
|
+
export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, _default$9 as BookingScheduleTime, _default$8 as BookingSpecialistInfo, Button, CancelSession, _default$s as ChatListItem, _default$q as ChatListSkeleton, _default$r as ChatMessage, ChatMessageSkeleton, _default$3 as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, _default$j as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$g as ConsultationModal, _default$e as ConsultationSpecialistCard, Container, ContentCard, CustomButton, _default$4 as CustomCheckbox, _default$5 as CustomSelect, _default$6 as CustomTextarea, DatePicker, _default$c as DaySlider, DayToRender, _default$a as EducationCard, _default$p as EmptyChatList, EmptyChatMessages, _default$h as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default as Flag, FlagTypes, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, _default$w as LetterAvatar, _default$1 as LineFileInput, ListButton, ListSelect, LouseConnect, _default$t as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$v as PersonDateTimeCard, _default$b as ProfileView, _default$2 as ProgressBar, Range, _default$d as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$u as SelectImpressionEmoji, _default$i as SignUpSessionButton, _default$f as SignUpSessionModal, Skeleton, SpecialistAbout, SpecialistCard, _default$n as SpecialistEducationCard, _default$m as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$7 as TextInput, _default$o as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$k as VideoCallInfo, _default$l as VideoPlayer, WorkDirections, YourLocalTimeBlock, decOfNum, toast };
|