@mindly/ui-components 1.3.0 → 1.5.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.
@@ -17,4 +17,5 @@ import { TabBar } from './lib/tab-bar/TabBar';
17
17
  import { YourLocalTimeBlock } from './lib/your-local-time-block/YourLocalTimeBlock';
18
18
  import { HorizontalCalendar } from './lib/HorisontalCalendar/HorizontalCalendar';
19
19
  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 };
20
+ export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ConsultationCard, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, HorizontalCalendar, ModalCalendar, };
21
+ export * from './lib/EntryNotFound';
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ export declare type EntryNotFoundProps = {
3
+ title?: string;
4
+ };
5
+ export declare const EntryNotFound: FC<EntryNotFoundProps>;
@@ -0,0 +1,2 @@
1
+ export declare const EntryNodFoundContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const EntryNotFoundTitle: import("styled-components").StyledComponent<"span", any, {}, never>;
@@ -0,0 +1 @@
1
+ export * from './EntryNotFound';
@@ -1,18 +1,26 @@
1
1
  import React from 'react';
2
2
  import '../Theme/global.css';
3
+ export declare enum DayOfWeek {
4
+ 'Неділя' = 0,
5
+ 'Понеділок' = 1,
6
+ 'Вівторок' = 2,
7
+ 'Середа' = 3,
8
+ 'Четверг' = 4,
9
+ "П'ятниця" = 5,
10
+ 'Субота' = 6
11
+ }
3
12
  export interface ConsultationCardProps {
4
13
  startConsultation: (props?: React.SyntheticEvent) => void;
5
14
  handleReschedule: (props?: React.SyntheticEvent) => void;
6
15
  handleRefund: (props?: React.SyntheticEvent) => void;
16
+ handleNotes?: (props?: React.SyntheticEvent) => void;
7
17
  consultationWith: string;
8
18
  day: string;
9
19
  time: string;
20
+ dayOfWeek?: DayOfWeek;
10
21
  avatar: string;
11
- isFree?: boolean;
12
- /**
13
- * Consultation price
14
- */
15
- price: string;
22
+ autorecord?: boolean;
23
+ finished?: boolean;
16
24
  ['data-container-testid']?: string;
17
25
  ['data-start-testid']?: string;
18
26
  ['data-reschedule-testid']?: string;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const ConsultationCardSceleton: () => JSX.Element;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { ReactNode, FC } from 'react';
2
2
 
3
3
  interface ButtonProps {
4
4
  buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
@@ -40,19 +40,27 @@ interface NavigationBarProps {
40
40
  }
41
41
  declare const NavigationBar: React.FC<NavigationBarProps>;
42
42
 
43
+ declare enum DayOfWeek$1 {
44
+ 'Неділя' = 0,
45
+ 'Понеділок' = 1,
46
+ 'Вівторок' = 2,
47
+ 'Середа' = 3,
48
+ 'Четверг' = 4,
49
+ "П'ятниця" = 5,
50
+ 'Субота' = 6
51
+ }
43
52
  interface ConsultationCardProps {
44
53
  startConsultation: (props?: React.SyntheticEvent) => void;
45
54
  handleReschedule: (props?: React.SyntheticEvent) => void;
46
55
  handleRefund: (props?: React.SyntheticEvent) => void;
56
+ handleNotes?: (props?: React.SyntheticEvent) => void;
47
57
  consultationWith: string;
48
58
  day: string;
49
59
  time: string;
60
+ dayOfWeek?: DayOfWeek$1;
50
61
  avatar: string;
51
- isFree?: boolean;
52
- /**
53
- * Consultation price
54
- */
55
- price: string;
62
+ autorecord?: boolean;
63
+ finished?: boolean;
56
64
  ['data-container-testid']?: string;
57
65
  ['data-start-testid']?: string;
58
66
  ['data-reschedule-testid']?: string;
@@ -204,4 +212,9 @@ declare type ModalCalendarProps = {
204
212
  };
205
213
  declare const ModalCalendar: React.FC<ModalCalendarProps>;
206
214
 
207
- export { ArchivedConsultationCard, Button, ConsultationCard, ContentCard, DatePicker, FloatingButton, FooterForBooking, HorizontalCalendar, Input, ListButton, ModalCalendar, NavigationBar, NoInternetConnection, ScrollTabs, TabBar, TherapistCard, TherapistInformationComponent, YourLocalTimeBlock, toast };
215
+ declare type EntryNotFoundProps = {
216
+ title?: string;
217
+ };
218
+ declare const EntryNotFound: FC<EntryNotFoundProps>;
219
+
220
+ export { ArchivedConsultationCard, Button, ConsultationCard, ContentCard, DatePicker, 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.3.0",
3
+ "version": "1.5.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -34,6 +34,7 @@
34
34
  "react": "^17.0.2",
35
35
  "react-day-picker": "^8.0.5",
36
36
  "react-dom": "^17.0.2",
37
+ "react-refresh": "^0.9.0",
37
38
  "react-scripts": "4.0.3",
38
39
  "styled-components": "^5.3.1",
39
40
  "web-vitals": "^1.1.2"