@mindly/ui-components 5.78.1 → 5.80.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 +7 -22
- package/dist/cjs/lib2/features/index.d.ts +0 -1
- package/dist/cjs/lib2/shared/assets/icons/IconInvoice.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/esm/index.js +7 -22
- package/dist/esm/lib2/features/index.d.ts +0 -1
- package/dist/esm/lib2/shared/assets/icons/IconInvoice.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/index.d.ts +70 -77
- package/package.json +1 -2
- package/dist/cjs/lib2/features/MarkdownContainerFeature/MarkdownContainerFeature.d.ts +0 -10
- package/dist/cjs/lib2/features/MarkdownContainerFeature/index.d.ts +0 -1
- package/dist/esm/lib2/features/MarkdownContainerFeature/MarkdownContainerFeature.d.ts +0 -10
- package/dist/esm/lib2/features/MarkdownContainerFeature/index.d.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -13,8 +13,6 @@ import { AriaListBoxProps, AriaCalendarProps, DateValue, AriaTabListProps } from
|
|
|
13
13
|
import { ToastStateProps, ToastState } from '@react-stately/toast';
|
|
14
14
|
import { AriaToastRegionProps } from '@react-aria/toast';
|
|
15
15
|
import { IonSearchbarCustomEvent, SearchbarChangeEventDetail } from '@ionic/core';
|
|
16
|
-
import { NormalComponents } from 'react-markdown/lib/complex-types';
|
|
17
|
-
import { SpecialComponents } from 'react-markdown/lib/ast-to-react';
|
|
18
16
|
|
|
19
17
|
interface ButtonProps$2 {
|
|
20
18
|
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
|
|
@@ -226,7 +224,7 @@ type LetterAvatarProps = {
|
|
|
226
224
|
fontSize?: number;
|
|
227
225
|
onClick?: () => void;
|
|
228
226
|
};
|
|
229
|
-
declare const _default$
|
|
227
|
+
declare const _default$15: React__default.NamedExoticComponent<LetterAvatarProps>;
|
|
230
228
|
|
|
231
229
|
type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
|
|
232
230
|
onErrorContent: React__default.ReactElement;
|
|
@@ -238,7 +236,7 @@ type PersonDateTimeCardProps = {
|
|
|
238
236
|
name: string;
|
|
239
237
|
dateTime: Date;
|
|
240
238
|
};
|
|
241
|
-
declare const _default$
|
|
239
|
+
declare const _default$14: React__default.NamedExoticComponent<PersonDateTimeCardProps>;
|
|
242
240
|
|
|
243
241
|
type PsychologistProfileType = {
|
|
244
242
|
id: string;
|
|
@@ -404,7 +402,7 @@ type SelectImpressionEmojiProps = {
|
|
|
404
402
|
onChange?: (val: ImpressionEmojiEnum) => void;
|
|
405
403
|
};
|
|
406
404
|
|
|
407
|
-
declare const _default$
|
|
405
|
+
declare const _default$13: React__default.NamedExoticComponent<SelectImpressionEmojiProps>;
|
|
408
406
|
|
|
409
407
|
interface FooterForBookingProps {
|
|
410
408
|
eventHandler: (props?: React__default.SyntheticEvent) => void;
|
|
@@ -436,7 +434,7 @@ type MediaPlayerProps<TCameraTrack extends Playable | undefined, TAudioTrack ext
|
|
|
436
434
|
showControls: boolean;
|
|
437
435
|
isScreenSharing?: boolean;
|
|
438
436
|
} & HTMLAttributes<HTMLDivElement>;
|
|
439
|
-
declare const _default$
|
|
437
|
+
declare const _default$12: <TCameraTrack extends Playable | undefined, TAudioTrack extends Playable | undefined>({ fullwidth, cameraTrack, audioTrack, isVideoTrackMuted, isAudioTrackMuted, networkQuality, fallbackAvatar, fallbackAvatarDimensions, fallbackName, showControls, isScreenSharing, ...props }: MediaPlayerProps<TCameraTrack, TAudioTrack>) => JSX.Element;
|
|
440
438
|
|
|
441
439
|
type RoundButtonPropsType = {
|
|
442
440
|
disabled?: boolean;
|
|
@@ -465,7 +463,7 @@ type ChatListItemProps = {
|
|
|
465
463
|
isDisabled?: boolean;
|
|
466
464
|
t?: WithTranslation['t'];
|
|
467
465
|
};
|
|
468
|
-
declare const _default$
|
|
466
|
+
declare const _default$11: React__default.NamedExoticComponent<ChatListItemProps>;
|
|
469
467
|
|
|
470
468
|
type ChatMessageProps = {
|
|
471
469
|
message: string | File;
|
|
@@ -493,11 +491,11 @@ type ChatMessageProps = {
|
|
|
493
491
|
onClickHandler: () => void;
|
|
494
492
|
}[] | null;
|
|
495
493
|
};
|
|
496
|
-
declare const _default$
|
|
494
|
+
declare const _default$10: React__default.NamedExoticComponent<ChatMessageProps>;
|
|
497
495
|
|
|
498
496
|
declare const ChatMessageSkeleton: () => JSX.Element;
|
|
499
497
|
|
|
500
|
-
declare const _default
|
|
498
|
+
declare const _default$$: React__default.MemoExoticComponent<() => JSX.Element>;
|
|
501
499
|
|
|
502
500
|
type EmptyChatList = {
|
|
503
501
|
title?: string;
|
|
@@ -507,7 +505,7 @@ type EmptyChatList = {
|
|
|
507
505
|
onClick?: () => void;
|
|
508
506
|
};
|
|
509
507
|
declare const EmptyChatList: FC<EmptyChatList>;
|
|
510
|
-
declare const _default
|
|
508
|
+
declare const _default$_: React__default.NamedExoticComponent<EmptyChatList>;
|
|
511
509
|
|
|
512
510
|
type EmptyChatMessagesProps = {
|
|
513
511
|
title?: string;
|
|
@@ -532,7 +530,7 @@ type TextareaProps = {
|
|
|
532
530
|
onFileSelect?: (file: File | null, type: 'file' | 'image' | 'video', fileInfo: FileInfoType) => void;
|
|
533
531
|
t?: WithTranslation['t'];
|
|
534
532
|
};
|
|
535
|
-
declare const _default$
|
|
533
|
+
declare const _default$Z: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TextareaProps & React__default.RefAttributes<HTMLIonFooterElement>>>;
|
|
536
534
|
|
|
537
535
|
type LouseConnectProps = {
|
|
538
536
|
onClick?: () => void;
|
|
@@ -611,7 +609,7 @@ type SpecialistEducationCardProps$1 = {
|
|
|
611
609
|
yearEnd?: number | null;
|
|
612
610
|
showLoader?: boolean;
|
|
613
611
|
};
|
|
614
|
-
declare const _default$
|
|
612
|
+
declare const _default$Y: React__default.NamedExoticComponent<SpecialistEducationCardProps$1>;
|
|
615
613
|
|
|
616
614
|
type SpecialistProfileViewCardProps$1 = {
|
|
617
615
|
avatarLink?: string | null;
|
|
@@ -624,7 +622,7 @@ type SpecialistProfileViewCardProps$1 = {
|
|
|
624
622
|
videoLinkUrl?: string | null;
|
|
625
623
|
showLoader?: boolean;
|
|
626
624
|
} & React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
627
|
-
declare const _default$
|
|
625
|
+
declare const _default$X: React__default.NamedExoticComponent<SpecialistProfileViewCardProps$1>;
|
|
628
626
|
|
|
629
627
|
type SpecialistStatisticsCardProps$1 = {
|
|
630
628
|
activeClients?: number;
|
|
@@ -660,7 +658,7 @@ type VideoPlayerProps = {
|
|
|
660
658
|
closeModalHandler?: () => void;
|
|
661
659
|
onErrorContent: React__default.ReactElement;
|
|
662
660
|
} & JSX$1.IonModal;
|
|
663
|
-
declare const _default$
|
|
661
|
+
declare const _default$W: React__default.NamedExoticComponent<VideoPlayerProps>;
|
|
664
662
|
|
|
665
663
|
type NotSupportModalProps = {
|
|
666
664
|
closeModal?: () => void;
|
|
@@ -696,7 +694,7 @@ type VideoCallInfoProps = {
|
|
|
696
694
|
abbreviatedSeconds: string;
|
|
697
695
|
};
|
|
698
696
|
};
|
|
699
|
-
declare const _default$
|
|
697
|
+
declare const _default$V: React__default.NamedExoticComponent<VideoCallInfoProps>;
|
|
700
698
|
|
|
701
699
|
declare enum ConsultationCardType {
|
|
702
700
|
FEATURE = "feature",
|
|
@@ -731,14 +729,14 @@ type ConsultationCardProps = {
|
|
|
731
729
|
};
|
|
732
730
|
};
|
|
733
731
|
|
|
734
|
-
declare const _default$
|
|
732
|
+
declare const _default$U: React__default.NamedExoticComponent<ConsultationCardProps>;
|
|
735
733
|
|
|
736
734
|
type SignUpSessionButtonProps = {
|
|
737
735
|
label: string;
|
|
738
736
|
isLoading?: boolean;
|
|
739
737
|
onClick?: () => void;
|
|
740
738
|
};
|
|
741
|
-
declare const _default$
|
|
739
|
+
declare const _default$T: React__default.NamedExoticComponent<SignUpSessionButtonProps>;
|
|
742
740
|
|
|
743
741
|
type EmptyConsultationsProps = {
|
|
744
742
|
title: string;
|
|
@@ -746,7 +744,7 @@ type EmptyConsultationsProps = {
|
|
|
746
744
|
buttonLabel?: string;
|
|
747
745
|
onClick?: () => void;
|
|
748
746
|
};
|
|
749
|
-
declare const _default$
|
|
747
|
+
declare const _default$S: React__default.NamedExoticComponent<EmptyConsultationsProps>;
|
|
750
748
|
|
|
751
749
|
type ConsultationModalProps = {
|
|
752
750
|
isOpen: boolean;
|
|
@@ -782,7 +780,7 @@ type ConsultationModalProps = {
|
|
|
782
780
|
started?: string;
|
|
783
781
|
};
|
|
784
782
|
};
|
|
785
|
-
declare const _default$
|
|
783
|
+
declare const _default$R: React__default.NamedExoticComponent<ConsultationModalProps>;
|
|
786
784
|
|
|
787
785
|
type SpecialistData = {
|
|
788
786
|
id: string;
|
|
@@ -799,7 +797,7 @@ type SignUpSessionModalProps = {
|
|
|
799
797
|
title: string;
|
|
800
798
|
cancelBtnLabel: string;
|
|
801
799
|
};
|
|
802
|
-
declare const _default$
|
|
800
|
+
declare const _default$Q: React__default.NamedExoticComponent<SignUpSessionModalProps>;
|
|
803
801
|
|
|
804
802
|
type ConsultationSpecialistCardProps = {
|
|
805
803
|
id: string;
|
|
@@ -810,7 +808,7 @@ type ConsultationSpecialistCardProps = {
|
|
|
810
808
|
onSignUp?: (id: string) => void;
|
|
811
809
|
signInBtnLabel: string;
|
|
812
810
|
};
|
|
813
|
-
declare const _default$
|
|
811
|
+
declare const _default$P: React__default.NamedExoticComponent<ConsultationSpecialistCardProps>;
|
|
814
812
|
|
|
815
813
|
type UserInfoModalProps = {
|
|
816
814
|
isOpen: boolean;
|
|
@@ -881,7 +879,7 @@ type ReScheduleProps = {
|
|
|
881
879
|
btnLabel: string;
|
|
882
880
|
};
|
|
883
881
|
};
|
|
884
|
-
declare const _default$
|
|
882
|
+
declare const _default$O: React__default.NamedExoticComponent<ReScheduleProps>;
|
|
885
883
|
|
|
886
884
|
type ReScheduleSuccessProps = {
|
|
887
885
|
name: string;
|
|
@@ -919,7 +917,7 @@ type DaySliderProps = JSX$1.IonSlides & HTMLAttributes<HTMLIonSlidesElement> & R
|
|
|
919
917
|
tomorrow?: string;
|
|
920
918
|
};
|
|
921
919
|
};
|
|
922
|
-
declare const _default$
|
|
920
|
+
declare const _default$N: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Omit<DaySliderProps, "ref"> & React__default.RefAttributes<HTMLIonSlidesElement>>>;
|
|
923
921
|
|
|
924
922
|
type SpecialistWorkDirectionsPropsType = {
|
|
925
923
|
workDirections?: string[] | [];
|
|
@@ -928,7 +926,7 @@ type SpecialistWorkDirectionsPropsType = {
|
|
|
928
926
|
moreLabel?: string;
|
|
929
927
|
hideLabel?: string;
|
|
930
928
|
};
|
|
931
|
-
declare const _default$
|
|
929
|
+
declare const _default$M: React__default.NamedExoticComponent<SpecialistWorkDirectionsPropsType>;
|
|
932
930
|
|
|
933
931
|
type SpecialistProfileViewCardProps = {
|
|
934
932
|
videoLink?: string;
|
|
@@ -938,7 +936,7 @@ type SpecialistProfileViewCardProps = {
|
|
|
938
936
|
isLoading?: boolean;
|
|
939
937
|
videoDurationSeconds?: number;
|
|
940
938
|
};
|
|
941
|
-
declare const _default$
|
|
939
|
+
declare const _default$L: React__default.NamedExoticComponent<SpecialistProfileViewCardProps>;
|
|
942
940
|
|
|
943
941
|
type SpecialistAboutProps = {
|
|
944
942
|
text?: string;
|
|
@@ -947,7 +945,7 @@ type SpecialistAboutProps = {
|
|
|
947
945
|
moreLabel?: string;
|
|
948
946
|
hideLabel?: string;
|
|
949
947
|
};
|
|
950
|
-
declare const _default$
|
|
948
|
+
declare const _default$K: React__default.NamedExoticComponent<SpecialistAboutProps>;
|
|
951
949
|
|
|
952
950
|
type SpecialistEducationCardProps = {
|
|
953
951
|
institutionName?: string;
|
|
@@ -958,7 +956,7 @@ type SpecialistEducationCardProps = {
|
|
|
958
956
|
yearEnd?: number | null;
|
|
959
957
|
showLoader?: boolean;
|
|
960
958
|
};
|
|
961
|
-
declare const _default$
|
|
959
|
+
declare const _default$J: React__default.NamedExoticComponent<SpecialistEducationCardProps>;
|
|
962
960
|
|
|
963
961
|
type SpecialistStatisticsCardProps = {
|
|
964
962
|
trust?: boolean;
|
|
@@ -1004,7 +1002,7 @@ type BookingScheduleTimeProps = {
|
|
|
1004
1002
|
onClick?: (index: number, item: string) => void;
|
|
1005
1003
|
isLoading?: boolean;
|
|
1006
1004
|
};
|
|
1007
|
-
declare const _default$
|
|
1005
|
+
declare const _default$I: React__default.NamedExoticComponent<BookingScheduleTimeProps>;
|
|
1008
1006
|
|
|
1009
1007
|
type BookingSpecialistInfoProps = {
|
|
1010
1008
|
name: string;
|
|
@@ -1013,7 +1011,7 @@ type BookingSpecialistInfoProps = {
|
|
|
1013
1011
|
avatar?: string;
|
|
1014
1012
|
isLoading?: boolean;
|
|
1015
1013
|
};
|
|
1016
|
-
declare const _default$
|
|
1014
|
+
declare const _default$H: React__default.NamedExoticComponent<BookingSpecialistInfoProps>;
|
|
1017
1015
|
|
|
1018
1016
|
type SpecialistCardProps = {
|
|
1019
1017
|
fullName?: string;
|
|
@@ -1062,7 +1060,7 @@ type SpecialistCardProps = {
|
|
|
1062
1060
|
};
|
|
1063
1061
|
declare const SpecialistCard$1: React__default.FC<SpecialistCardProps>;
|
|
1064
1062
|
|
|
1065
|
-
declare const _default$
|
|
1063
|
+
declare const _default$G: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1066
1064
|
isError?: boolean | undefined;
|
|
1067
1065
|
errorStyle?: "filled" | "unfilled" | undefined;
|
|
1068
1066
|
type?: "number" | "text" | "email" | undefined;
|
|
@@ -1086,11 +1084,11 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<{
|
|
|
1086
1084
|
error?: string | null | undefined;
|
|
1087
1085
|
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
1088
1086
|
|
|
1089
|
-
declare const _default$
|
|
1087
|
+
declare const _default$F: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1090
1088
|
isError?: boolean | undefined;
|
|
1091
1089
|
} & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>>>;
|
|
1092
1090
|
|
|
1093
|
-
declare const _default$
|
|
1091
|
+
declare const _default$E: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1094
1092
|
options: {
|
|
1095
1093
|
id: string | number;
|
|
1096
1094
|
label: string | number;
|
|
@@ -1122,7 +1120,7 @@ type CustomCheckboxProps = {
|
|
|
1122
1120
|
isCheckbox?: boolean;
|
|
1123
1121
|
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
1124
1122
|
};
|
|
1125
|
-
declare const _default$
|
|
1123
|
+
declare const _default$D: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<CustomCheckboxProps & React__default.RefAttributes<HTMLInputElement>>>;
|
|
1126
1124
|
|
|
1127
1125
|
type CheckboxListItem = {
|
|
1128
1126
|
id: ReactText;
|
|
@@ -1150,7 +1148,7 @@ type CheckboxListProps = {
|
|
|
1150
1148
|
from: string;
|
|
1151
1149
|
};
|
|
1152
1150
|
};
|
|
1153
|
-
declare const _default$
|
|
1151
|
+
declare const _default$C: React__default.NamedExoticComponent<CheckboxListProps>;
|
|
1154
1152
|
|
|
1155
1153
|
type BookingHeaderProps = {
|
|
1156
1154
|
title?: string;
|
|
@@ -1164,9 +1162,9 @@ type ProgressBarProps = {
|
|
|
1164
1162
|
progress: number;
|
|
1165
1163
|
loaderTitle?: string;
|
|
1166
1164
|
};
|
|
1167
|
-
declare const _default$
|
|
1165
|
+
declare const _default$B: React__default.NamedExoticComponent<ProgressBarProps>;
|
|
1168
1166
|
|
|
1169
|
-
declare const _default$
|
|
1167
|
+
declare const _default$A: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1170
1168
|
title: string;
|
|
1171
1169
|
subTitle?: string | undefined;
|
|
1172
1170
|
isError?: boolean | undefined;
|
|
@@ -1198,7 +1196,7 @@ type FlagProps$1 = {
|
|
|
1198
1196
|
dimensions?: number;
|
|
1199
1197
|
className?: string;
|
|
1200
1198
|
};
|
|
1201
|
-
declare const _default$
|
|
1199
|
+
declare const _default$z: React__default.NamedExoticComponent<FlagProps$1>;
|
|
1202
1200
|
|
|
1203
1201
|
type SpecialistLangsProps = {
|
|
1204
1202
|
showLoader?: boolean;
|
|
@@ -1238,7 +1236,7 @@ type ProfileInformationProps = {
|
|
|
1238
1236
|
reviews: string[];
|
|
1239
1237
|
};
|
|
1240
1238
|
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1241
|
-
declare const _default$
|
|
1239
|
+
declare const _default$y: React__default.NamedExoticComponent<ProfileInformationProps>;
|
|
1242
1240
|
|
|
1243
1241
|
type SpecialistMatchProps = {
|
|
1244
1242
|
specialistFirstName?: string;
|
|
@@ -1250,7 +1248,7 @@ type SpecialistMatchProps = {
|
|
|
1250
1248
|
howWeMatchThis: string;
|
|
1251
1249
|
};
|
|
1252
1250
|
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1253
|
-
declare const _default$
|
|
1251
|
+
declare const _default$x: React__default.NamedExoticComponent<SpecialistMatchProps>;
|
|
1254
1252
|
|
|
1255
1253
|
type SpecialistStatisticProps = {
|
|
1256
1254
|
learnMoreClick: () => void;
|
|
@@ -1270,7 +1268,7 @@ type SpecialistStatisticProps = {
|
|
|
1270
1268
|
bookedSession: string;
|
|
1271
1269
|
};
|
|
1272
1270
|
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1273
|
-
declare const _default$
|
|
1271
|
+
declare const _default$w: React__default.NamedExoticComponent<SpecialistStatisticProps>;
|
|
1274
1272
|
|
|
1275
1273
|
type RatingWithLabelProps = {
|
|
1276
1274
|
countOfReviews?: number;
|
|
@@ -1461,7 +1459,7 @@ type TypographyProps = {
|
|
|
1461
1459
|
onClick?: (args: any) => typeof args;
|
|
1462
1460
|
isError?: boolean;
|
|
1463
1461
|
};
|
|
1464
|
-
declare const _default$
|
|
1462
|
+
declare const _default$v: React__default.NamedExoticComponent<TypographyProps>;
|
|
1465
1463
|
|
|
1466
1464
|
type AppFooterProps = {
|
|
1467
1465
|
children?: React__default.ReactNode;
|
|
@@ -1471,7 +1469,7 @@ type AppFooterProps = {
|
|
|
1471
1469
|
style?: CSSProperties;
|
|
1472
1470
|
toolbarStyle?: CSSProperties;
|
|
1473
1471
|
};
|
|
1474
|
-
declare const _default$
|
|
1472
|
+
declare const _default$u: React__default.NamedExoticComponent<AppFooterProps>;
|
|
1475
1473
|
|
|
1476
1474
|
type AvatarRoundVariants = 'circle' | 'drop';
|
|
1477
1475
|
|
|
@@ -1483,14 +1481,14 @@ type AvatarProps = {
|
|
|
1483
1481
|
alt?: string;
|
|
1484
1482
|
showSkeleton?: boolean;
|
|
1485
1483
|
};
|
|
1486
|
-
declare const _default$
|
|
1484
|
+
declare const _default$t: React__default.NamedExoticComponent<AvatarProps>;
|
|
1487
1485
|
|
|
1488
1486
|
type SkeletonProps = {
|
|
1489
1487
|
animated?: boolean;
|
|
1490
1488
|
className?: string;
|
|
1491
1489
|
style?: React__default.CSSProperties;
|
|
1492
1490
|
};
|
|
1493
|
-
declare const _default$
|
|
1491
|
+
declare const _default$s: React__default.NamedExoticComponent<SkeletonProps>;
|
|
1494
1492
|
|
|
1495
1493
|
type ButtonProps = {
|
|
1496
1494
|
fill?: 'outline' | 'clear';
|
|
@@ -1525,7 +1523,7 @@ type FlagProps = {
|
|
|
1525
1523
|
name: string;
|
|
1526
1524
|
className?: string;
|
|
1527
1525
|
};
|
|
1528
|
-
declare const _default$
|
|
1526
|
+
declare const _default$r: React__default.NamedExoticComponent<FlagProps>;
|
|
1529
1527
|
|
|
1530
1528
|
type PictureProps = {
|
|
1531
1529
|
width: number;
|
|
@@ -1540,7 +1538,7 @@ type PictureProps = {
|
|
|
1540
1538
|
alt?: string;
|
|
1541
1539
|
className?: string;
|
|
1542
1540
|
};
|
|
1543
|
-
declare const _default$
|
|
1541
|
+
declare const _default$q: React__default.NamedExoticComponent<PictureProps>;
|
|
1544
1542
|
|
|
1545
1543
|
type BadgeType = 'default' | 'accent';
|
|
1546
1544
|
type BadgeVariants = 'attention' | 'neutral' | 'success' | 'warning' | 'brand' | 'info';
|
|
@@ -1550,7 +1548,7 @@ type BadgeProps = React.ComponentPropsWithoutRef<'span'> & {
|
|
|
1550
1548
|
type?: BadgeType;
|
|
1551
1549
|
};
|
|
1552
1550
|
|
|
1553
|
-
declare const _default$
|
|
1551
|
+
declare const _default$p: React.NamedExoticComponent<BadgeProps>;
|
|
1554
1552
|
|
|
1555
1553
|
type ItemCardVariants = 'neutral' | 'transparent' | 'transparent20';
|
|
1556
1554
|
type ItemCardProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
@@ -1558,7 +1556,7 @@ type ItemCardProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
|
1558
1556
|
size?: 'M' | 'M4' | 'M45';
|
|
1559
1557
|
};
|
|
1560
1558
|
|
|
1561
|
-
declare const _default$
|
|
1559
|
+
declare const _default$o: React.NamedExoticComponent<ItemCardProps>;
|
|
1562
1560
|
|
|
1563
1561
|
type AppHeaderProps = {
|
|
1564
1562
|
fullwidth?: boolean;
|
|
@@ -1838,7 +1836,7 @@ interface TextareaV2Props extends Omit<JSX$1.IonTextarea, 'color' | 'enterkeyhin
|
|
|
1838
1836
|
onKeyPress?: (e: KeyboardEvent<HTMLIonTextareaElement>) => void;
|
|
1839
1837
|
}
|
|
1840
1838
|
|
|
1841
|
-
declare const _default$
|
|
1839
|
+
declare const _default$n: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TextareaV2Props & React__default.RefAttributes<HTMLIonTextareaElement>>>;
|
|
1842
1840
|
|
|
1843
1841
|
type RatingProps = {
|
|
1844
1842
|
initialRating?: number;
|
|
@@ -1850,7 +1848,7 @@ type RatingProps = {
|
|
|
1850
1848
|
readonly?: boolean;
|
|
1851
1849
|
};
|
|
1852
1850
|
|
|
1853
|
-
declare const _default$
|
|
1851
|
+
declare const _default$m: React__default.NamedExoticComponent<RatingProps>;
|
|
1854
1852
|
|
|
1855
1853
|
declare const RatingCircleWrapper: FC<CircleRatingComponentProps & {
|
|
1856
1854
|
t: WithTranslation | any;
|
|
@@ -1864,7 +1862,7 @@ type IconButtonProps = {
|
|
|
1864
1862
|
fill?: 'clear' | 'filled';
|
|
1865
1863
|
type?: 'button' | 'submit' | 'reset';
|
|
1866
1864
|
};
|
|
1867
|
-
declare const _default$
|
|
1865
|
+
declare const _default$l: React__default.NamedExoticComponent<IconButtonProps>;
|
|
1868
1866
|
|
|
1869
1867
|
type ToastProviderProps = ToastStateProps;
|
|
1870
1868
|
type MindlyToastProps = {
|
|
@@ -1907,17 +1905,17 @@ type ProgressBar_v2Props = {
|
|
|
1907
1905
|
className?: string;
|
|
1908
1906
|
reversed?: boolean;
|
|
1909
1907
|
};
|
|
1910
|
-
declare const _default$
|
|
1908
|
+
declare const _default$k: React__default.NamedExoticComponent<ProgressBar_v2Props>;
|
|
1911
1909
|
|
|
1912
1910
|
type LoadingProps = {
|
|
1913
1911
|
isOpen: boolean;
|
|
1914
1912
|
};
|
|
1915
|
-
declare const _default$
|
|
1913
|
+
declare const _default$j: React__default.NamedExoticComponent<LoadingProps>;
|
|
1916
1914
|
|
|
1917
1915
|
type ListItemsProps = React.HTMLAttributes<HTMLIonListElement> & {
|
|
1918
1916
|
withBorders?: boolean;
|
|
1919
1917
|
};
|
|
1920
|
-
declare const _default$
|
|
1918
|
+
declare const _default$i: React.NamedExoticComponent<ListItemsProps>;
|
|
1921
1919
|
|
|
1922
1920
|
type ItemProps = React.HTMLAttributes<HTMLIonItemElement> & {
|
|
1923
1921
|
leftContent?: React.ReactNode;
|
|
@@ -1927,14 +1925,14 @@ type ItemProps = React.HTMLAttributes<HTMLIonItemElement> & {
|
|
|
1927
1925
|
isDisabled?: boolean;
|
|
1928
1926
|
isError?: boolean;
|
|
1929
1927
|
};
|
|
1930
|
-
declare const _default$
|
|
1928
|
+
declare const _default$h: React.NamedExoticComponent<ItemProps>;
|
|
1931
1929
|
|
|
1932
1930
|
type VideoProps = {
|
|
1933
1931
|
src: string;
|
|
1934
1932
|
isMuted: boolean;
|
|
1935
1933
|
onMuteToggle: () => void;
|
|
1936
1934
|
};
|
|
1937
|
-
declare const _default$
|
|
1935
|
+
declare const _default$g: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<VideoProps & React__default.RefAttributes<HTMLVideoElement>>>;
|
|
1938
1936
|
|
|
1939
1937
|
type UlLiProps = {
|
|
1940
1938
|
list: string[];
|
|
@@ -2430,6 +2428,8 @@ declare const IconProfile: FC<IconProps$B>;
|
|
|
2430
2428
|
|
|
2431
2429
|
declare const IconReceiptLong: FC<IconProps$B>;
|
|
2432
2430
|
|
|
2431
|
+
declare const IconInvoice: FC<IconProps$B>;
|
|
2432
|
+
|
|
2433
2433
|
type AnyRef = React__default.Ref<any>;
|
|
2434
2434
|
declare const mergeRefs: <T extends unknown>(...refs: AnyRef[]) => React__default.Ref<T>;
|
|
2435
2435
|
|
|
@@ -2509,9 +2509,9 @@ type SlotsGridItemProps = {
|
|
|
2509
2509
|
onSelectionChange: () => void;
|
|
2510
2510
|
};
|
|
2511
2511
|
|
|
2512
|
-
declare const _default$
|
|
2512
|
+
declare const _default$f: React__default.NamedExoticComponent<SlotsGridProps>;
|
|
2513
2513
|
|
|
2514
|
-
declare const _default$
|
|
2514
|
+
declare const _default$e: React.NamedExoticComponent<SlotsGridItemProps>;
|
|
2515
2515
|
|
|
2516
2516
|
type PushNotificationsModalProps = {
|
|
2517
2517
|
onApplyPermission: () => void;
|
|
@@ -2611,23 +2611,23 @@ type ShareModalFeatureProps = {
|
|
|
2611
2611
|
};
|
|
2612
2612
|
declare const ShareModalFeature: FC<ShareModalFeatureProps>;
|
|
2613
2613
|
|
|
2614
|
-
declare const _default$
|
|
2614
|
+
declare const _default$d: React__default.NamedExoticComponent<SpecialistPaymentConsultationDetailsType & TranslationType>;
|
|
2615
2615
|
|
|
2616
|
-
declare const _default$
|
|
2616
|
+
declare const _default$c: React__default.NamedExoticComponent<SpecialistPaymentCardProps & TranslationType>;
|
|
2617
2617
|
|
|
2618
2618
|
type SpecialistPaymentCommonCardSkeletonType = {
|
|
2619
2619
|
className?: string;
|
|
2620
2620
|
};
|
|
2621
2621
|
declare const SpecialistPaymentCommonCardSkeleton: (props: SpecialistPaymentCommonCardSkeletonType) => JSX.Element;
|
|
2622
2622
|
|
|
2623
|
-
declare const _default$
|
|
2623
|
+
declare const _default$b: React__default.NamedExoticComponent<SpecialistPaymentConsultationsProps & TranslationType>;
|
|
2624
2624
|
|
|
2625
2625
|
type ConsultationsListProps = {
|
|
2626
2626
|
consultations: SpecialistConsultation[];
|
|
2627
2627
|
locale?: string;
|
|
2628
2628
|
consultationClick?: (consultation: SpecialistConsultation) => void;
|
|
2629
2629
|
};
|
|
2630
|
-
declare const _default$
|
|
2630
|
+
declare const _default$a: React__default.NamedExoticComponent<ConsultationsListProps>;
|
|
2631
2631
|
|
|
2632
2632
|
type ConsultationsListSkeletonType = {
|
|
2633
2633
|
className?: string;
|
|
@@ -2642,9 +2642,9 @@ type CalendarPickerFeatureProps = {
|
|
|
2642
2642
|
monthsMore?: number;
|
|
2643
2643
|
dateCallback: (date: Date) => void;
|
|
2644
2644
|
};
|
|
2645
|
-
declare const _default$
|
|
2645
|
+
declare const _default$9: React__default.NamedExoticComponent<CalendarPickerFeatureProps & TranslationType>;
|
|
2646
2646
|
|
|
2647
|
-
declare const _default$
|
|
2647
|
+
declare const _default$8: React__default.NamedExoticComponent<PaymentCalendarFeatureProps & TranslationType>;
|
|
2648
2648
|
|
|
2649
2649
|
type GoogleCalendarModalFeatureProps = {
|
|
2650
2650
|
isOpen: boolean;
|
|
@@ -2666,7 +2666,7 @@ type ReviewCardFeatureProps = {
|
|
|
2666
2666
|
review: string;
|
|
2667
2667
|
size?: 'default' | 'small';
|
|
2668
2668
|
} & TranslationType;
|
|
2669
|
-
declare const _default$
|
|
2669
|
+
declare const _default$7: React__default.NamedExoticComponent<ReviewCardFeatureProps>;
|
|
2670
2670
|
|
|
2671
2671
|
type AppNotSupportedProps = {
|
|
2672
2672
|
isOpen: boolean;
|
|
@@ -2752,7 +2752,7 @@ type ScreenInputFormFeatureProps = {
|
|
|
2752
2752
|
icon?: ReactNode | string;
|
|
2753
2753
|
isKeyboardShown?: boolean;
|
|
2754
2754
|
};
|
|
2755
|
-
declare const _default$
|
|
2755
|
+
declare const _default$6: React__default.NamedExoticComponent<ScreenInputFormFeatureProps>;
|
|
2756
2756
|
|
|
2757
2757
|
type SelectionType = {
|
|
2758
2758
|
value: any;
|
|
@@ -2770,7 +2770,7 @@ type SpecialistDrumPickerWidgetProps = {
|
|
|
2770
2770
|
onTouchStart?: () => void;
|
|
2771
2771
|
onTouchEnd?: () => void;
|
|
2772
2772
|
};
|
|
2773
|
-
declare const _default$
|
|
2773
|
+
declare const _default$5: React__default.NamedExoticComponent<SpecialistDrumPickerWidgetProps>;
|
|
2774
2774
|
|
|
2775
2775
|
type TextAreaFormFeatureProps = {
|
|
2776
2776
|
title?: string;
|
|
@@ -2784,7 +2784,7 @@ type TextAreaFormFeatureProps = {
|
|
|
2784
2784
|
isFocus?: boolean;
|
|
2785
2785
|
isKeyboardShown?: boolean;
|
|
2786
2786
|
};
|
|
2787
|
-
declare const _default$
|
|
2787
|
+
declare const _default$4: React__default.NamedExoticComponent<TextAreaFormFeatureProps>;
|
|
2788
2788
|
|
|
2789
2789
|
type AcceptAgreementFeatureProps = {
|
|
2790
2790
|
isAccepted: boolean;
|
|
@@ -2805,14 +2805,7 @@ type SelectWithSearchFormFeatureProps = {
|
|
|
2805
2805
|
otherText?: string;
|
|
2806
2806
|
buttonLabel?: string;
|
|
2807
2807
|
} & WithTranslation;
|
|
2808
|
-
declare const _default$
|
|
2809
|
-
|
|
2810
|
-
type MarkdownContainerFeatureProps = {
|
|
2811
|
-
children?: string | null;
|
|
2812
|
-
components?: Partial<Omit<NormalComponents, keyof SpecialComponents> & SpecialComponents>;
|
|
2813
|
-
className?: string;
|
|
2814
|
-
};
|
|
2815
|
-
declare const _default$3: React__default.NamedExoticComponent<MarkdownContainerFeatureProps>;
|
|
2808
|
+
declare const _default$3: React__default.NamedExoticComponent<SelectWithSearchFormFeatureProps>;
|
|
2816
2809
|
|
|
2817
2810
|
type SupportedCountryLocale = string;
|
|
2818
2811
|
type Tabs = {
|
|
@@ -2898,4 +2891,4 @@ type UpdateContractWidgetProps = {
|
|
|
2898
2891
|
};
|
|
2899
2892
|
declare function UpdateContractWidget({ applyText, onApply, heading, image, avatar, agreementText, handlePressLink, isAccepted, setIsAccepted, isLoading, }: UpdateContractWidgetProps): JSX.Element;
|
|
2900
2893
|
|
|
2901
|
-
export { AcceptAgreementFeature, AppFooter, _default$
|
|
2894
|
+
export { AcceptAgreementFeature, AppFooter, _default$u as AppFooter_v2, AppHeader, AppHeader_v2, AppNotSupportedFeature, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$t as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$p as Badge, _default$I as BookingScheduleTime, _default$H as BookingSpecialistInfo, Button, Button_v2, Calendar, _default$9 as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$11 as ChatListItem, _default$$ as ChatListSkeleton, _default$10 as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$C as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, CollapsableText, _default$U as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$R as ConsultationModal, _default$d as ConsultationPricingFeature, _default$P as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, ContentRendererProps, ContentTree as ContractTreeFeature, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$D as CustomCheckbox, CustomRadioButton, _default$E as CustomSelect, _default$F as CustomTextarea, DatePicker, _default$N as DaySlider, DayToRender, DrumListPicker, _default$J as EducationCard, _default$_ as EmptyChatList, EmptyChatMessages, _default$S as EmptyConsultations, EntryNotFound, EntryNotFoundProps, ErrorCardFeature, _default$z as Flag, FlagTypes, _default$r as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$l as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCopy, IconCreditCard, IconDelete, IconDocument, IconEcgHeart, IconEdit, IconEditCalendar, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHome, IconIdCard, IconInvisible, IconInvoice, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLock, IconLogout, IconManageAccounts, IconMinus, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPersonAlert, IconPlus, IconProfile, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconReceiptLong, IconResume, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconStylus, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$h as Item, _default$o as ItemCard, LabelArrowRedirect, LanguagesList, _default$15 as LetterAvatar, _default$A as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$i as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$j as Loading, LouseConnect, _default$12 as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, OutdatedPersonalDataFeature, PasswordInput, _default$8 as PaymentCalendarFeature, _default$a as PaymentSessionsList, _default$14 as PersonDateTimeCard, _default$q as Picture, _default$y as ProfileInformation, _default$L as ProfileView, _default$B as ProgressBar, ProgressBarDashed, _default$k as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$m as Rating, RatingCircleWrapper, _default$O as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, _default$7 as ReviewCardFeature, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, _default$5 as ScreenDrumPickerFormFeature, ScreenInput, _default$6 as ScreenInputFormFeature, ScreenInputUpdateFeature, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$13 as SelectImpressionEmoji, SelectItemType, _default$3 as SelectWithSearchFormFeature, ShareModalFeature, _default$T as SignUpSessionButton, _default$Q as SignUpSessionModal, Skeleton, _default$s as Skeleton_v2, _default$f as SlotsGrid, _default$e as SlotsGridItem, _default$K as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default$2 as SpecialistCardWidget, _default$Y as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$x as SpecialistMatch, _default$c as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, _default$b as SpecialistPaymentConsultationsFeature, _default as SpecialistPaymentResumeWidget, _default$1 as SpecialistPaymentWidget, _default$X as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$w as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, TabItem, Tabs$1 as Tabs, Tag, _default$4 as TextAreaFormFeature, _default$G as TextInput, _default$Z as Textarea, _default$n as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, TreeNode, _default$v as Typography, TypographyVariantsEnum, UpdateContractWidget, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$g as Video, _default$V as VideoCallInfo, _default$W as VideoPlayer, _default$M as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, getSignAgreementsTabs, mergeRefs, newShade, priceNormalize, replaceMarkdownWithReactElements, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindly/ui-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.80.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rimraf dist",
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
"react-dom": "17.0.2",
|
|
35
35
|
"react-i18next": "13.2.2",
|
|
36
36
|
"react-intersection-observer": "9.5.3",
|
|
37
|
-
"react-markdown": "8.0.7",
|
|
38
37
|
"react-mobile-picker": "1.0.0",
|
|
39
38
|
"react-photo-view": "1.2.4",
|
|
40
39
|
"react-rating": "2.0.5",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NormalComponents } from 'react-markdown/lib/complex-types';
|
|
3
|
-
import { SpecialComponents } from 'react-markdown/lib/ast-to-react';
|
|
4
|
-
type MarkdownContainerFeatureProps = {
|
|
5
|
-
children?: string | null;
|
|
6
|
-
components?: Partial<Omit<NormalComponents, keyof SpecialComponents> & SpecialComponents>;
|
|
7
|
-
className?: string;
|
|
8
|
-
};
|
|
9
|
-
declare const _default: React.NamedExoticComponent<MarkdownContainerFeatureProps>;
|
|
10
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as MarkdownContainerFeature } from './MarkdownContainerFeature';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NormalComponents } from 'react-markdown/lib/complex-types';
|
|
3
|
-
import { SpecialComponents } from 'react-markdown/lib/ast-to-react';
|
|
4
|
-
type MarkdownContainerFeatureProps = {
|
|
5
|
-
children?: string | null;
|
|
6
|
-
components?: Partial<Omit<NormalComponents, keyof SpecialComponents> & SpecialComponents>;
|
|
7
|
-
className?: string;
|
|
8
|
-
};
|
|
9
|
-
declare const _default: React.NamedExoticComponent<MarkdownContainerFeatureProps>;
|
|
10
|
-
export default _default;
|