@mindly/ui-components 3.36.4 → 3.37.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.
@@ -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
+ declare const FlagTypes: {
3
+ uk: JSX.Element;
4
+ ua: JSX.Element;
5
+ pl: JSX.Element;
6
+ gb: JSX.Element;
7
+ en: JSX.Element;
8
+ ru: JSX.Element;
9
+ };
10
+ declare type FlagProps = {
11
+ name: keyof typeof FlagTypes;
12
+ dimensions?: number;
13
+ };
14
+ declare const _default: React.NamedExoticComponent<FlagProps>;
15
+ export default _default;
@@ -0,0 +1,5 @@
1
+ declare type FlagProps = {
2
+ dimensions: number;
3
+ };
4
+ export declare const FlagWrapper: import("styled-components").StyledComponent<"div", any, FlagProps, never>;
5
+ export {};
@@ -0,0 +1,2 @@
1
+ export { default } from './Flag';
2
+ export * from './Flag';
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$v: React.NamedExoticComponent<LetterAvatarProps>;
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$u: React.NamedExoticComponent<PersonDateTimeCardProps>;
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$t: React.NamedExoticComponent<SelectImpressionEmojiProps>;
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$s: React.NamedExoticComponent<MediaPlayerProps>;
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$r: React.NamedExoticComponent<ChatListItemProps>;
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$q: React.NamedExoticComponent<ChatMessageProps>;
481
+ declare const _default$r: React.NamedExoticComponent<ChatMessageProps>;
482
482
 
483
483
  declare const ChatMessageSkeleton: () => JSX.Element;
484
484
 
485
- declare const _default$p: React.MemoExoticComponent<() => JSX.Element>;
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$o: React.NamedExoticComponent<EmptyChatList>;
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$n: React.NamedExoticComponent<TextareaProps>;
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$m: React.NamedExoticComponent<SpecialistEducationCardProps$1>;
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$l: React.NamedExoticComponent<SpecialistProfileViewCardProps$1>;
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$k: React.NamedExoticComponent<VideoPlayerProps>;
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$j: React.NamedExoticComponent<VideoCallInfoProps>;
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$i: React.NamedExoticComponent<ConsultationCardProps>;
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$h: React.NamedExoticComponent<SignUpSessionButtonProps>;
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$g: React.NamedExoticComponent<EmptyConsultationsProps>;
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$f: React.NamedExoticComponent<ConsultationModalProps>;
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$e: React.NamedExoticComponent<SignUpSessionModalProps>;
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$d: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
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$c: React.NamedExoticComponent<ReScheduleProps>;
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$b: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<DaySliderProps, "key" | keyof JSX$1.IonSlides | keyof React.HTMLAttributes<HTMLIonSlidesElement> | "slides" | "onDayClick"> & React.RefAttributes<HTMLIonSlidesElement>>>;
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$a: React.NamedExoticComponent<SpecialistProfileViewCardProps>;
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$9: React.NamedExoticComponent<SpecialistEducationCardProps>;
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$8: React.NamedExoticComponent<BookingScheduleTimeProps>;
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$7: React.NamedExoticComponent<BookingSpecialistInfoProps>;
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$6: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
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$5: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
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$4: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
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$3: React.MemoExoticComponent<React.ForwardRefExoticComponent<CustomCheckboxProps & React.RefAttributes<HTMLInputElement>>>;
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$2: React.NamedExoticComponent<CheckboxListProps>;
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$1: React.NamedExoticComponent<ProgressBarProps>;
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
- export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, _default$8 as BookingScheduleTime, _default$7 as BookingSpecialistInfo, Button, CancelSession, _default$r as ChatListItem, _default$p as ChatListSkeleton, _default$q as ChatMessage, ChatMessageSkeleton, _default$2 as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, _default$i as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$f as ConsultationModal, _default$d as ConsultationSpecialistCard, Container, ContentCard, CustomButton, _default$3 as CustomCheckbox, _default$4 as CustomSelect, _default$5 as CustomTextarea, DatePicker, _default$b as DaySlider, DayToRender, _default$9 as EducationCard, _default$o as EmptyChatList, EmptyChatMessages, _default$g as EmptyConsultations, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, _default$v as LetterAvatar, _default as LineFileInput, ListButton, ListSelect, LouseConnect, _default$s as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$u as PersonDateTimeCard, _default$a as ProfileView, _default$1 as ProgressBar, Range, _default$c as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$t as SelectImpressionEmoji, _default$h as SignUpSessionButton, _default$e as SignUpSessionModal, Skeleton, SpecialistAbout, SpecialistCard, _default$m as SpecialistEducationCard, _default$l as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$6 as TextInput, _default$n as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$j as VideoCallInfo, _default$k as VideoPlayer, WorkDirections, YourLocalTimeBlock, decOfNum, toast };
1011
+ declare const FlagTypes: {
1012
+ uk: JSX.Element;
1013
+ ua: JSX.Element;
1014
+ pl: JSX.Element;
1015
+ gb: JSX.Element;
1016
+ en: JSX.Element;
1017
+ ru: JSX.Element;
1018
+ };
1019
+ declare type FlagProps = {
1020
+ name: keyof typeof FlagTypes;
1021
+ dimensions?: 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, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.36.4",
3
+ "version": "3.37.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",