vorqard-ai-sdk 1.0.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.
@@ -0,0 +1,759 @@
1
+ import { StyleSheet, Dimensions } from 'react-native';
2
+
3
+ const { width: SCREEN_WIDTH } = Dimensions.get('window');
4
+
5
+ export const styles = StyleSheet.create({
6
+ // ── Bubble ────────────────────────────────────────────────────────────────
7
+ bubbleContainer: {
8
+ flexDirection: 'row',
9
+ alignItems: 'flex-end',
10
+ marginVertical: 6,
11
+ paddingHorizontal: 14,
12
+ gap: 10,
13
+ },
14
+ userAlign: { justifyContent: 'flex-end' },
15
+ assistantAlign: { justifyContent: 'flex-start' },
16
+
17
+ avatarImage: {
18
+ width: 36,
19
+ height: 36,
20
+ borderRadius: 18,
21
+ },
22
+ avatarFallback: {
23
+ width: 36,
24
+ height: 36,
25
+ borderRadius: 18,
26
+ backgroundColor: '#6366F1',
27
+ justifyContent: 'center',
28
+ alignItems: 'center',
29
+ },
30
+ bubble: {
31
+ maxWidth: SCREEN_WIDTH * 0.76,
32
+ paddingHorizontal: 16,
33
+ paddingVertical: 12,
34
+ borderRadius: 20,
35
+ },
36
+ userBubble: { borderBottomRightRadius: 4 },
37
+ assistantBubble: {
38
+ backgroundColor: '#FFFFFF',
39
+ borderBottomLeftRadius: 4,
40
+ shadowColor: '#C7D2FE',
41
+ shadowOffset: { width: 0, height: 2 },
42
+ shadowOpacity: 0.2,
43
+ shadowRadius: 8,
44
+ elevation: 3,
45
+ },
46
+ userText: {
47
+ fontSize: 14,
48
+ lineHeight: 21,
49
+ color: '#FFF',
50
+ fontWeight: '500',
51
+ },
52
+ assistantText: {
53
+ fontSize: 14,
54
+ lineHeight: 21,
55
+ color: '#1E293B',
56
+ fontWeight: '500',
57
+ },
58
+ highlightText: {
59
+ color: '#3B82F6',
60
+ fontWeight: '800',
61
+ },
62
+ userTime: {
63
+ fontSize: 9,
64
+ color: 'rgba(255,255,255,0.65)',
65
+ marginTop: 4,
66
+ alignSelf: 'flex-end',
67
+ },
68
+ assistantTime: {
69
+ fontSize: 9,
70
+ color: '#94A3B8',
71
+ marginTop: 4,
72
+ alignSelf: 'flex-end',
73
+ },
74
+
75
+ // ── Input Panel ───────────────────────────────────────────────────────────
76
+ inputOuterContainer: {
77
+ paddingHorizontal: 16,
78
+ paddingVertical: 12,
79
+ backgroundColor: 'transparent',
80
+ },
81
+ inputBorderGradient: {
82
+ borderRadius: 30,
83
+ padding: 1.5,
84
+ },
85
+ inputInner: {
86
+ flexDirection: 'row',
87
+ alignItems: 'center',
88
+ backgroundColor: '#FFFFFF',
89
+ borderRadius: 29,
90
+ paddingHorizontal: 12,
91
+ paddingVertical: 6,
92
+ gap: 6,
93
+ },
94
+ textInput: {
95
+ flex: 1,
96
+ fontSize: 14,
97
+ color: '#334155',
98
+ paddingVertical: 8,
99
+ maxHeight: 100,
100
+ },
101
+ rightIcons: {
102
+ flexDirection: 'row',
103
+ alignItems: 'center',
104
+ gap: 4,
105
+ },
106
+ iconBtn: {
107
+ width: 34,
108
+ height: 34,
109
+ justifyContent: 'center',
110
+ alignItems: 'center',
111
+ },
112
+ sendButton: {
113
+ width: 40,
114
+ height: 40,
115
+ borderRadius: 20,
116
+ justifyContent: 'center',
117
+ alignItems: 'center',
118
+ },
119
+ optionsContainer: {
120
+ marginTop: 8,
121
+ gap: 6,
122
+ width: '100%',
123
+ },
124
+ optionButton: {
125
+ backgroundColor: '#EEF2FF',
126
+ borderColor: '#C7D2FE',
127
+ borderWidth: 1,
128
+ borderRadius: 12,
129
+ paddingVertical: 10,
130
+ paddingHorizontal: 16,
131
+ alignItems: 'center',
132
+ justifyContent: 'center',
133
+ shadowColor: '#C7D2FE',
134
+ shadowOffset: { width: 0, height: 1 },
135
+ shadowOpacity: 0.1,
136
+ shadowRadius: 4,
137
+ elevation: 1,
138
+ },
139
+ optionButtonText: {
140
+ fontSize: 14,
141
+ color: '#4F46E5',
142
+ fontWeight: '600',
143
+ },
144
+
145
+ // ── Rich Card Styling (Doctor Type Selection) ─────────────────────────────
146
+ typeSelectionGrid: {
147
+ flexDirection: 'row',
148
+ marginTop: 10,
149
+ gap: 10,
150
+ width: '100%',
151
+ },
152
+ typeCard: {
153
+ flex: 1,
154
+ backgroundColor: '#FFF',
155
+ borderWidth: 1.5,
156
+ borderRadius: 18,
157
+ padding: 12,
158
+ alignItems: 'center',
159
+ elevation: 3,
160
+ shadowColor: '#93C5FD',
161
+ shadowOffset: { width: 0, height: 2 },
162
+ shadowOpacity: 0.2,
163
+ shadowRadius: 6,
164
+ },
165
+ typeCardHospital: {
166
+ borderColor: '#BFDBFE',
167
+ },
168
+ typeCardIndividual: {
169
+ borderColor: '#A7F3D0',
170
+ },
171
+ typeIconContainer: {
172
+ width: 54,
173
+ height: 54,
174
+ borderRadius: 16,
175
+ justifyContent: 'center',
176
+ alignItems: 'center',
177
+ marginBottom: 8,
178
+ },
179
+ typeTitle: {
180
+ fontSize: 12,
181
+ fontWeight: '700',
182
+ marginBottom: 4,
183
+ textAlign: 'center',
184
+ },
185
+ typeSub: {
186
+ fontSize: 9.5,
187
+ color: '#64748B',
188
+ textAlign: 'center',
189
+ lineHeight: 13,
190
+ marginBottom: 10,
191
+ },
192
+ typeArrowCircle: {
193
+ width: 24,
194
+ height: 24,
195
+ borderRadius: 12,
196
+ justifyContent: 'center',
197
+ alignItems: 'center',
198
+ marginTop: 'auto',
199
+ },
200
+
201
+ // ── Rich Card Styling (Hospital Selection List) ───────────────────────────
202
+ hospitalListContainer: {
203
+ marginTop: 8,
204
+ gap: 8,
205
+ width: '100%',
206
+ },
207
+ hospitalCard: {
208
+ flexDirection: 'row',
209
+ backgroundColor: '#FFF',
210
+ borderColor: '#E2E8F0',
211
+ borderWidth: 1,
212
+ borderRadius: 16,
213
+ padding: 12,
214
+ alignItems: 'center',
215
+ elevation: 2,
216
+ shadowColor: '#CBD5E1',
217
+ shadowOffset: { width: 0, height: 2 },
218
+ shadowOpacity: 0.15,
219
+ shadowRadius: 4,
220
+ },
221
+ hospitalLogoBox: {
222
+ width: 40,
223
+ height: 40,
224
+ borderRadius: 10,
225
+ backgroundColor: '#EFF6FF',
226
+ justifyContent: 'center',
227
+ alignItems: 'center',
228
+ overflow: 'hidden',
229
+ },
230
+ hospitalLogoImage: {
231
+ width: 40,
232
+ height: 40,
233
+ borderRadius: 10,
234
+ },
235
+ hospitalLogo: {
236
+ width: 40,
237
+ height: 40,
238
+ borderRadius: 10,
239
+ },
240
+ hospitalDetails: {
241
+ flex: 1,
242
+ marginLeft: 12,
243
+ marginRight: 6,
244
+ },
245
+ hospitalName: {
246
+ fontSize: 13,
247
+ fontWeight: '700',
248
+ color: '#1E293B',
249
+ },
250
+ hospitalAddress: {
251
+ fontSize: 11,
252
+ color: '#64748B',
253
+ marginTop: 1,
254
+ },
255
+ hospitalRatingRow: {
256
+ flexDirection: 'row',
257
+ alignItems: 'center',
258
+ marginTop: 3,
259
+ gap: 3,
260
+ },
261
+ hospitalRatingText: {
262
+ fontSize: 10.5,
263
+ fontWeight: '600',
264
+ color: '#64748B',
265
+ },
266
+ chevronRight: {
267
+ alignSelf: 'center',
268
+ },
269
+
270
+ // ── Rich Card Styling (Doctor Selection List) ─────────────────────────────
271
+ doctorListContainer: {
272
+ marginTop: 8,
273
+ gap: 8,
274
+ width: '100%',
275
+ },
276
+ doctorCard: {
277
+ flexDirection: 'row',
278
+ backgroundColor: '#FFF',
279
+ borderColor: '#E2E8F0',
280
+ borderWidth: 1,
281
+ borderRadius: 16,
282
+ padding: 10,
283
+ alignItems: 'center',
284
+ elevation: 2,
285
+ shadowColor: '#CBD5E1',
286
+ shadowOffset: { width: 0, height: 2 },
287
+ shadowOpacity: 0.15,
288
+ shadowRadius: 4,
289
+ },
290
+ doctorAvatar: {
291
+ width: 44,
292
+ height: 44,
293
+ borderRadius: 22,
294
+ backgroundColor: '#F1F5F9',
295
+ },
296
+ doctorDetails: {
297
+ flex: 1,
298
+ marginLeft: 10,
299
+ marginRight: 4,
300
+ },
301
+ doctorName: {
302
+ fontSize: 13,
303
+ fontWeight: '700',
304
+ color: '#1E293B',
305
+ },
306
+ doctorSpecialty: {
307
+ fontSize: 11,
308
+ color: '#3B82F6',
309
+ fontWeight: '600',
310
+ marginTop: 1,
311
+ },
312
+ doctorExp: {
313
+ fontSize: 10.5,
314
+ color: '#64748B',
315
+ marginTop: 1,
316
+ },
317
+ doctorRatingCol: {
318
+ alignItems: 'flex-end',
319
+ justifyContent: 'center',
320
+ marginRight: 4,
321
+ },
322
+ doctorRatingRow: {
323
+ flexDirection: 'row',
324
+ alignItems: 'center',
325
+ gap: 2,
326
+ },
327
+ doctorRatingValue: {
328
+ fontSize: 11,
329
+ fontWeight: '700',
330
+ color: '#1E293B',
331
+ },
332
+ doctorReviewsCount: {
333
+ fontSize: 9.5,
334
+ color: '#94A3B8',
335
+ marginTop: 2,
336
+ },
337
+ viewAllButton: {
338
+ flexDirection: 'row',
339
+ alignItems: 'center',
340
+ justifyContent: 'center',
341
+ paddingVertical: 10,
342
+ borderWidth: 1,
343
+ borderColor: '#E2E8F0',
344
+ borderRadius: 12,
345
+ backgroundColor: '#F8FAFC',
346
+ gap: 4,
347
+ marginTop: 2,
348
+ },
349
+ viewAllText: {
350
+ fontSize: 12,
351
+ fontWeight: '600',
352
+ color: '#4F46E5',
353
+ },
354
+
355
+ // ── Rich Card Styling (Doctor Profile Card) ───────────────────────────────
356
+ profileCard: {
357
+ marginTop: 10,
358
+ backgroundColor: '#FFF',
359
+ borderRadius: 20,
360
+ padding: 16,
361
+ borderWidth: 1,
362
+ borderColor: '#E2E8F0',
363
+ elevation: 3,
364
+ shadowColor: '#C7D2FE',
365
+ shadowOffset: { width: 0, height: 3 },
366
+ shadowOpacity: 0.2,
367
+ shadowRadius: 8,
368
+ width: '100%',
369
+ },
370
+ profileHeader: {
371
+ alignItems: 'center',
372
+ marginBottom: 14,
373
+ },
374
+ profileAvatar: {
375
+ width: 68,
376
+ height: 68,
377
+ borderRadius: 34,
378
+ backgroundColor: '#F1F5F9',
379
+ marginBottom: 8,
380
+ },
381
+ profileName: {
382
+ fontSize: 15,
383
+ fontWeight: '700',
384
+ color: '#1E293B',
385
+ },
386
+ profileTitleSub: {
387
+ fontSize: 12,
388
+ color: '#4F46E5',
389
+ fontWeight: '600',
390
+ marginTop: 2,
391
+ },
392
+ profileExperienceText: {
393
+ fontSize: 11,
394
+ color: '#64748B',
395
+ marginTop: 2,
396
+ },
397
+ badgeRow: {
398
+ flexDirection: 'row',
399
+ justifyContent: 'space-between',
400
+ backgroundColor: '#F8FAFC',
401
+ borderRadius: 14,
402
+ paddingVertical: 10,
403
+ paddingHorizontal: 12,
404
+ marginBottom: 14,
405
+ },
406
+ badgeItem: {
407
+ flex: 1,
408
+ alignItems: 'center',
409
+ gap: 1.5,
410
+ },
411
+ badgeVal: {
412
+ fontSize: 11,
413
+ fontWeight: '700',
414
+ color: '#1E293B',
415
+ },
416
+ badgeLabel: {
417
+ fontSize: 9,
418
+ color: '#94A3B8',
419
+ fontWeight: '600',
420
+ },
421
+ badgeDivider: {
422
+ width: 1,
423
+ backgroundColor: '#E2E8F0',
424
+ marginVertical: 4,
425
+ },
426
+ aboutSection: {
427
+ marginBottom: 14,
428
+ },
429
+ aboutTitle: {
430
+ fontSize: 12,
431
+ fontWeight: '700',
432
+ color: '#1E293B',
433
+ marginBottom: 4,
434
+ },
435
+ aboutBody: {
436
+ fontSize: 11,
437
+ color: '#64748B',
438
+ lineHeight: 16,
439
+ },
440
+ hospitalSection: {
441
+ marginBottom: 16,
442
+ },
443
+ profileHospitalCard: {
444
+ flexDirection: 'row',
445
+ alignItems: 'center',
446
+ backgroundColor: '#F8FAFC',
447
+ borderRadius: 12,
448
+ padding: 10,
449
+ borderWidth: 1,
450
+ borderColor: '#F1F5F9',
451
+ },
452
+ hospitalIconCircle: {
453
+ width: 32,
454
+ height: 32,
455
+ borderRadius: 10,
456
+ backgroundColor: '#EEF2FF',
457
+ justifyContent: 'center',
458
+ alignItems: 'center',
459
+ },
460
+ profileHospitalName: {
461
+ fontSize: 11.5,
462
+ fontWeight: '700',
463
+ color: '#1E293B',
464
+ },
465
+ profileHospitalAddress: {
466
+ fontSize: 10,
467
+ color: '#94A3B8',
468
+ marginTop: 1,
469
+ },
470
+ profileActionRow: {
471
+ flexDirection: 'row',
472
+ gap: 10,
473
+ },
474
+ profileBtn: {
475
+ flex: 1,
476
+ paddingVertical: 10,
477
+ borderRadius: 12,
478
+ alignItems: 'center',
479
+ justifyContent: 'center',
480
+ },
481
+ profileBtnConfirm: {
482
+ backgroundColor: '#4F46E5',
483
+ },
484
+ profileBtnCancel: {
485
+ backgroundColor: '#FEF2F2',
486
+ borderWidth: 1,
487
+ borderColor: '#FCA5A5',
488
+ },
489
+ profileBtnText: {
490
+ fontSize: 12,
491
+ fontWeight: '700',
492
+ },
493
+
494
+ // ── Rich Card Styling (Slot Selection picker) ─────────────────────────────
495
+ slotPickerCard: {
496
+ marginTop: 10,
497
+ backgroundColor: '#FFF',
498
+ borderRadius: 20,
499
+ padding: 16,
500
+ borderWidth: 1,
501
+ borderColor: '#E2E8F0',
502
+ elevation: 3,
503
+ shadowColor: '#C7D2FE',
504
+ shadowOffset: { width: 0, height: 3 },
505
+ shadowOpacity: 0.2,
506
+ shadowRadius: 8,
507
+ width: '100%',
508
+ },
509
+ miniDocRow: {
510
+ flexDirection: 'row',
511
+ alignItems: 'center',
512
+ borderBottomWidth: 1,
513
+ borderBottomColor: '#F1F5F9',
514
+ paddingBottom: 10,
515
+ marginBottom: 12,
516
+ },
517
+ miniDocAvatar: {
518
+ width: 36,
519
+ height: 36,
520
+ borderRadius: 18,
521
+ backgroundColor: '#F1F5F9',
522
+ },
523
+ miniDocName: {
524
+ fontSize: 12.5,
525
+ fontWeight: '700',
526
+ color: '#1E293B',
527
+ },
528
+ miniDocSpecialty: {
529
+ fontSize: 10.5,
530
+ color: '#3B82F6',
531
+ fontWeight: '600',
532
+ },
533
+ miniDocRating: {
534
+ flexDirection: 'row',
535
+ alignItems: 'center',
536
+ gap: 2.5,
537
+ },
538
+ miniDocRatingVal: {
539
+ fontSize: 11,
540
+ fontWeight: '700',
541
+ color: '#1E293B',
542
+ },
543
+ pickerHeading: {
544
+ fontSize: 11.5,
545
+ fontWeight: '700',
546
+ color: '#1E293B',
547
+ marginBottom: 8,
548
+ },
549
+ datePickerRow: {
550
+ flexDirection: 'row',
551
+ justifyContent: 'space-between',
552
+ marginBottom: 14,
553
+ },
554
+ dateItem: {
555
+ width: (SCREEN_WIDTH * 0.76 - 32 - 16) / 5,
556
+ paddingVertical: 8,
557
+ borderRadius: 12,
558
+ borderWidth: 1,
559
+ borderColor: '#E2E8F0',
560
+ backgroundColor: '#FFF',
561
+ alignItems: 'center',
562
+ },
563
+ dateItemActive: {
564
+ backgroundColor: '#4F46E5',
565
+ borderColor: '#4F46E5',
566
+ },
567
+ dayNameText: {
568
+ fontSize: 9.5,
569
+ color: '#94A3B8',
570
+ fontWeight: '600',
571
+ textTransform: 'uppercase',
572
+ },
573
+ dayNameTextActive: {
574
+ color: 'rgba(255,255,255,0.8)',
575
+ },
576
+ dayNumText: {
577
+ fontSize: 13,
578
+ fontWeight: '700',
579
+ color: '#1E293B',
580
+ marginTop: 2,
581
+ },
582
+ dayNumTextActive: {
583
+ color: '#FFF',
584
+ },
585
+ noSlotsText: {
586
+ fontSize: 11,
587
+ color: '#EF4444',
588
+ textAlign: 'center',
589
+ marginVertical: 10,
590
+ fontWeight: '600',
591
+ },
592
+ slotsGrid: {
593
+ flexDirection: 'row',
594
+ flexWrap: 'wrap',
595
+ gap: 6,
596
+ },
597
+ slotButton: {
598
+ width: (SCREEN_WIDTH * 0.76 - 32 - 12) / 3,
599
+ paddingVertical: 8,
600
+ borderRadius: 10,
601
+ borderWidth: 1,
602
+ borderColor: '#E2E8F0',
603
+ backgroundColor: '#F8FAFC',
604
+ alignItems: 'center',
605
+ justifyContent: 'center',
606
+ },
607
+ slotBtnText: {
608
+ fontSize: 10.5,
609
+ color: '#334155',
610
+ fontWeight: '600',
611
+ },
612
+
613
+ // ── Rich Card Styling (Booking Confirmation) ─────────────────────────────
614
+ confirmCard: {
615
+ marginTop: 10,
616
+ backgroundColor: '#FFF',
617
+ borderRadius: 20,
618
+ padding: 16,
619
+ borderWidth: 1,
620
+ borderColor: '#E2E8F0',
621
+ elevation: 3,
622
+ shadowColor: '#C7D2FE',
623
+ shadowOffset: { width: 0, height: 3 },
624
+ shadowOpacity: 0.2,
625
+ shadowRadius: 8,
626
+ width: '100%',
627
+ },
628
+ confirmHeading: {
629
+ fontSize: 13,
630
+ fontWeight: '700',
631
+ color: '#1E293B',
632
+ marginBottom: 10,
633
+ textAlign: 'center',
634
+ },
635
+ confirmDocRow: {
636
+ flexDirection: 'row',
637
+ alignItems: 'center',
638
+ backgroundColor: '#F8FAFC',
639
+ padding: 8,
640
+ borderRadius: 12,
641
+ marginBottom: 12,
642
+ },
643
+ confirmDocAvatar: {
644
+ width: 32,
645
+ height: 32,
646
+ borderRadius: 16,
647
+ backgroundColor: '#F1F5F9',
648
+ },
649
+ confirmDocName: {
650
+ fontSize: 12,
651
+ fontWeight: '700',
652
+ color: '#1E293B',
653
+ },
654
+ confirmDocSpecialty: {
655
+ fontSize: 10,
656
+ color: '#64748B',
657
+ marginTop: 1,
658
+ },
659
+ confirmDetailsBox: {
660
+ backgroundColor: '#F8FAFC',
661
+ borderRadius: 12,
662
+ padding: 12,
663
+ marginBottom: 14,
664
+ gap: 8,
665
+ },
666
+ confirmDetailItem: {
667
+ flexDirection: 'row',
668
+ alignItems: 'center',
669
+ gap: 8,
670
+ },
671
+ confirmDetailText: {
672
+ fontSize: 11.5,
673
+ fontWeight: '600',
674
+ color: '#334155',
675
+ },
676
+ confirmActionRow: {
677
+ flexDirection: 'row',
678
+ gap: 8,
679
+ },
680
+ confirmBtn: {
681
+ flex: 1,
682
+ paddingVertical: 10,
683
+ borderRadius: 10,
684
+ alignItems: 'center',
685
+ justifyContent: 'center',
686
+ },
687
+ confirmBtnOk: {
688
+ backgroundColor: '#10B981',
689
+ },
690
+ confirmBtnCancel: {
691
+ backgroundColor: '#FEF2F2',
692
+ borderWidth: 1,
693
+ borderColor: '#FCA5A5',
694
+ },
695
+ confirmBtnText: {
696
+ fontSize: 11.5,
697
+ fontWeight: '700',
698
+ },
699
+ bookedBanner: {
700
+ flex: 1,
701
+ flexDirection: 'row',
702
+ alignItems: 'center',
703
+ justifyContent: 'center',
704
+ gap: 8,
705
+ backgroundColor: '#ECFDF5',
706
+ borderWidth: 1,
707
+ borderColor: '#6EE7B7',
708
+ borderRadius: 10,
709
+ paddingVertical: 10,
710
+ },
711
+ bookedBannerText: {
712
+ fontSize: 13,
713
+ fontWeight: '700',
714
+ color: '#059669',
715
+ },
716
+ profileStatsRow: {
717
+ flexDirection: 'row',
718
+ marginTop: 12,
719
+ marginBottom: 16,
720
+ gap: 10,
721
+ },
722
+ profileStatBox: {
723
+ flexDirection: 'row',
724
+ alignItems: 'center',
725
+ justifyContent: 'center',
726
+ paddingVertical: 10,
727
+ borderRadius: 12,
728
+ gap: 6,
729
+ },
730
+ profileStatLabel: {
731
+ fontSize: 12,
732
+ fontWeight: '700',
733
+ },
734
+ profileHeaderRight: {
735
+ flex: 1,
736
+ marginLeft: 12,
737
+ },
738
+ profileRatingBadge: {
739
+ flexDirection: 'row',
740
+ alignItems: 'center',
741
+ backgroundColor: '#F59E0B',
742
+ alignSelf: 'flex-start',
743
+ paddingHorizontal: 6,
744
+ paddingVertical: 3,
745
+ borderRadius: 6,
746
+ marginTop: 6,
747
+ gap: 3,
748
+ },
749
+ profileRatingText: {
750
+ fontSize: 10,
751
+ fontWeight: '700',
752
+ color: '#FFF',
753
+ },
754
+ profileReviewText: {
755
+ fontSize: 9,
756
+ color: '#FFF',
757
+ opacity: 0.9,
758
+ },
759
+ });