@mindly/ui-components 1.11.0 → 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.
@@ -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
@@ -530,18 +530,20 @@ declare enum DayOfWeeks {
530
530
  "П'ятниця" = 5,
531
531
  'Субота' = 6
532
532
  }
533
+ declare type DateTimeType = {
534
+ _nanoseconds: number;
535
+ _seconds: number;
536
+ };
533
537
  interface ConsultationCardProps {
534
538
  startConsultation: (props?: React.SyntheticEvent) => void;
535
539
  handleReschedule: (props?: React.SyntheticEvent) => void;
536
540
  handleRefund: (props?: React.SyntheticEvent) => void;
537
541
  handleNotes?: (props?: React.SyntheticEvent) => void;
538
542
  consultationWith: string;
539
- day: string;
540
- time: string;
541
- dayOfWeek?: DayOfWeeks;
543
+ consultationTime: DateTimeType;
544
+ userTimeZone: string;
542
545
  avatar: string;
543
546
  autorecord?: boolean;
544
- finished?: boolean;
545
547
  ['data-container-testid']?: string;
546
548
  ['data-start-testid']?: string;
547
549
  ['data-reschedule-testid']?: string;
@@ -551,4 +553,4 @@ declare const ConsultationCard: React.FC<ConsultationCardProps>;
551
553
 
552
554
  declare const ConsultationCardSkeleton: () => JSX.Element;
553
555
 
554
- 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.11.0",
3
+ "version": "1.12.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",