@mindly/ui-components 0.1.33 → 0.1.35
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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +1 -1
- package/dist/cjs/types/lib/button/Button.d.ts +2 -2
- package/dist/cjs/types/lib/consultation-card/ConsultationCard.d.ts +4 -4
- package/dist/cjs/types/lib/content-card/ContentCard.d.ts +1 -1
- package/dist/cjs/types/lib/date-picker/DatePicker.d.ts +2 -2
- package/dist/cjs/types/lib/floating-button/FloatingButton.d.ts +1 -1
- package/dist/cjs/types/lib/footer-for-booking/FooterForBooking.d.ts +2 -2
- package/dist/cjs/types/lib/input/Input.d.ts +2 -2
- package/dist/cjs/types/lib/list-button/ListButton.d.ts +2 -2
- package/dist/cjs/types/lib/navigation-bar/NavigationBar.d.ts +1 -1
- package/dist/cjs/types/lib/tab-bar/TabBar.d.ts +1 -1
- package/dist/cjs/types/lib/therapist-card/TherapistCard.d.ts +2 -2
- package/dist/cjs/types/lib/therapist-card/TherapistCard.style.d.ts +1 -4
- package/dist/cjs/types/lib/therapist-information-component/TherapistInformationComponent.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +1 -1
- package/dist/esm/types/lib/button/Button.d.ts +2 -2
- package/dist/esm/types/lib/consultation-card/ConsultationCard.d.ts +4 -4
- package/dist/esm/types/lib/content-card/ContentCard.d.ts +1 -1
- package/dist/esm/types/lib/date-picker/DatePicker.d.ts +2 -2
- package/dist/esm/types/lib/floating-button/FloatingButton.d.ts +1 -1
- package/dist/esm/types/lib/footer-for-booking/FooterForBooking.d.ts +2 -2
- package/dist/esm/types/lib/input/Input.d.ts +2 -2
- package/dist/esm/types/lib/list-button/ListButton.d.ts +2 -2
- package/dist/esm/types/lib/navigation-bar/NavigationBar.d.ts +1 -1
- package/dist/esm/types/lib/tab-bar/TabBar.d.ts +1 -1
- package/dist/esm/types/lib/therapist-card/TherapistCard.d.ts +2 -2
- package/dist/esm/types/lib/therapist-card/TherapistCard.style.d.ts +1 -4
- package/dist/esm/types/lib/therapist-information-component/TherapistInformationComponent.d.ts +1 -1
- package/dist/index.d.ts +22 -22
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ export interface ButtonProps {
|
|
|
4
4
|
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive';
|
|
5
5
|
isDisabled: boolean;
|
|
6
6
|
children: React.ReactNode;
|
|
7
|
-
onClick: (props?:
|
|
8
|
-
['data-
|
|
7
|
+
onClick: (props?: React.SyntheticEvent) => void;
|
|
8
|
+
['data-testid']?: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const Button: React.FC<ButtonProps>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import '../Theme/global.css';
|
|
3
3
|
export interface ConsultationCardProps {
|
|
4
|
-
startConsultation: (props?:
|
|
5
|
-
handleReschedule: (props?:
|
|
6
|
-
handleRefund: (props?:
|
|
4
|
+
startConsultation: (props?: React.SyntheticEvent) => void;
|
|
5
|
+
handleReschedule: (props?: React.SyntheticEvent) => void;
|
|
6
|
+
handleRefund: (props?: React.SyntheticEvent) => void;
|
|
7
7
|
consultationWith: string;
|
|
8
8
|
day: string;
|
|
9
9
|
time: string;
|
|
10
10
|
avatar: string;
|
|
11
|
-
['data-
|
|
11
|
+
['data-testid']?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const ConsultationCard: React.FC<ConsultationCardProps>;
|
|
@@ -7,7 +7,7 @@ export interface DatePickerProps {
|
|
|
7
7
|
date?: string;
|
|
8
8
|
month?: string;
|
|
9
9
|
isActive: boolean;
|
|
10
|
-
onClick: (props?:
|
|
11
|
-
['data-
|
|
10
|
+
onClick: (props?: React.SyntheticEvent) => void;
|
|
11
|
+
['data-testid']?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const DatePicker: React.FC<DatePickerProps>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import '../Theme/global.css';
|
|
3
3
|
export interface FooterForBookingProps {
|
|
4
|
-
eventHandler: (props?:
|
|
4
|
+
eventHandler: (props?: React.SyntheticEvent) => void;
|
|
5
5
|
duration: number;
|
|
6
6
|
price: string;
|
|
7
7
|
isIos: boolean;
|
|
8
|
-
['data-
|
|
8
|
+
['data-testid']?: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const FooterForBooking: React.FC<FooterForBookingProps>;
|
|
@@ -6,8 +6,8 @@ export interface InputProps {
|
|
|
6
6
|
type: 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'time' | 'week' | 'month' | 'datetime-local';
|
|
7
7
|
placeholder: string;
|
|
8
8
|
value: string;
|
|
9
|
-
['data-
|
|
10
|
-
onIonChange: (e:
|
|
9
|
+
['data-testid']?: string;
|
|
10
|
+
onIonChange: (e: CustomEvent) => void;
|
|
11
11
|
icon: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const Input: React.FC<InputProps>;
|
|
@@ -3,7 +3,7 @@ import '../Theme/global.css';
|
|
|
3
3
|
export interface ListButtonProps {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
icon: string;
|
|
6
|
-
onClick: (props?:
|
|
7
|
-
['data-
|
|
6
|
+
onClick: (props?: React.SyntheticEvent) => void;
|
|
7
|
+
['data-testid']?: string;
|
|
8
8
|
}
|
|
9
9
|
export declare const ListButton: React.FC<ListButtonProps>;
|
|
@@ -2,7 +2,7 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../Theme/global.css';
|
|
3
3
|
export interface NavigationBarProps {
|
|
4
4
|
isInternetConnected: boolean;
|
|
5
|
-
children?: ReactNode
|
|
5
|
+
children?: ReactNode;
|
|
6
6
|
isIos: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const NavigationBar: React.FC<NavigationBarProps>;
|
|
@@ -8,7 +8,7 @@ export interface TherapistCardProps {
|
|
|
8
8
|
psychologistPrice: number;
|
|
9
9
|
psychologistDuration: number;
|
|
10
10
|
psychologistExperience: number;
|
|
11
|
-
handleClick: (props?:
|
|
12
|
-
|
|
11
|
+
handleClick: (props?: React.SyntheticEvent) => void;
|
|
12
|
+
['data-testid']?: string;
|
|
13
13
|
}
|
|
14
14
|
export declare const TherapistCard: React.FC<TherapistCardProps>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
isIos: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare const Container: import("styled-components").StyledComponent<"div", any, ContainerProps, never>;
|
|
2
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
3
|
declare type SkeletonProps = {
|
|
7
4
|
isLoading: boolean;
|
|
8
5
|
};
|
package/dist/esm/types/lib/therapist-information-component/TherapistInformationComponent.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ export interface TherapistInformationComponentProps {
|
|
|
5
5
|
experience: string;
|
|
6
6
|
duration: string;
|
|
7
7
|
price: string;
|
|
8
|
-
['data-
|
|
8
|
+
['data-testid']?: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const TherapistInformationComponent: React.FC<TherapistInformationComponentProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,38 +4,38 @@ interface ButtonProps {
|
|
|
4
4
|
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive';
|
|
5
5
|
isDisabled: boolean;
|
|
6
6
|
children: React.ReactNode;
|
|
7
|
-
onClick: (props?:
|
|
8
|
-
['data-
|
|
7
|
+
onClick: (props?: React.SyntheticEvent) => void;
|
|
8
|
+
['data-testid']?: string;
|
|
9
9
|
}
|
|
10
10
|
declare const Button: React.FC<ButtonProps>;
|
|
11
11
|
|
|
12
12
|
interface FloatingButtonType {
|
|
13
13
|
bottomHeight: number;
|
|
14
14
|
rightWidth: number;
|
|
15
|
-
['data-
|
|
15
|
+
['data-testid']?: string;
|
|
16
16
|
}
|
|
17
17
|
declare const FloatingButton: React.FC<FloatingButtonType>;
|
|
18
18
|
|
|
19
19
|
interface FooterForBookingProps {
|
|
20
|
-
eventHandler: (props?:
|
|
20
|
+
eventHandler: (props?: React.SyntheticEvent) => void;
|
|
21
21
|
duration: number;
|
|
22
22
|
price: string;
|
|
23
23
|
isIos: boolean;
|
|
24
|
-
['data-
|
|
24
|
+
['data-testid']?: string;
|
|
25
25
|
}
|
|
26
26
|
declare const FooterForBooking: React.FC<FooterForBookingProps>;
|
|
27
27
|
|
|
28
28
|
interface ListButtonProps {
|
|
29
29
|
children: React.ReactNode;
|
|
30
30
|
icon: string;
|
|
31
|
-
onClick: (props?:
|
|
32
|
-
['data-
|
|
31
|
+
onClick: (props?: React.SyntheticEvent) => void;
|
|
32
|
+
['data-testid']?: string;
|
|
33
33
|
}
|
|
34
34
|
declare const ListButton: React.FC<ListButtonProps>;
|
|
35
35
|
|
|
36
36
|
interface NavigationBarProps {
|
|
37
37
|
isInternetConnected: boolean;
|
|
38
|
-
children?: ReactNode
|
|
38
|
+
children?: ReactNode;
|
|
39
39
|
isIos: boolean;
|
|
40
40
|
}
|
|
41
41
|
declare const NavigationBar: React.FC<NavigationBarProps>;
|
|
@@ -43,19 +43,19 @@ declare const NavigationBar: React.FC<NavigationBarProps>;
|
|
|
43
43
|
interface TabBarProps {
|
|
44
44
|
isIos: boolean;
|
|
45
45
|
children: ReactNode;
|
|
46
|
-
['data-
|
|
46
|
+
['data-testid']?: string;
|
|
47
47
|
}
|
|
48
48
|
declare const TabBar: React.FC<TabBarProps>;
|
|
49
49
|
|
|
50
50
|
interface ConsultationCardProps {
|
|
51
|
-
startConsultation: (props?:
|
|
52
|
-
handleReschedule: (props?:
|
|
53
|
-
handleRefund: (props?:
|
|
51
|
+
startConsultation: (props?: React.SyntheticEvent) => void;
|
|
52
|
+
handleReschedule: (props?: React.SyntheticEvent) => void;
|
|
53
|
+
handleRefund: (props?: React.SyntheticEvent) => void;
|
|
54
54
|
consultationWith: string;
|
|
55
55
|
day: string;
|
|
56
56
|
time: string;
|
|
57
57
|
avatar: string;
|
|
58
|
-
['data-
|
|
58
|
+
['data-testid']?: string;
|
|
59
59
|
}
|
|
60
60
|
declare const ConsultationCard: React.FC<ConsultationCardProps>;
|
|
61
61
|
|
|
@@ -69,7 +69,7 @@ interface ContentCardProps {
|
|
|
69
69
|
photoURL: string;
|
|
70
70
|
title: string;
|
|
71
71
|
};
|
|
72
|
-
['data-
|
|
72
|
+
['data-testid']?: string;
|
|
73
73
|
}
|
|
74
74
|
declare const ContentCard: React.FC<ContentCardProps>;
|
|
75
75
|
|
|
@@ -81,8 +81,8 @@ interface TherapistCardProps {
|
|
|
81
81
|
psychologistPrice: number;
|
|
82
82
|
psychologistDuration: number;
|
|
83
83
|
psychologistExperience: number;
|
|
84
|
-
handleClick: (props?:
|
|
85
|
-
|
|
84
|
+
handleClick: (props?: React.SyntheticEvent) => void;
|
|
85
|
+
['data-testid']?: string;
|
|
86
86
|
}
|
|
87
87
|
declare const TherapistCard: React.FC<TherapistCardProps>;
|
|
88
88
|
|
|
@@ -95,7 +95,7 @@ interface ArchivedConsultationCardProps {
|
|
|
95
95
|
nameAndSurname: string;
|
|
96
96
|
date: string;
|
|
97
97
|
avatar: string;
|
|
98
|
-
['data-
|
|
98
|
+
['data-testid']?: string;
|
|
99
99
|
}
|
|
100
100
|
declare const ArchivedConsultationCard: React.FC<ArchivedConsultationCardProps>;
|
|
101
101
|
|
|
@@ -106,8 +106,8 @@ interface DatePickerProps {
|
|
|
106
106
|
date?: string;
|
|
107
107
|
month?: string;
|
|
108
108
|
isActive: boolean;
|
|
109
|
-
onClick: (props?:
|
|
110
|
-
['data-
|
|
109
|
+
onClick: (props?: React.SyntheticEvent) => void;
|
|
110
|
+
['data-testid']?: string;
|
|
111
111
|
}
|
|
112
112
|
declare const DatePicker: React.FC<DatePickerProps>;
|
|
113
113
|
|
|
@@ -122,7 +122,7 @@ interface TherapistInformationComponentProps {
|
|
|
122
122
|
experience: string;
|
|
123
123
|
duration: string;
|
|
124
124
|
price: string;
|
|
125
|
-
['data-
|
|
125
|
+
['data-testid']?: string;
|
|
126
126
|
}
|
|
127
127
|
declare const TherapistInformationComponent: React.FC<TherapistInformationComponentProps>;
|
|
128
128
|
|
|
@@ -132,8 +132,8 @@ interface InputProps {
|
|
|
132
132
|
type: 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'time' | 'week' | 'month' | 'datetime-local';
|
|
133
133
|
placeholder: string;
|
|
134
134
|
value: string;
|
|
135
|
-
['data-
|
|
136
|
-
onIonChange: (e:
|
|
135
|
+
['data-testid']?: string;
|
|
136
|
+
onIonChange: (e: CustomEvent) => void;
|
|
137
137
|
icon: string;
|
|
138
138
|
}
|
|
139
139
|
declare const Input: React.FC<InputProps>;
|