@mindly/ui-components 1.10.6 → 1.12.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 +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +2 -0
- package/dist/cjs/types/lib/consultation-card/ConsultationCard.d.ts +6 -4
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +2 -0
- package/dist/esm/types/lib/consultation-card/ConsultationCard.d.ts +6 -4
- package/dist/index.d.ts +9 -5
- package/package.json +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare type HorizontalCalendarProps = {
|
|
3
3
|
consultationDatesSeconds?: number[];
|
|
4
|
+
myNotesDatesSeconds?: number[];
|
|
5
|
+
toMeNotesDatesSeconds?: number[];
|
|
4
6
|
/**
|
|
5
7
|
* Days to be rendered. e.g. 15 - means 7 before today and 7 after today
|
|
6
8
|
*/
|
|
@@ -9,18 +9,20 @@ export declare enum DayOfWeeks {
|
|
|
9
9
|
"П'ятниця" = 5,
|
|
10
10
|
'Субота' = 6
|
|
11
11
|
}
|
|
12
|
+
export declare type DateTimeType = {
|
|
13
|
+
_nanoseconds: number;
|
|
14
|
+
_seconds: number;
|
|
15
|
+
};
|
|
12
16
|
export interface ConsultationCardProps {
|
|
13
17
|
startConsultation: (props?: React.SyntheticEvent) => void;
|
|
14
18
|
handleReschedule: (props?: React.SyntheticEvent) => void;
|
|
15
19
|
handleRefund: (props?: React.SyntheticEvent) => void;
|
|
16
20
|
handleNotes?: (props?: React.SyntheticEvent) => void;
|
|
17
21
|
consultationWith: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
dayOfWeek?: DayOfWeeks;
|
|
22
|
+
consultationTime: DateTimeType;
|
|
23
|
+
userTimeZone: string;
|
|
21
24
|
avatar: string;
|
|
22
25
|
autorecord?: boolean;
|
|
23
|
-
finished?: boolean;
|
|
24
26
|
['data-container-testid']?: string;
|
|
25
27
|
['data-start-testid']?: string;
|
|
26
28
|
['data-reschedule-testid']?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -153,6 +153,8 @@ declare const ModalCalendar: React.FC<ModalCalendarProps>;
|
|
|
153
153
|
|
|
154
154
|
declare type HorizontalCalendarProps = {
|
|
155
155
|
consultationDatesSeconds?: number[];
|
|
156
|
+
myNotesDatesSeconds?: number[];
|
|
157
|
+
toMeNotesDatesSeconds?: number[];
|
|
156
158
|
/**
|
|
157
159
|
* Days to be rendered. e.g. 15 - means 7 before today and 7 after today
|
|
158
160
|
*/
|
|
@@ -528,18 +530,20 @@ declare enum DayOfWeeks {
|
|
|
528
530
|
"П'ятниця" = 5,
|
|
529
531
|
'Субота' = 6
|
|
530
532
|
}
|
|
533
|
+
declare type DateTimeType = {
|
|
534
|
+
_nanoseconds: number;
|
|
535
|
+
_seconds: number;
|
|
536
|
+
};
|
|
531
537
|
interface ConsultationCardProps {
|
|
532
538
|
startConsultation: (props?: React.SyntheticEvent) => void;
|
|
533
539
|
handleReschedule: (props?: React.SyntheticEvent) => void;
|
|
534
540
|
handleRefund: (props?: React.SyntheticEvent) => void;
|
|
535
541
|
handleNotes?: (props?: React.SyntheticEvent) => void;
|
|
536
542
|
consultationWith: string;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
dayOfWeek?: DayOfWeeks;
|
|
543
|
+
consultationTime: DateTimeType;
|
|
544
|
+
userTimeZone: string;
|
|
540
545
|
avatar: string;
|
|
541
546
|
autorecord?: boolean;
|
|
542
|
-
finished?: boolean;
|
|
543
547
|
['data-container-testid']?: string;
|
|
544
548
|
['data-start-testid']?: string;
|
|
545
549
|
['data-reschedule-testid']?: string;
|
|
@@ -549,4 +553,4 @@ declare const ConsultationCard: React.FC<ConsultationCardProps>;
|
|
|
549
553
|
|
|
550
554
|
declare const ConsultationCardSkeleton: () => JSX.Element;
|
|
551
555
|
|
|
552
|
-
export { ArchivedConsultationCard, Button, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, ContentCard, DatePicker, DayOfWeeks, DayToRender, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, ImageWithFallback, ImageWithFallbackProps, ImpressionEmojiEnum, Input, _default$1 as LetterAvatar, LetterAvatarProps, ListButton, ModalCalendar, NavigationBar, NoInternetConnection, NotesEditor, _default as PersonDateTimeCard, ScrollTabs, _default$2 as SelectImpressionEmoji, SelectImpressionEmojiProps, TabBar, TherapistCard, TherapistInformationComponent, userAppTypes_d as UserAppTypes, UsersPsychologistScrollList, UsersPsychologistScrollListPropsType, YourLocalTimeBlock, toast };
|
|
556
|
+
export { ArchivedConsultationCard, Button, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, ImageWithFallback, ImageWithFallbackProps, ImpressionEmojiEnum, Input, _default$1 as LetterAvatar, LetterAvatarProps, ListButton, ModalCalendar, NavigationBar, NoInternetConnection, NotesEditor, _default as PersonDateTimeCard, ScrollTabs, _default$2 as SelectImpressionEmoji, SelectImpressionEmojiProps, TabBar, TherapistCard, TherapistInformationComponent, userAppTypes_d as UserAppTypes, UsersPsychologistScrollList, UsersPsychologistScrollListPropsType, YourLocalTimeBlock, toast };
|