medos-sdk 1.1.10 → 1.1.12
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/client/MedosClient.d.ts +1 -0
- package/dist/client/MedosClient.js +8 -1
- package/dist/components/AppointmentCalender.js +19 -22
- package/dist/components/AppointmentConfirmationStep.d.ts +1 -0
- package/dist/components/AppointmentConfirmationStep.js +34 -42
- package/dist/components/AppointmentDateTimeModal.d.ts +1 -0
- package/dist/components/AppointmentDateTimeModal.js +201 -168
- package/dist/components/AppointmentSummaryStep.d.ts +12 -0
- package/dist/components/AppointmentSummaryStep.js +168 -0
- package/dist/components/BookingOptionStep.d.ts +14 -0
- package/dist/components/BookingOptionStep.js +346 -0
- package/dist/components/ContactInformationStep.js +10 -4
- package/dist/components/ContactPreferenceStep.js +10 -1
- package/dist/components/DoctorSelectModal.js +105 -59
- package/dist/components/EnquiryForm.js +81 -69
- package/dist/components/Icons/CloseIcon.d.ts +9 -0
- package/dist/components/Icons/CloseIcon.js +5 -0
- package/dist/components/InquiryDetailsStep.js +5 -1
- package/dist/components/PatientDetailsStep.js +17 -12
- package/dist/components/PatientSelectionStep.d.ts +12 -0
- package/dist/components/PatientSelectionStep.js +254 -0
- package/dist/components/PhoneVerificationStep.js +1 -1
- package/dist/components/SuccessStep.js +1 -1
- package/dist/components/appointment-booking/AppointmentCalender.js +145 -67
- package/dist/components/appointment-booking/appointment-modal-styles.d.ts +272 -0
- package/dist/components/appointment-booking/appointment-modal-styles.js +419 -0
- package/dist/components/appointment-booking/components/AppointmentConfirmationStep.d.ts +28 -0
- package/dist/components/appointment-booking/components/AppointmentConfirmationStep.js +107 -0
- package/dist/components/appointment-booking/components/AppointmentDateTimeModal.d.ts +18 -0
- package/dist/components/appointment-booking/components/AppointmentDateTimeModal.js +306 -0
- package/dist/components/appointment-booking/components/AppointmentSummaryStep.d.ts +12 -0
- package/dist/components/appointment-booking/components/AppointmentSummaryStep.js +194 -0
- package/dist/components/appointment-booking/components/BookingOptionStep.d.ts +14 -0
- package/dist/components/appointment-booking/components/BookingOptionStep.js +350 -0
- package/dist/components/appointment-booking/components/DoctorSelectModal.d.ts +14 -0
- package/dist/components/appointment-booking/components/DoctorSelectModal.js +213 -0
- package/dist/components/appointment-booking/components/PatientDetailsStep.d.ts +3 -0
- package/dist/components/appointment-booking/components/PatientDetailsStep.js +96 -0
- package/dist/components/appointment-booking/components/PatientSelectionStep.d.ts +12 -0
- package/dist/components/appointment-booking/components/PatientSelectionStep.js +254 -0
- package/dist/components/appointment-booking/components/PhoneVerificationStep.d.ts +3 -0
- package/dist/components/appointment-booking/components/PhoneVerificationStep.js +49 -0
- package/dist/components/appointment-booking/components/SuccessStep.d.ts +5 -0
- package/dist/components/appointment-booking/components/SuccessStep.js +9 -0
- package/dist/components/appointment-booking/components/index.d.ts +9 -0
- package/dist/components/appointment-booking/components/index.js +9 -0
- package/dist/components/appointment-booking/hooks/useAppointmentFlow.d.ts +0 -1
- package/dist/components/appointment-booking/hooks/useAppointmentFlow.js +111 -25
- package/dist/components/appointment-booking/hooks/useAppointmentState.js +32 -0
- package/dist/components/appointment-booking/hooks/useInitializeAddresses.js +0 -1
- package/dist/components/appointment-booking/index.d.ts +2 -4
- package/dist/components/appointment-booking/index.js +2 -2
- package/dist/components/appointment-booking/types.d.ts +167 -0
- package/dist/components/appointment-booking/types.js +16 -0
- package/dist/components/appointment-modal-styles.d.ts +259 -0
- package/dist/components/appointment-modal-styles.js +395 -0
- package/dist/components/constant.d.ts +2 -0
- package/dist/components/constant.js +15 -0
- package/dist/components/constants/constant.d.ts +2 -0
- package/dist/components/constants/constant.js +15 -0
- package/dist/components/constants/index.d.ts +3 -0
- package/dist/components/constants/index.js +24 -0
- package/dist/components/constants/options.d.ts +13 -0
- package/dist/components/constants/options.js +35 -0
- package/dist/components/constants/validation.d.ts +6 -0
- package/dist/components/constants/validation.js +16 -0
- package/dist/components/custom-calendar.js +20 -11
- package/dist/components/enquiry-form/EnquiryForm.d.ts +7 -0
- package/dist/components/enquiry-form/EnquiryForm.js +238 -0
- package/dist/components/enquiry-form/components/ContactInformationStep.d.ts +13 -0
- package/dist/components/enquiry-form/components/ContactInformationStep.js +21 -0
- package/dist/components/enquiry-form/components/ContactPreferenceStep.d.ts +9 -0
- package/dist/components/enquiry-form/components/ContactPreferenceStep.js +20 -0
- package/dist/components/enquiry-form/components/InquiryDetailsStep.d.ts +10 -0
- package/dist/components/enquiry-form/components/InquiryDetailsStep.js +20 -0
- package/dist/components/enquiry-form/components/index.d.ts +3 -0
- package/dist/components/enquiry-form/components/index.js +3 -0
- package/dist/components/enquiry-form/index.d.ts +2 -0
- package/dist/components/enquiry-form/index.js +2 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.js +7 -0
- package/dist/components/shared/icons/Check.d.ts +6 -0
- package/dist/components/shared/icons/Check.js +2 -0
- package/dist/components/shared/icons/ChevronDownIcon.d.ts +4 -0
- package/dist/components/shared/icons/ChevronDownIcon.js +2 -0
- package/dist/components/shared/icons/ChevronLeft.d.ts +3 -0
- package/dist/components/shared/icons/ChevronLeft.js +3 -0
- package/dist/components/shared/icons/ChevronRight.d.ts +3 -0
- package/dist/components/shared/icons/ChevronRight.js +3 -0
- package/dist/components/shared/icons/CloseIcon.d.ts +9 -0
- package/dist/components/shared/icons/CloseIcon.js +5 -0
- package/dist/components/shared/icons/ConfirmationCheck.d.ts +1 -0
- package/dist/components/shared/icons/ConfirmationCheck.js +9 -0
- package/dist/components/shared/icons/ConsultationType.d.ts +1 -0
- package/dist/components/shared/icons/ConsultationType.js +2 -0
- package/dist/components/shared/icons/Date&TimeIcon.d.ts +1 -0
- package/dist/components/shared/icons/Date&TimeIcon.js +2 -0
- package/dist/components/shared/icons/MapIcon.d.ts +1 -0
- package/dist/components/shared/icons/MapIcon.js +2 -0
- package/dist/components/shared/icons/MedosLogo.d.ts +3 -0
- package/dist/components/shared/icons/MedosLogo.js +3 -0
- package/dist/components/shared/icons/PaymentMethodIcon.d.ts +1 -0
- package/dist/components/shared/icons/PaymentMethodIcon.js +2 -0
- package/dist/components/shared/icons/SuccessIcon.d.ts +8 -0
- package/dist/components/shared/icons/SuccessIcon.js +14 -0
- package/dist/components/shared/icons/UserIcon.d.ts +1 -0
- package/dist/components/shared/icons/UserIcon.js +2 -0
- package/dist/components/shared/icons/index.d.ts +13 -0
- package/dist/components/shared/icons/index.js +13 -0
- package/dist/components/shared/index.d.ts +2 -0
- package/dist/components/shared/index.js +2 -0
- package/dist/components/shared/ui/Calendar.d.ts +5 -0
- package/dist/components/shared/ui/Calendar.js +167 -0
- package/dist/components/shared/ui/SelectDropdown.d.ts +41 -0
- package/dist/components/shared/ui/SelectDropdown.js +301 -0
- package/dist/components/shared/ui/index.d.ts +2 -0
- package/dist/components/shared/ui/index.js +2 -0
- package/dist/components/styles/appointment.d.ts +4 -0
- package/dist/components/styles/appointment.js +220 -0
- package/dist/components/styles/enquiry.d.ts +2 -0
- package/dist/components/styles/enquiry.js +3 -0
- package/dist/components/styles/index.d.ts +2 -0
- package/dist/components/styles/index.js +2 -0
- package/dist/components/styles/shared.d.ts +3 -0
- package/dist/components/styles/shared.js +78 -0
- package/dist/components/styles.d.ts +1 -6
- package/dist/components/styles.js +1 -257
- package/dist/components/theme-styles.d.ts +5 -4
- package/dist/components/theme-styles.js +239 -125
- package/dist/components/types/appointment.d.ts +42 -0
- package/dist/components/types/appointment.js +1 -0
- package/dist/components/types/common.d.ts +24 -0
- package/dist/components/types/common.js +1 -0
- package/dist/components/types/enquiry.d.ts +59 -0
- package/dist/components/types/enquiry.js +1 -0
- package/dist/components/types/index.d.ts +4 -0
- package/dist/components/types/index.js +4 -0
- package/dist/components/types.d.ts +1 -52
- package/dist/components/types.js +1 -23
- package/dist/components/utils/date.d.ts +4 -0
- package/dist/components/utils/date.js +65 -0
- package/dist/components/utils/formatting.d.ts +4 -0
- package/dist/components/utils/formatting.js +9 -0
- package/dist/components/utils/index.d.ts +3 -0
- package/dist/components/utils/index.js +3 -0
- package/dist/components/utils/validation.d.ts +4 -0
- package/dist/components/utils/validation.js +37 -0
- package/dist/components/utils.d.ts +1 -5
- package/dist/components/utils.js +1 -15
- package/dist/components/validation.d.ts +1 -2
- package/dist/components/validation.js +1 -7
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/core/theme/index.d.ts +1 -0
- package/dist/core/theme/index.js +1 -0
- package/dist/core/theme/responsive.d.ts +15 -0
- package/dist/core/theme/responsive.js +113 -0
- package/dist/core/theme/themes.js +16 -4
- package/dist/core/theme/types.d.ts +8 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +2 -1
- package/dist/react/ThemeProvider.d.ts +2 -1
- package/dist/react/ThemeProvider.js +49 -10
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +1 -1
- package/dist/services/AppointmentService.d.ts +80 -2
- package/dist/services/AppointmentService.js +131 -5
- package/dist/services/AuthService.js +1 -1
- package/dist/services/WorkspaceService.d.ts +58 -3
- package/dist/services/WorkspaceService.js +10 -1
- package/dist/vanilla/AppointmentCalendarWidget.d.ts +17 -7
- package/dist/vanilla/AppointmentCalendarWidget.js +1401 -380
- package/dist/vanilla/EnquiryFormWidget.d.ts +1 -0
- package/dist/vanilla/EnquiryFormWidget.js +25 -43
- package/dist/vanilla/client/MedosClient.d.ts +1 -0
- package/dist/vanilla/components/AppointmentConfirmationStep.d.ts +1 -0
- package/dist/vanilla/components/AppointmentDateTimeModal.d.ts +1 -0
- package/dist/vanilla/components/AppointmentSummaryStep.d.ts +12 -0
- package/dist/vanilla/components/BookingOptionStep.d.ts +14 -0
- package/dist/vanilla/components/Icons/CloseIcon.d.ts +9 -0
- package/dist/vanilla/components/PatientSelectionStep.d.ts +12 -0
- package/dist/vanilla/components/VanillaCalendar.js +33 -18
- package/dist/vanilla/components/VanillaIcons.d.ts +5 -0
- package/dist/vanilla/components/VanillaIcons.js +92 -0
- package/dist/vanilla/components/VanillaSelect.d.ts +3 -0
- package/dist/vanilla/components/VanillaSelect.js +93 -5
- package/dist/vanilla/components/appointment-booking/appointment-modal-styles.d.ts +272 -0
- package/dist/vanilla/components/appointment-booking/components/AppointmentConfirmationStep.d.ts +28 -0
- package/dist/vanilla/components/appointment-booking/components/AppointmentDateTimeModal.d.ts +18 -0
- package/dist/vanilla/components/appointment-booking/components/AppointmentSummaryStep.d.ts +12 -0
- package/dist/vanilla/components/appointment-booking/components/BookingOptionStep.d.ts +14 -0
- package/dist/vanilla/components/appointment-booking/components/DoctorSelectModal.d.ts +14 -0
- package/dist/vanilla/components/appointment-booking/components/PatientDetailsStep.d.ts +3 -0
- package/dist/vanilla/components/appointment-booking/components/PatientSelectionStep.d.ts +12 -0
- package/dist/vanilla/components/appointment-booking/components/PhoneVerificationStep.d.ts +3 -0
- package/dist/vanilla/components/appointment-booking/components/SuccessStep.d.ts +5 -0
- package/dist/vanilla/components/appointment-booking/components/index.d.ts +9 -0
- package/dist/vanilla/components/appointment-booking/hooks/useAppointmentFlow.d.ts +0 -1
- package/dist/vanilla/components/appointment-booking/index.d.ts +2 -4
- package/dist/vanilla/components/appointment-booking/types.d.ts +167 -0
- package/dist/vanilla/components/appointment-modal-styles.d.ts +259 -0
- package/dist/vanilla/components/constant.d.ts +2 -0
- package/dist/vanilla/components/constants/constant.d.ts +2 -0
- package/dist/vanilla/components/constants/index.d.ts +3 -0
- package/dist/vanilla/components/constants/options.d.ts +13 -0
- package/dist/vanilla/components/constants/validation.d.ts +6 -0
- package/dist/vanilla/components/enquiry-form/EnquiryForm.d.ts +7 -0
- package/dist/vanilla/components/enquiry-form/components/ContactInformationStep.d.ts +13 -0
- package/dist/vanilla/components/enquiry-form/components/ContactPreferenceStep.d.ts +9 -0
- package/dist/vanilla/components/enquiry-form/components/InquiryDetailsStep.d.ts +10 -0
- package/dist/vanilla/components/enquiry-form/components/index.d.ts +3 -0
- package/dist/vanilla/components/enquiry-form/index.d.ts +2 -0
- package/dist/vanilla/components/index.d.ts +7 -3
- package/dist/vanilla/components/shared/icons/Check.d.ts +6 -0
- package/dist/vanilla/components/shared/icons/ChevronDownIcon.d.ts +4 -0
- package/dist/vanilla/components/shared/icons/ChevronLeft.d.ts +3 -0
- package/dist/vanilla/components/shared/icons/ChevronRight.d.ts +3 -0
- package/dist/vanilla/components/shared/icons/CloseIcon.d.ts +9 -0
- package/dist/vanilla/components/shared/icons/ConfirmationCheck.d.ts +1 -0
- package/dist/vanilla/components/shared/icons/ConsultationType.d.ts +1 -0
- package/dist/vanilla/components/shared/icons/Date&TimeIcon.d.ts +1 -0
- package/dist/vanilla/components/shared/icons/MapIcon.d.ts +1 -0
- package/dist/vanilla/components/shared/icons/MedosLogo.d.ts +3 -0
- package/dist/vanilla/components/shared/icons/PaymentMethodIcon.d.ts +1 -0
- package/dist/vanilla/components/shared/icons/SuccessIcon.d.ts +8 -0
- package/dist/vanilla/components/shared/icons/UserIcon.d.ts +1 -0
- package/dist/vanilla/components/shared/icons/index.d.ts +13 -0
- package/dist/vanilla/components/shared/index.d.ts +2 -0
- package/dist/vanilla/components/shared/ui/Calendar.d.ts +5 -0
- package/dist/vanilla/components/shared/ui/SelectDropdown.d.ts +41 -0
- package/dist/vanilla/components/shared/ui/index.d.ts +2 -0
- package/dist/vanilla/components/styles/appointment.d.ts +4 -0
- package/dist/vanilla/components/styles/enquiry.d.ts +2 -0
- package/dist/vanilla/components/styles/index.d.ts +2 -0
- package/dist/vanilla/components/styles/shared.d.ts +3 -0
- package/dist/vanilla/components/styles.d.ts +1 -6
- package/dist/vanilla/components/theme-styles.d.ts +5 -4
- package/dist/vanilla/components/types/appointment.d.ts +42 -0
- package/dist/vanilla/components/types/common.d.ts +24 -0
- package/dist/vanilla/components/types/enquiry.d.ts +59 -0
- package/dist/vanilla/components/types/index.d.ts +4 -0
- package/dist/vanilla/components/types.d.ts +1 -52
- package/dist/vanilla/components/utils/date.d.ts +4 -0
- package/dist/vanilla/components/utils/formatting.d.ts +4 -0
- package/dist/vanilla/components/utils/index.d.ts +3 -0
- package/dist/vanilla/components/utils/validation.d.ts +4 -0
- package/dist/vanilla/components/utils.d.ts +1 -5
- package/dist/vanilla/components/validation.d.ts +1 -2
- package/dist/vanilla/constants/index.d.ts +1 -1
- package/dist/vanilla/core/theme/index.d.ts +1 -0
- package/dist/vanilla/core/theme/responsive.d.ts +15 -0
- package/dist/vanilla/core/theme/types.d.ts +8 -0
- package/dist/vanilla/enquiry-widget.js +3632 -90
- package/dist/vanilla/index.d.ts +4 -2
- package/dist/vanilla/react/ThemeProvider.d.ts +2 -1
- package/dist/vanilla/react/index.d.ts +3 -3
- package/dist/vanilla/services/AppointmentService.d.ts +80 -2
- package/dist/vanilla/services/WorkspaceService.d.ts +58 -3
- package/dist/vanilla/vanilla/AppointmentCalendarWidget.d.ts +17 -7
- package/dist/vanilla/vanilla/EnquiryFormWidget.d.ts +1 -0
- package/dist/vanilla/vanilla/components/VanillaIcons.d.ts +5 -0
- package/dist/vanilla/vanilla/components/VanillaSelect.d.ts +3 -0
- package/dist/vanilla/widget.css +1045 -205
- package/dist/vanilla/widget.js +10365 -5737
- package/package.json +2 -2
|
@@ -1,257 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
container: {
|
|
3
|
-
display: "flex",
|
|
4
|
-
justifyContent: "center",
|
|
5
|
-
padding: 20,
|
|
6
|
-
fontFamily: "'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial",
|
|
7
|
-
background: "#f6f8fa",
|
|
8
|
-
},
|
|
9
|
-
card: {
|
|
10
|
-
width: "100%",
|
|
11
|
-
maxWidth: 720,
|
|
12
|
-
background: "#fff",
|
|
13
|
-
borderRadius: 12,
|
|
14
|
-
boxShadow: "0 8px 24px rgba(16,24,40,0.08)",
|
|
15
|
-
padding: 24,
|
|
16
|
-
boxSizing: "border-box",
|
|
17
|
-
},
|
|
18
|
-
header: {
|
|
19
|
-
display: "flex",
|
|
20
|
-
alignItems: "center",
|
|
21
|
-
justifyContent: "space-between",
|
|
22
|
-
marginBottom: 16,
|
|
23
|
-
},
|
|
24
|
-
title: {
|
|
25
|
-
marginLeft: 10,
|
|
26
|
-
fontSize: 20,
|
|
27
|
-
fontWeight: 600,
|
|
28
|
-
},
|
|
29
|
-
section: { marginTop: 12 },
|
|
30
|
-
errorMessage: {
|
|
31
|
-
marginBottom: 12,
|
|
32
|
-
color: "#ef4444",
|
|
33
|
-
fontWeight: 600,
|
|
34
|
-
},
|
|
35
|
-
actions: {
|
|
36
|
-
display: "flex",
|
|
37
|
-
gap: 8,
|
|
38
|
-
marginTop: 16,
|
|
39
|
-
justifyContent: "flex-end",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
export const BUTTON_STYLES = {
|
|
43
|
-
primary: {
|
|
44
|
-
background: "#218838",
|
|
45
|
-
color: "#fff",
|
|
46
|
-
border: "none",
|
|
47
|
-
padding: "10px 14px",
|
|
48
|
-
borderRadius: 8,
|
|
49
|
-
cursor: "pointer",
|
|
50
|
-
fontWeight: 600,
|
|
51
|
-
},
|
|
52
|
-
secondary: {
|
|
53
|
-
background: "#fff",
|
|
54
|
-
color: "#218838",
|
|
55
|
-
border: "1px solid #218838",
|
|
56
|
-
padding: "10px 14px",
|
|
57
|
-
borderRadius: 8,
|
|
58
|
-
cursor: "pointer",
|
|
59
|
-
},
|
|
60
|
-
};
|
|
61
|
-
export const PHONE_VERIFY_STYLES = {
|
|
62
|
-
container: {
|
|
63
|
-
border: "1px solid #e5e7eb",
|
|
64
|
-
borderRadius: 12,
|
|
65
|
-
overflow: "hidden",
|
|
66
|
-
backgroundColor: "#fff",
|
|
67
|
-
},
|
|
68
|
-
header: {
|
|
69
|
-
padding: "16px 24px",
|
|
70
|
-
borderBottom: "1px solid #e5e7eb",
|
|
71
|
-
backgroundColor: "#f9fafb",
|
|
72
|
-
},
|
|
73
|
-
title: {
|
|
74
|
-
margin: 0,
|
|
75
|
-
fontSize: 18,
|
|
76
|
-
fontWeight: 600,
|
|
77
|
-
color: "#111827",
|
|
78
|
-
},
|
|
79
|
-
content: { padding: "24px" },
|
|
80
|
-
label: {
|
|
81
|
-
display: "block",
|
|
82
|
-
fontSize: 14,
|
|
83
|
-
fontWeight: 500,
|
|
84
|
-
color: "#111827",
|
|
85
|
-
marginBottom: 8,
|
|
86
|
-
},
|
|
87
|
-
phoneInputContainer: { display: "flex", gap: 8 },
|
|
88
|
-
phoneInput: {
|
|
89
|
-
flex: 1,
|
|
90
|
-
padding: "10px 12px",
|
|
91
|
-
borderRadius: 8,
|
|
92
|
-
border: "1px solid #e6e9ef",
|
|
93
|
-
fontSize: 14,
|
|
94
|
-
outline: "none",
|
|
95
|
-
color: "#111827",
|
|
96
|
-
boxSizing: "border-box",
|
|
97
|
-
},
|
|
98
|
-
phoneDisplay: {
|
|
99
|
-
padding: "10px 12px",
|
|
100
|
-
background: "#f9fafb",
|
|
101
|
-
borderRadius: 8,
|
|
102
|
-
fontSize: 14,
|
|
103
|
-
color: "#374151",
|
|
104
|
-
fontWeight: 500,
|
|
105
|
-
},
|
|
106
|
-
otpInput: {
|
|
107
|
-
width: "100%",
|
|
108
|
-
padding: "10px 12px",
|
|
109
|
-
border: "1px solid #d1d5db",
|
|
110
|
-
borderRadius: 8,
|
|
111
|
-
fontSize: 14,
|
|
112
|
-
outline: "none",
|
|
113
|
-
color: "#111827",
|
|
114
|
-
boxSizing: "border-box",
|
|
115
|
-
},
|
|
116
|
-
otpHint: {
|
|
117
|
-
marginTop: 8,
|
|
118
|
-
fontSize: 12,
|
|
119
|
-
color: "#6b7280",
|
|
120
|
-
},
|
|
121
|
-
successMessage: {
|
|
122
|
-
marginTop: 20,
|
|
123
|
-
padding: 16,
|
|
124
|
-
borderRadius: 8,
|
|
125
|
-
backgroundColor: "#F6FBF6",
|
|
126
|
-
border: "1px solid #218838",
|
|
127
|
-
display: "flex",
|
|
128
|
-
alignItems: "center",
|
|
129
|
-
gap: 12,
|
|
130
|
-
},
|
|
131
|
-
successIcon: { fontSize: 24, color: "#218838" },
|
|
132
|
-
successTitle: {
|
|
133
|
-
fontSize: 14,
|
|
134
|
-
fontWeight: 600,
|
|
135
|
-
color: "#218838",
|
|
136
|
-
},
|
|
137
|
-
successSubtitle: {
|
|
138
|
-
fontSize: 12,
|
|
139
|
-
color: "#6B7280",
|
|
140
|
-
marginTop: 2,
|
|
141
|
-
},
|
|
142
|
-
footer: {
|
|
143
|
-
padding: "16px 24px",
|
|
144
|
-
borderTop: "1px solid #e5e7eb",
|
|
145
|
-
backgroundColor: "#fff",
|
|
146
|
-
display: "flex",
|
|
147
|
-
gap: 12,
|
|
148
|
-
justifyContent: "flex-end",
|
|
149
|
-
},
|
|
150
|
-
};
|
|
151
|
-
export const PATIENT_DETAILS_STYLES = {
|
|
152
|
-
sectionCard: {
|
|
153
|
-
border: "1px solid #E5E7EB",
|
|
154
|
-
borderRadius: "12px",
|
|
155
|
-
marginBottom: "24px",
|
|
156
|
-
},
|
|
157
|
-
sectionHeader: {
|
|
158
|
-
backgroundColor: "#F9FAFB",
|
|
159
|
-
padding: "16px 20px",
|
|
160
|
-
display: "flex",
|
|
161
|
-
alignItems: "center",
|
|
162
|
-
gap: "12px",
|
|
163
|
-
borderBottom: "1px solid #E5E7EB",
|
|
164
|
-
},
|
|
165
|
-
sectionTitle: {
|
|
166
|
-
fontSize: "18px",
|
|
167
|
-
fontWeight: 600,
|
|
168
|
-
margin: 0,
|
|
169
|
-
},
|
|
170
|
-
sectionBody: { padding: "24px" },
|
|
171
|
-
gridRow: {
|
|
172
|
-
display: "grid",
|
|
173
|
-
gridTemplateColumns: "1fr 1fr",
|
|
174
|
-
gap: "20px",
|
|
175
|
-
marginTop: "20px",
|
|
176
|
-
},
|
|
177
|
-
label: {
|
|
178
|
-
display: "block",
|
|
179
|
-
fontSize: 13,
|
|
180
|
-
marginBottom: 6,
|
|
181
|
-
color: "#374151",
|
|
182
|
-
},
|
|
183
|
-
input: {
|
|
184
|
-
width: "100%",
|
|
185
|
-
padding: "10px 12px",
|
|
186
|
-
borderRadius: 8,
|
|
187
|
-
border: "1px solid #e6e9ef",
|
|
188
|
-
outline: "none",
|
|
189
|
-
fontSize: 14,
|
|
190
|
-
boxSizing: "border-box",
|
|
191
|
-
},
|
|
192
|
-
phoneDisplay: { display: "flex", gap: "8px" },
|
|
193
|
-
phoneCode: {
|
|
194
|
-
width: "100px",
|
|
195
|
-
padding: "10px 12px",
|
|
196
|
-
borderRadius: 8,
|
|
197
|
-
border: "1px solid #e6e9ef",
|
|
198
|
-
backgroundColor: "#F9FAFB",
|
|
199
|
-
fontSize: 14,
|
|
200
|
-
boxSizing: "border-box",
|
|
201
|
-
},
|
|
202
|
-
phoneNumber: {
|
|
203
|
-
flex: 1,
|
|
204
|
-
padding: "10px 12px",
|
|
205
|
-
borderRadius: 8,
|
|
206
|
-
border: "1px solid #e6e9ef",
|
|
207
|
-
backgroundColor: "#F9FAFB",
|
|
208
|
-
fontSize: 14,
|
|
209
|
-
boxSizing: "border-box",
|
|
210
|
-
},
|
|
211
|
-
};
|
|
212
|
-
export const SUCCESS_STYLES = {
|
|
213
|
-
container: {
|
|
214
|
-
display: "flex",
|
|
215
|
-
flexDirection: "column",
|
|
216
|
-
height: "100%",
|
|
217
|
-
},
|
|
218
|
-
header: {
|
|
219
|
-
marginTop: "-16px",
|
|
220
|
-
alignItems: "center",
|
|
221
|
-
textAlign: "center",
|
|
222
|
-
color: "#27903F",
|
|
223
|
-
fontWeight: 800,
|
|
224
|
-
fontSize: "18px",
|
|
225
|
-
marginBottom: "20px",
|
|
226
|
-
},
|
|
227
|
-
iconContainer: {
|
|
228
|
-
display: "flex",
|
|
229
|
-
alignItems: "center",
|
|
230
|
-
justifyContent: "center",
|
|
231
|
-
padding: "12px 0",
|
|
232
|
-
},
|
|
233
|
-
detailsContainer: {
|
|
234
|
-
display: "flex",
|
|
235
|
-
flexDirection: "column",
|
|
236
|
-
alignItems: "center",
|
|
237
|
-
gap: "12px",
|
|
238
|
-
textAlign: "center",
|
|
239
|
-
color: "#27903F",
|
|
240
|
-
},
|
|
241
|
-
detailsTitle: { fontWeight: 600, fontSize: "16px" },
|
|
242
|
-
detailsList: {
|
|
243
|
-
display: "flex",
|
|
244
|
-
flexDirection: "column",
|
|
245
|
-
gap: "4px",
|
|
246
|
-
fontSize: "14px",
|
|
247
|
-
width: "100%",
|
|
248
|
-
maxWidth: "28rem",
|
|
249
|
-
textAlign: "center",
|
|
250
|
-
},
|
|
251
|
-
confirmationNote: {
|
|
252
|
-
marginTop: "8px",
|
|
253
|
-
fontSize: "12px",
|
|
254
|
-
color: "#6B7280",
|
|
255
|
-
},
|
|
256
|
-
actionContainer: { marginTop: "24px" },
|
|
257
|
-
};
|
|
1
|
+
export * from "./styles";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { MedosTheme } from "../core/theme/types";
|
|
3
|
-
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
6
|
-
export declare function
|
|
3
|
+
import { Breakpoint } from "../core/theme/responsive";
|
|
4
|
+
export declare function getContainerStyles(theme: MedosTheme, prefix?: string, breakpoint?: Breakpoint): Record<string, React.CSSProperties>;
|
|
5
|
+
export declare function getButtonStyles(theme: MedosTheme, prefix?: string, breakpoint?: Breakpoint): Record<string, React.CSSProperties>;
|
|
6
|
+
export declare function getPhoneVerifyStyles(theme: MedosTheme, prefix?: string, breakpoint?: Breakpoint): Record<string, React.CSSProperties>;
|
|
7
|
+
export declare function getPatientDetailsStyles(theme: MedosTheme, prefix?: string, breakpoint?: Breakpoint): Record<string, React.CSSProperties>;
|
|
7
8
|
export declare function getSuccessStyles(theme: MedosTheme, prefix?: string): Record<string, React.CSSProperties>;
|
|
8
9
|
export declare const CONTAINER_STYLES: Record<string, React.CSSProperties>;
|
|
9
10
|
export declare const BUTTON_STYLES: Record<string, React.CSSProperties>;
|