@mindly/ui-components 1.5.1 → 1.5.3

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.
@@ -3,7 +3,6 @@ import { FloatingButton } from './lib/floating-button/FloatingButton';
3
3
  import { FooterForBooking } from './lib/footer-for-booking/FooterForBooking';
4
4
  import { ListButton } from './lib/list-button/ListButton';
5
5
  import { NavigationBar } from './lib/navigation-bar/NavigationBar';
6
- import { ConsultationCard } from './lib/consultation-card/ConsultationCard';
7
6
  import { ContentCard } from './lib/content-card/ContentCard';
8
7
  import { TherapistCard } from './lib/therapist-card/TherapistCard';
9
8
  import { toast } from './lib/toast/toast';
@@ -17,5 +16,6 @@ import { TabBar } from './lib/tab-bar/TabBar';
17
16
  import { YourLocalTimeBlock } from './lib/your-local-time-block/YourLocalTimeBlock';
18
17
  import { HorizontalCalendar } from './lib/HorisontalCalendar/HorizontalCalendar';
19
18
  import { ModalCalendar } from './lib/ModalCalendar/ModalCalendar';
20
- export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ConsultationCard, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, HorizontalCalendar, ModalCalendar, };
19
+ export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, HorizontalCalendar, ModalCalendar, };
21
20
  export * from './lib/EntryNotFound';
21
+ export * from './lib/consultation-card';
@@ -1,2 +1,2 @@
1
1
  /// <reference types="react" />
2
- export declare const ConsultationCardSceleton: () => JSX.Element;
2
+ export declare const ConsultationCardSkeleton: () => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './ConsultationCard';
2
+ export * from './ConsultationCardSkeleton';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import React, { ReactNode, FC } from 'react';
2
3
 
3
4
  interface ButtonProps {
@@ -40,34 +41,6 @@ interface NavigationBarProps {
40
41
  }
41
42
  declare const NavigationBar: React.FC<NavigationBarProps>;
42
43
 
43
- declare enum DayOfWeek$1 {
44
- 'Неділя' = 0,
45
- 'Понеділок' = 1,
46
- 'Вівторок' = 2,
47
- 'Середа' = 3,
48
- 'Четверг' = 4,
49
- "П'ятниця" = 5,
50
- 'Субота' = 6
51
- }
52
- interface ConsultationCardProps {
53
- startConsultation: (props?: React.SyntheticEvent) => void;
54
- handleReschedule: (props?: React.SyntheticEvent) => void;
55
- handleRefund: (props?: React.SyntheticEvent) => void;
56
- handleNotes?: (props?: React.SyntheticEvent) => void;
57
- consultationWith: string;
58
- day: string;
59
- time: string;
60
- dayOfWeek?: DayOfWeek$1;
61
- avatar: string;
62
- autorecord?: boolean;
63
- finished?: boolean;
64
- ['data-container-testid']?: string;
65
- ['data-start-testid']?: string;
66
- ['data-reschedule-testid']?: string;
67
- ['data-refund-testid']?: string;
68
- }
69
- declare const ConsultationCard: React.FC<ConsultationCardProps>;
70
-
71
44
  interface ContentCardProps {
72
45
  contentVideo?: {
73
46
  title: string;
@@ -185,7 +158,7 @@ declare type HorizontalCalendarProps = {
185
158
  */
186
159
  startFrom?: Date;
187
160
  };
188
- declare enum DayOfWeek {
161
+ declare enum DayOfWeek$1 {
189
162
  SUN = "\u041D\u0434",
190
163
  MON = "\u041F\u043D",
191
164
  TUE = "\u0412\u0442",
@@ -200,7 +173,7 @@ declare type DayToRender = {
200
173
  */
201
174
  shortDate: string;
202
175
  dayOfMonth: number;
203
- dayOfWeek: DayOfWeek;
176
+ dayOfWeek: DayOfWeek$1;
204
177
  };
205
178
  declare const HorizontalCalendar: React.FC<HorizontalCalendarProps>;
206
179
 
@@ -217,4 +190,34 @@ declare type EntryNotFoundProps = {
217
190
  };
218
191
  declare const EntryNotFound: FC<EntryNotFoundProps>;
219
192
 
220
- export { ArchivedConsultationCard, Button, ConsultationCard, ContentCard, DatePicker, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, Input, ListButton, ModalCalendar, NavigationBar, NoInternetConnection, ScrollTabs, TabBar, TherapistCard, TherapistInformationComponent, YourLocalTimeBlock, toast };
193
+ declare enum DayOfWeek {
194
+ 'Неділя' = 0,
195
+ 'Понеділок' = 1,
196
+ 'Вівторок' = 2,
197
+ 'Середа' = 3,
198
+ 'Четверг' = 4,
199
+ "П'ятниця" = 5,
200
+ 'Субота' = 6
201
+ }
202
+ interface ConsultationCardProps {
203
+ startConsultation: (props?: React.SyntheticEvent) => void;
204
+ handleReschedule: (props?: React.SyntheticEvent) => void;
205
+ handleRefund: (props?: React.SyntheticEvent) => void;
206
+ handleNotes?: (props?: React.SyntheticEvent) => void;
207
+ consultationWith: string;
208
+ day: string;
209
+ time: string;
210
+ dayOfWeek?: DayOfWeek;
211
+ avatar: string;
212
+ autorecord?: boolean;
213
+ finished?: boolean;
214
+ ['data-container-testid']?: string;
215
+ ['data-start-testid']?: string;
216
+ ['data-reschedule-testid']?: string;
217
+ ['data-refund-testid']?: string;
218
+ }
219
+ declare const ConsultationCard: React.FC<ConsultationCardProps>;
220
+
221
+ declare const ConsultationCardSkeleton: () => JSX.Element;
222
+
223
+ export { ArchivedConsultationCard, Button, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, ContentCard, DatePicker, DayOfWeek, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, Input, ListButton, ModalCalendar, NavigationBar, NoInternetConnection, ScrollTabs, TabBar, TherapistCard, TherapistInformationComponent, YourLocalTimeBlock, toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",