@mindly/ui-components 0.1.15 → 0.1.16
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 +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +4 -1
- package/dist/cjs/types/lib/consultation-card/consultationCard.d.ts +2 -2
- package/dist/cjs/types/lib/content-card/contentCard.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +4 -1
- package/dist/esm/types/lib/consultation-card/consultationCard.d.ts +2 -2
- package/dist/esm/types/lib/content-card/contentCard.d.ts +2 -2
- package/dist/index.d.ts +36 -1
- package/package.json +2 -1
|
@@ -4,4 +4,7 @@ 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
6
|
import TabBar from './lib/tab-bar/tabBar';
|
|
7
|
-
|
|
7
|
+
import ConsultationCard from './lib/consultation-card/consultationCard';
|
|
8
|
+
import TherapistCard from './lib/therapist-card/TherapistCard';
|
|
9
|
+
import ContentCard from './lib/content-card/contentCard';
|
|
10
|
+
export { Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, TabBar, ConsultationCard, TherapistCard, ContentCard, };
|
package/dist/index.d.ts
CHANGED
|
@@ -34,4 +34,39 @@ declare const NavigationBar: React.FC<NavigationBar>;
|
|
|
34
34
|
|
|
35
35
|
declare const TabBar: React.FC;
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
interface ConsultationCardProps {
|
|
38
|
+
startConsultation: () => void;
|
|
39
|
+
handlePurchase: () => void;
|
|
40
|
+
handleRefund: () => void;
|
|
41
|
+
consultationWith: string;
|
|
42
|
+
time: string;
|
|
43
|
+
avatar: string;
|
|
44
|
+
}
|
|
45
|
+
declare const ConsultationCard: React.FC<ConsultationCardProps>;
|
|
46
|
+
|
|
47
|
+
interface TherapistCardProps {
|
|
48
|
+
psychologistName: string;
|
|
49
|
+
psychologistLastName: string;
|
|
50
|
+
psychologistType: string;
|
|
51
|
+
psychologistPhoto: string;
|
|
52
|
+
psychologistPrice: number;
|
|
53
|
+
psychologistDuration: number;
|
|
54
|
+
psychologistExperience: number;
|
|
55
|
+
handleClick: React.MouseEventHandler;
|
|
56
|
+
}
|
|
57
|
+
declare const TherapistCard: React.FC<TherapistCardProps>;
|
|
58
|
+
|
|
59
|
+
interface ContentCardProps {
|
|
60
|
+
contentVideo?: {
|
|
61
|
+
title: string;
|
|
62
|
+
url: string;
|
|
63
|
+
};
|
|
64
|
+
contentArticle?: {
|
|
65
|
+
link: string;
|
|
66
|
+
photoURL: string;
|
|
67
|
+
title: string;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
declare const ContentCard: React.FC<ContentCardProps>;
|
|
71
|
+
|
|
72
|
+
export { Button, ConsultationCard, ContentCard, FloatingButton, FooterForBooking, ListButton, NavigationBar, TabBar, TherapistCard };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindly/ui-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"private": false,
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@babel/polyfill": "^7.12.1",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"main": "dist/cjs/index.js",
|
|
56
56
|
"module": "dist/esm/index.js",
|
|
57
|
+
"typings": "dist/index.d.ts",
|
|
57
58
|
"babel": {
|
|
58
59
|
"presets": [
|
|
59
60
|
[
|