@mindly/ui-components 3.26.10 → 3.27.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.
@@ -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';
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
  /**
@@ -858,4 +861,20 @@ declare type BookingSpecialistInfoProps = {
858
861
  };
859
862
  declare const _default: React.NamedExoticComponent<BookingSpecialistInfoProps>;
860
863
 
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 };
864
+ declare type SpecialistCardProps = {
865
+ fullName: string;
866
+ specialization: string;
867
+ pricePerSessionUAH: number;
868
+ sessionDurationInMinutes: number;
869
+ avatarLink?: string | null;
870
+ yearsOfExperience?: number | null;
871
+ hoursOfPractice?: number | null;
872
+ summary?: string | null;
873
+ clientsCount?: number | null;
874
+ sessionsCount?: number | null;
875
+ onFavouriteClickHandler?: () => void;
876
+ isFavouriteSpecialist?: boolean;
877
+ };
878
+ declare const SpecialistCard: React.FC<SpecialistCardProps>;
879
+
880
+ 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.10",
3
+ "version": "3.27.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",