@mindly/ui-components 3.24.1 → 3.25.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.
@@ -117,3 +117,7 @@ export * from './lib/TooltipComponent';
117
117
  export { default as DaySlider } from './lib/DaySlider';
118
118
  export * from './lib/DaySlider';
119
119
  export { decOfNum } from './lib/Consultations/utils';
120
+ export { default as BookingScheduleTime } from './lib/Booking/BookingScheduleTime';
121
+ export * from './lib/Booking/BookingScheduleTime';
122
+ export { default as BookingSpecialistInfo } from './lib/Booking/BookingSpecialistInfo';
123
+ export * from './lib/Booking/BookingSpecialistInfo';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ declare type BookingScheduleTimeProps = {
3
+ items: string[];
4
+ onClick?: (index: number, item: string) => void;
5
+ isLoading?: boolean;
6
+ };
7
+ declare const _default: React.NamedExoticComponent<BookingScheduleTimeProps>;
8
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export declare const BookingScheduleWrapper: import("styled-components").StyledComponent<"ul", any, {}, never>;
2
+ export declare const BookingScheduleButton: import("styled-components").StyledComponent<"button", any, {}, never>;
@@ -0,0 +1 @@
1
+ export { default } from './BookingScheduleTime';
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ declare type BookingSpecialistInfoProps = {
3
+ name: string;
4
+ title?: string;
5
+ subtitle?: string;
6
+ avatar?: string;
7
+ isLoading?: boolean;
8
+ };
9
+ declare const _default: React.NamedExoticComponent<BookingSpecialistInfoProps>;
10
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export declare const SpecialistInfoContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const SpecialistInfoContainerTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const SpecialistInfoContainerSubTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1 @@
1
+ export { default } from './BookingSpecialistInfo';
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$k: React.NamedExoticComponent<LetterAvatarProps>;
206
+ declare const _default$m: 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$j: React.NamedExoticComponent<PersonDateTimeCardProps>;
218
+ declare const _default$l: React.NamedExoticComponent<PersonDateTimeCardProps>;
219
219
 
220
220
  declare type PsychologistProfileType = {
221
221
  id: string;
@@ -398,7 +398,7 @@ declare type SelectImpressionEmojiProps = {
398
398
  onChange?: (val: ImpressionEmojiEnum) => void;
399
399
  };
400
400
 
401
- declare const _default$i: React.NamedExoticComponent<SelectImpressionEmojiProps>;
401
+ declare const _default$k: React.NamedExoticComponent<SelectImpressionEmojiProps>;
402
402
 
403
403
  interface FooterForBookingProps {
404
404
  eventHandler: (props?: React.SyntheticEvent) => void;
@@ -427,7 +427,7 @@ declare type MediaPlayerProps = {
427
427
  showControls: boolean;
428
428
  isScreenSharing?: boolean;
429
429
  } & HTMLAttributes<HTMLDivElement>;
430
- declare const _default$h: React.NamedExoticComponent<MediaPlayerProps>;
430
+ declare const _default$j: React.NamedExoticComponent<MediaPlayerProps>;
431
431
 
432
432
  declare type RoundButtonPropsType = {
433
433
  disabled?: boolean;
@@ -452,7 +452,7 @@ declare type ChatListItemProps = {
452
452
  timeZone?: string;
453
453
  lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
454
454
  };
455
- declare const _default$g: React.NamedExoticComponent<ChatListItemProps>;
455
+ declare const _default$i: React.NamedExoticComponent<ChatListItemProps>;
456
456
 
457
457
  declare type ChatMessageProps = {
458
458
  message: string | File;
@@ -469,11 +469,11 @@ declare type ChatMessageProps = {
469
469
  height?: number;
470
470
  };
471
471
  };
472
- declare const _default$f: React.NamedExoticComponent<ChatMessageProps>;
472
+ declare const _default$h: React.NamedExoticComponent<ChatMessageProps>;
473
473
 
474
474
  declare const ChatMessageSkeleton: () => JSX.Element;
475
475
 
476
- declare const _default$e: React.MemoExoticComponent<() => JSX.Element>;
476
+ declare const _default$g: React.MemoExoticComponent<() => JSX.Element>;
477
477
 
478
478
  declare type EmptyChatList = {
479
479
  title?: string;
@@ -483,7 +483,7 @@ declare type EmptyChatList = {
483
483
  onClick?: () => void;
484
484
  };
485
485
  declare const EmptyChatList: FC<EmptyChatList>;
486
- declare const _default$d: React.NamedExoticComponent<EmptyChatList>;
486
+ declare const _default$f: React.NamedExoticComponent<EmptyChatList>;
487
487
 
488
488
  declare type EmptyChatMessagesProps = {
489
489
  title?: string;
@@ -507,7 +507,7 @@ declare type TextareaProps = {
507
507
  onError?: (message: string) => void;
508
508
  onFileSelect?: (file: File | null, type: 'file' | 'image' | 'video', fileInfo: FileInfoType) => void;
509
509
  };
510
- declare const _default$c: React.NamedExoticComponent<TextareaProps>;
510
+ declare const _default$e: React.NamedExoticComponent<TextareaProps>;
511
511
 
512
512
  declare type LouseConnectProps = {
513
513
  onClick?: () => void;
@@ -588,7 +588,7 @@ declare type SpecialistEducationCardProps = {
588
588
  yearEnd?: number | null;
589
589
  showLoader?: boolean;
590
590
  };
591
- declare const _default$b: React.NamedExoticComponent<SpecialistEducationCardProps>;
591
+ declare const _default$d: React.NamedExoticComponent<SpecialistEducationCardProps>;
592
592
 
593
593
  declare type SpecialistProfileViewCardProps = {
594
594
  avatarLink?: string | null;
@@ -601,7 +601,7 @@ declare type SpecialistProfileViewCardProps = {
601
601
  videoLinkUrl?: string | null;
602
602
  showLoader?: boolean;
603
603
  } & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
604
- declare const _default$a: React.NamedExoticComponent<SpecialistProfileViewCardProps>;
604
+ declare const _default$c: React.NamedExoticComponent<SpecialistProfileViewCardProps>;
605
605
 
606
606
  declare type SpecialistStatisticsCardProps = {
607
607
  activeClients?: number;
@@ -635,7 +635,7 @@ declare type VideoPlayerProps = {
635
635
  closeModalHandler?: () => void;
636
636
  onErrorContent: React.ReactElement;
637
637
  } & JSX$1.IonModal;
638
- declare const _default$9: React.NamedExoticComponent<VideoPlayerProps>;
638
+ declare const _default$b: React.NamedExoticComponent<VideoPlayerProps>;
639
639
 
640
640
  declare type NotSupportModalProps = {
641
641
  closeModal?: () => void;
@@ -656,7 +656,7 @@ declare type VideoCallInfoProps = {
656
656
  userInfo: UserInfo;
657
657
  consultationDate?: number;
658
658
  };
659
- declare const _default$8: React.NamedExoticComponent<VideoCallInfoProps>;
659
+ declare const _default$a: React.NamedExoticComponent<VideoCallInfoProps>;
660
660
 
661
661
  declare enum ConsultationCardType {
662
662
  FEATURE = "feature",
@@ -675,14 +675,14 @@ declare type ConsultationCardProps = {
675
675
  onVideoCall?: (sessionId: string) => void;
676
676
  };
677
677
 
678
- declare const _default$7: React.NamedExoticComponent<ConsultationCardProps>;
678
+ declare const _default$9: React.NamedExoticComponent<ConsultationCardProps>;
679
679
 
680
680
  declare type SignUpSessionButtonProps = {
681
681
  label: string;
682
682
  isLoading?: boolean;
683
683
  onClick?: () => void;
684
684
  };
685
- declare const _default$6: React.NamedExoticComponent<SignUpSessionButtonProps>;
685
+ declare const _default$8: React.NamedExoticComponent<SignUpSessionButtonProps>;
686
686
 
687
687
  declare type EmptyConsultationsProps = {
688
688
  title: string;
@@ -690,7 +690,7 @@ declare type EmptyConsultationsProps = {
690
690
  buttonLabel?: string;
691
691
  onClick?: () => void;
692
692
  };
693
- declare const _default$5: React.NamedExoticComponent<EmptyConsultationsProps>;
693
+ declare const _default$7: React.NamedExoticComponent<EmptyConsultationsProps>;
694
694
 
695
695
  declare type ConsultationModalProps = {
696
696
  isOpen: boolean;
@@ -708,7 +708,7 @@ declare type ConsultationModalProps = {
708
708
  onReschedule?: (sessionId: string) => void;
709
709
  onModalClose?: () => void;
710
710
  };
711
- declare const _default$4: React.NamedExoticComponent<ConsultationModalProps>;
711
+ declare const _default$6: React.NamedExoticComponent<ConsultationModalProps>;
712
712
 
713
713
  declare type SpecialistData = {
714
714
  id: string;
@@ -723,7 +723,7 @@ declare type SignUpSessionModalProps = {
723
723
  onCancel?: () => void;
724
724
  viewportHeight: number;
725
725
  };
726
- declare const _default$3: React.NamedExoticComponent<SignUpSessionModalProps>;
726
+ declare const _default$5: React.NamedExoticComponent<SignUpSessionModalProps>;
727
727
 
728
728
  declare type ConsultationSpecialistCardProps = {
729
729
  id: string;
@@ -733,7 +733,7 @@ declare type ConsultationSpecialistCardProps = {
733
733
  onClick?: (id: string) => void;
734
734
  onSignUp?: (id: string) => void;
735
735
  };
736
- declare const _default$2: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
736
+ declare const _default$4: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
737
737
 
738
738
  declare type UserInfoModalProps = {
739
739
  isOpen: boolean;
@@ -770,7 +770,7 @@ declare type ReScheduleProps = {
770
770
  onSubmit?: (message: string) => void;
771
771
  isLoading?: boolean;
772
772
  };
773
- declare const _default$1: React.NamedExoticComponent<ReScheduleProps>;
773
+ declare const _default$3: React.NamedExoticComponent<ReScheduleProps>;
774
774
 
775
775
  declare type ReScheduleSuccessProps = {
776
776
  name: string;
@@ -795,8 +795,24 @@ declare type DaySliderProps = JSX$1.IonSlides & HTMLAttributes<HTMLIonSlidesElem
795
795
  timeZone?: string;
796
796
  onDayClick?: (i: number, item: number) => void;
797
797
  };
798
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<DaySliderProps, "key" | "timeZone" | keyof JSX$1.IonSlides | keyof React.HTMLAttributes<HTMLIonSlidesElement> | "slides" | "onDayClick"> & React.RefAttributes<HTMLIonSlidesElement>>>;
798
+ declare const _default$2: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<DaySliderProps, "key" | "timeZone" | keyof JSX$1.IonSlides | keyof React.HTMLAttributes<HTMLIonSlidesElement> | "slides" | "onDayClick"> & React.RefAttributes<HTMLIonSlidesElement>>>;
799
799
 
800
800
  declare const decOfNum: (number: number, titles: string[]) => string;
801
801
 
802
- export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, CancelSession, _default$g as ChatListItem, _default$e as ChatListSkeleton, _default$f as ChatMessage, ChatMessageSkeleton, _default$7 as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$4 as ConsultationModal, _default$2 as ConsultationSpecialistCard, Container, ContentCard, DatePicker, _default as DaySlider, DayToRender, _default$d as EmptyChatList, EmptyChatMessages, _default$5 as EmptyConsultations, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$k as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$h as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, _default$j as PersonDateTimeCard, Range, _default$1 as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$i as SelectImpressionEmoji, _default$6 as SignUpSessionButton, _default$3 as SignUpSessionModal, Skeleton, SpecialistAbout, _default$b as SpecialistEducationCard, _default$a as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$c as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$8 as VideoCallInfo, _default$9 as VideoPlayer, YourLocalTimeBlock, decOfNum, toast };
802
+ declare type BookingScheduleTimeProps = {
803
+ items: string[];
804
+ onClick?: (index: number, item: string) => void;
805
+ isLoading?: boolean;
806
+ };
807
+ declare const _default$1: React.NamedExoticComponent<BookingScheduleTimeProps>;
808
+
809
+ declare type BookingSpecialistInfoProps = {
810
+ name: string;
811
+ title?: string;
812
+ subtitle?: string;
813
+ avatar?: string;
814
+ isLoading?: boolean;
815
+ };
816
+ declare const _default: React.NamedExoticComponent<BookingSpecialistInfoProps>;
817
+
818
+ export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, _default$1 as BookingScheduleTime, _default as BookingSpecialistInfo, Button, CancelSession, _default$i as ChatListItem, _default$g as ChatListSkeleton, _default$h as ChatMessage, ChatMessageSkeleton, _default$9 as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$6 as ConsultationModal, _default$4 as ConsultationSpecialistCard, Container, ContentCard, DatePicker, _default$2 as DaySlider, DayToRender, _default$f as EmptyChatList, EmptyChatMessages, _default$7 as EmptyConsultations, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$m as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$j as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, _default$l as PersonDateTimeCard, Range, _default$3 as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$k as SelectImpressionEmoji, _default$8 as SignUpSessionButton, _default$5 as SignUpSessionModal, Skeleton, SpecialistAbout, _default$d as SpecialistEducationCard, _default$c as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$e as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$a as VideoCallInfo, _default$b as VideoPlayer, YourLocalTimeBlock, decOfNum, toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.24.1",
3
+ "version": "3.25.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",