@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.
@@ -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
- day: string;
19
- time: string;
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
- day: string;
538
- time: string;
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "1.10.6",
3
+ "version": "1.12.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",