@mindly/ui-components 3.26.11 → 3.27.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.
@@ -10,4 +10,7 @@ export interface TherapistCardProps {
10
10
  handleClick: (props?: React.SyntheticEvent) => void;
11
11
  ['data-testid']?: string;
12
12
  }
13
+ /**
14
+ * @deprecated
15
+ */
13
16
  export declare const TherapistCard: React.FC<TherapistCardProps>;
@@ -3,7 +3,7 @@ import { FloatingButton } from './lib/floating-button/FloatingButton';
3
3
  import { ListButton } from './lib/list-button/ListButton';
4
4
  import { NavigationBar } from './lib/navigation-bar/NavigationBar';
5
5
  import { ContentCard } from './lib/content-card/ContentCard';
6
- import { TherapistCard } from './lib/therapist-card/TherapistCard';
6
+ import { TherapistCard } from './deprecated/therapist-card/TherapistCard';
7
7
  import { toast } from './lib/toast/toast';
8
8
  import { ArchivedConsultationCard } from './lib/archived-consultation-card/ArchivedConsultationCard';
9
9
  import { DatePicker } from './lib/date-picker/DatePicker';
@@ -131,3 +131,5 @@ export { default as BookingScheduleTime } from './lib/Booking/BookingScheduleTim
131
131
  export * from './lib/Booking/BookingScheduleTime';
132
132
  export { default as BookingSpecialistInfo } from './lib/Booking/BookingSpecialistInfo';
133
133
  export * from './lib/Booking/BookingSpecialistInfo';
134
+ export { default as SpecialistCard } from './lib/SpecialistCard';
135
+ export * from './lib/SpecialistCard';
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ declare type SpecialistCardProps = {
3
+ fullName: string;
4
+ specialization: string;
5
+ pricePerSessionUAH: number;
6
+ sessionDurationInMinutes: number;
7
+ avatarLink?: string | null;
8
+ yearsOfExperience?: number | null;
9
+ hoursOfPractice?: number | null;
10
+ summary?: string | null;
11
+ clientsCount?: number | null;
12
+ sessionsCount?: number | null;
13
+ onFavouriteClickHandler?: () => void;
14
+ isFavouriteSpecialist?: boolean;
15
+ };
16
+ declare const SpecialistCard: React.FC<SpecialistCardProps>;
17
+ export default SpecialistCard;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ export declare const SpecialistCardContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ declare type SpecialistCardContainerRowProps = {
4
+ bottomGapPx?: number;
5
+ flexGapPX?: number;
6
+ justifyContent?: 'center' | 'space-between';
7
+ };
8
+ export declare const SpecialistCardContainerRow: import("styled-components").StyledComponent<"div", any, SpecialistCardContainerRowProps, never>;
9
+ export declare const StyledCardAvatar: import("styled-components").StyledComponent<import("react").FC<import("../Avatar").AvatarProps>, any, {}, never>;
10
+ export declare const SpecialistMainInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ export declare const SpecialistCardSummary: import("styled-components").StyledComponent<"div", any, {}, never>;
12
+ export declare const SpecialistPriceSection: import("styled-components").StyledComponent<"div", any, {}, never>;
13
+ export declare const SpecialistStatistics: import("styled-components").StyledComponent<"div", any, {}, never>;
14
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './SpecialistCard';
@@ -7,6 +7,7 @@ declare type UserInfo = {
7
7
  export declare type VideoCallInfoProps = {
8
8
  userInfo: UserInfo;
9
9
  consultationDate?: number;
10
+ timeZone?: string;
10
11
  };
11
12
  declare const _default: React.NamedExoticComponent<VideoCallInfoProps>;
12
13
  export default _default;
package/dist/index.d.ts CHANGED
@@ -59,6 +59,9 @@ interface TherapistCardProps {
59
59
  handleClick: (props?: React.SyntheticEvent) => void;
60
60
  ['data-testid']?: string;
61
61
  }
62
+ /**
63
+ * @deprecated
64
+ */
62
65
  declare const TherapistCard: React.FC<TherapistCardProps>;
63
66
 
64
67
  /**
@@ -650,6 +653,7 @@ declare type UserInfo = {
650
653
  declare type VideoCallInfoProps = {
651
654
  userInfo: UserInfo;
652
655
  consultationDate?: number;
656
+ timeZone?: string;
653
657
  };
654
658
  declare const _default$c: React.NamedExoticComponent<VideoCallInfoProps>;
655
659
 
@@ -858,4 +862,20 @@ declare type BookingSpecialistInfoProps = {
858
862
  };
859
863
  declare const _default: React.NamedExoticComponent<BookingSpecialistInfoProps>;
860
864
 
861
- export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, _default$1 as BookingScheduleTime, _default as BookingSpecialistInfo, Button, CancelSession, _default$k as ChatListItem, _default$i as ChatListSkeleton, _default$j as ChatMessage, ChatMessageSkeleton, _default$b as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$8 as ConsultationModal, _default$6 as ConsultationSpecialistCard, Container, ContentCard, DatePicker, _default$4 as DaySlider, DayToRender, _default$2 as EducationCard, _default$h as EmptyChatList, EmptyChatMessages, _default$9 as EmptyConsultations, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$o as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$l as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, _default$n as PersonDateTimeCard, _default$3 as ProfileView, Range, _default$5 as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$m as SelectImpressionEmoji, _default$a as SignUpSessionButton, _default$7 as SignUpSessionModal, Skeleton, SpecialistAbout, _default$f as SpecialistEducationCard, _default$e as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatisticsScroll, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$g as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$c as VideoCallInfo, _default$d as VideoPlayer, WorkDirections, YourLocalTimeBlock, decOfNum, toast };
865
+ declare type SpecialistCardProps = {
866
+ fullName: string;
867
+ specialization: string;
868
+ pricePerSessionUAH: number;
869
+ sessionDurationInMinutes: number;
870
+ avatarLink?: string | null;
871
+ yearsOfExperience?: number | null;
872
+ hoursOfPractice?: number | null;
873
+ summary?: string | null;
874
+ clientsCount?: number | null;
875
+ sessionsCount?: number | null;
876
+ onFavouriteClickHandler?: () => void;
877
+ isFavouriteSpecialist?: boolean;
878
+ };
879
+ declare const SpecialistCard: React.FC<SpecialistCardProps>;
880
+
881
+ export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, _default$1 as BookingScheduleTime, _default as BookingSpecialistInfo, Button, CancelSession, _default$k as ChatListItem, _default$i as ChatListSkeleton, _default$j as ChatMessage, ChatMessageSkeleton, _default$b as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$8 as ConsultationModal, _default$6 as ConsultationSpecialistCard, Container, ContentCard, DatePicker, _default$4 as DaySlider, DayToRender, _default$2 as EducationCard, _default$h as EmptyChatList, EmptyChatMessages, _default$9 as EmptyConsultations, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageWithFallback, ImpressionEmojiEnum, Input, _default$o as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$l as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, _default$n as PersonDateTimeCard, _default$3 as ProfileView, Range, _default$5 as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$m as SelectImpressionEmoji, _default$a as SignUpSessionButton, _default$7 as SignUpSessionModal, Skeleton, SpecialistAbout, SpecialistCard, _default$f as SpecialistEducationCard, _default$e as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatisticsScroll, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$g as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$c as VideoCallInfo, _default$d 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.26.11",
3
+ "version": "3.27.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",