kupos-ui-components-lib 9.9.6 → 9.9.7
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/KuposUIComponent.d.ts +0 -3
- package/dist/components/ServiceItem/PeruServiceItemDesktop.d.ts +1 -1
- package/dist/components/ServiceItem/PeruServiceItemDesktop.js +176 -156
- package/dist/components/ServiceItem/ServiceItemDesktop.d.ts +1 -1
- package/dist/components/ServiceItem/ServiceItemDesktop.js +31 -29
- package/dist/components/ServiceItem/ServiceItemMobile.d.ts +1 -1
- package/dist/components/ServiceItem/ServiceItemMobile.js +17 -43
- package/dist/components/ServiceItem/mobileTypes.d.ts +2 -48
- package/dist/components/ServiceItem/types.d.ts +8 -27
- package/dist/styles.css +16 -219
- package/dist/ui/ExpendedDropDown/ExpandedDropdown.d.ts +2 -1
- package/dist/ui/ExpendedDropDown/ExpandedDropdown.js +4 -2
- package/dist/ui/FeaturServiceUiMobile/FeatureServiceUiMobile.js +10 -3
- package/dist/ui/OfferBanner.d.ts +0 -2
- package/dist/ui/OfferBanner.js +15 -22
- package/dist/ui/SeatSection/SeatSection.d.ts +7 -1
- package/dist/ui/SeatSection/SeatSection.js +41 -12
- package/dist/ui/mobileweb/DateTimeSectionMobile.d.ts +2 -1
- package/dist/ui/mobileweb/DateTimeSectionMobile.js +12 -6
- package/dist/ui/mobileweb/SeatSectionMobile.d.ts +2 -1
- package/dist/ui/mobileweb/SeatSectionMobile.js +21 -14
- package/dist/utils/CommonService.d.ts +1 -4
- package/dist/utils/CommonService.js +6 -19
- package/package.json +1 -1
- package/src/KuposUIComponent.tsx +0 -3
- package/src/components/ServiceItem/PeruServiceItemDesktop.tsx +277 -404
- package/src/components/ServiceItem/ServiceItemDesktop.tsx +51 -71
- package/src/components/ServiceItem/ServiceItemMobile.tsx +290 -387
- package/src/components/ServiceItem/mobileTypes.ts +8 -50
- package/src/components/ServiceItem/types.ts +13 -32
- package/src/styles.css +0 -15
- package/src/ui/ExpendedDropDown/ExpandedDropdown.tsx +4 -2
- package/src/ui/OfferBanner.tsx +43 -71
- package/src/ui/SeatSection/SeatSection.tsx +86 -21
- package/src/ui/mobileweb/DateTimeSectionMobile.tsx +44 -35
- package/src/ui/mobileweb/SeatSectionMobile.tsx +23 -11
- package/src/utils/CommonService.ts +8 -27
- package/src/assets/images/anims/service_list/flame_anim.json +0 -1
- package/src/assets/images/anims/service_list/thunder_icon.json +0 -1
- package/src/assets/images/anims/service_list/users_anim.json +0 -1
- package/src/ui/FeaturServiceUiMobile/FeatureServiceUiMobile.tsx +0 -575
- package/src/ui/FeatureServiceUI/FeatureServiceUi.tsx +0 -634
package/dist/styles.css
CHANGED
|
@@ -33,9 +33,6 @@
|
|
|
33
33
|
.-top-\[11px\] {
|
|
34
34
|
top: calc(11px * -1);
|
|
35
35
|
}
|
|
36
|
-
.-top-\[13px\] {
|
|
37
|
-
top: calc(13px * -1);
|
|
38
|
-
}
|
|
39
36
|
.-top-\[18px\] {
|
|
40
37
|
top: calc(18px * -1);
|
|
41
38
|
}
|
|
@@ -63,15 +60,9 @@
|
|
|
63
60
|
.top-\[88\%\] {
|
|
64
61
|
top: 88%;
|
|
65
62
|
}
|
|
66
|
-
.top-\[calc\(100\%\+10px\)\] {
|
|
67
|
-
top: calc(100% + 10px);
|
|
68
|
-
}
|
|
69
63
|
.right-\[0px\] {
|
|
70
64
|
right: 0px;
|
|
71
65
|
}
|
|
72
|
-
.right-\[18px\] {
|
|
73
|
-
right: 18px;
|
|
74
|
-
}
|
|
75
66
|
.-bottom-\[9\%\] {
|
|
76
67
|
bottom: calc(9% * -1);
|
|
77
68
|
}
|
|
@@ -84,12 +75,6 @@
|
|
|
84
75
|
.-bottom-\[36px\] {
|
|
85
76
|
bottom: calc(36px * -1);
|
|
86
77
|
}
|
|
87
|
-
.-bottom-\[44px\] {
|
|
88
|
-
bottom: calc(44px * -1);
|
|
89
|
-
}
|
|
90
|
-
.bottom-\[11px\] {
|
|
91
|
-
bottom: 11px;
|
|
92
|
-
}
|
|
93
78
|
.bottom-\[35px\] {
|
|
94
79
|
bottom: 35px;
|
|
95
80
|
}
|
|
@@ -183,15 +168,9 @@
|
|
|
183
168
|
.m-\[auto\] {
|
|
184
169
|
margin: auto;
|
|
185
170
|
}
|
|
186
|
-
.mx-\[6px\] {
|
|
187
|
-
margin-inline: 6px;
|
|
188
|
-
}
|
|
189
171
|
.mx-auto {
|
|
190
172
|
margin-inline: auto;
|
|
191
173
|
}
|
|
192
|
-
.my-\[8px\] {
|
|
193
|
-
margin-block: 8px;
|
|
194
|
-
}
|
|
195
174
|
.-mt-\[15px\] {
|
|
196
175
|
margin-top: calc(15px * -1);
|
|
197
176
|
}
|
|
@@ -210,27 +189,15 @@
|
|
|
210
189
|
.mt-\[5px\] {
|
|
211
190
|
margin-top: 5px;
|
|
212
191
|
}
|
|
213
|
-
.mt-\[6px\] {
|
|
214
|
-
margin-top: 6px;
|
|
215
|
-
}
|
|
216
192
|
.mt-\[10px\] {
|
|
217
193
|
margin-top: 10px;
|
|
218
194
|
}
|
|
219
|
-
.mt-\[12px\] {
|
|
220
|
-
margin-top: 12px;
|
|
221
|
-
}
|
|
222
195
|
.mt-\[13px\] {
|
|
223
196
|
margin-top: 13px;
|
|
224
197
|
}
|
|
225
|
-
.mt-\[14px\] {
|
|
226
|
-
margin-top: 14px;
|
|
227
|
-
}
|
|
228
198
|
.mt-\[15px\] {
|
|
229
199
|
margin-top: 15px;
|
|
230
200
|
}
|
|
231
|
-
.mt-\[16px\] {
|
|
232
|
-
margin-top: 16px;
|
|
233
|
-
}
|
|
234
201
|
.mt-\[20px\] {
|
|
235
202
|
margin-top: 20px;
|
|
236
203
|
}
|
|
@@ -318,6 +285,9 @@
|
|
|
318
285
|
.ml-\[10px\] {
|
|
319
286
|
margin-left: 10px;
|
|
320
287
|
}
|
|
288
|
+
.ml-\[12px\] {
|
|
289
|
+
margin-left: 12px;
|
|
290
|
+
}
|
|
321
291
|
.ml-\[50px\] {
|
|
322
292
|
margin-left: 50px;
|
|
323
293
|
}
|
|
@@ -354,9 +324,6 @@
|
|
|
354
324
|
.h-\[12px\] {
|
|
355
325
|
height: 12px;
|
|
356
326
|
}
|
|
357
|
-
.h-\[13px\] {
|
|
358
|
-
height: 13px;
|
|
359
|
-
}
|
|
360
327
|
.h-\[14px\] {
|
|
361
328
|
height: 14px;
|
|
362
329
|
}
|
|
@@ -375,9 +342,6 @@
|
|
|
375
342
|
.h-\[24px\] {
|
|
376
343
|
height: 24px;
|
|
377
344
|
}
|
|
378
|
-
.h-\[26px\] {
|
|
379
|
-
height: 26px;
|
|
380
|
-
}
|
|
381
345
|
.h-\[30px\] {
|
|
382
346
|
height: 30px;
|
|
383
347
|
}
|
|
@@ -405,9 +369,6 @@
|
|
|
405
369
|
.w-\[12px\] {
|
|
406
370
|
width: 12px;
|
|
407
371
|
}
|
|
408
|
-
.w-\[13px\] {
|
|
409
|
-
width: 13px;
|
|
410
|
-
}
|
|
411
372
|
.w-\[14px\] {
|
|
412
373
|
width: 14px;
|
|
413
374
|
}
|
|
@@ -420,9 +381,6 @@
|
|
|
420
381
|
.w-\[20px\] {
|
|
421
382
|
width: 20px;
|
|
422
383
|
}
|
|
423
|
-
.w-\[26px\] {
|
|
424
|
-
width: 26px;
|
|
425
|
-
}
|
|
426
384
|
.w-\[50\%\] {
|
|
427
385
|
width: 50%;
|
|
428
386
|
}
|
|
@@ -450,6 +408,12 @@
|
|
|
450
408
|
.w-\[115px\] {
|
|
451
409
|
width: 115px;
|
|
452
410
|
}
|
|
411
|
+
.w-\[120px\] {
|
|
412
|
+
width: 120px;
|
|
413
|
+
}
|
|
414
|
+
.w-\[130px\] {
|
|
415
|
+
width: 130px;
|
|
416
|
+
}
|
|
453
417
|
.w-\[150px\] {
|
|
454
418
|
width: 150px;
|
|
455
419
|
}
|
|
@@ -488,12 +452,6 @@
|
|
|
488
452
|
.max-w-\[165px\] {
|
|
489
453
|
max-width: 165px;
|
|
490
454
|
}
|
|
491
|
-
.max-w-\[220px\] {
|
|
492
|
-
max-width: 220px;
|
|
493
|
-
}
|
|
494
|
-
.max-w-full {
|
|
495
|
-
max-width: 100%;
|
|
496
|
-
}
|
|
497
455
|
.min-w-\[75px\] {
|
|
498
456
|
min-width: 75px;
|
|
499
457
|
}
|
|
@@ -515,9 +473,6 @@
|
|
|
515
473
|
--tw-translate-y: -10px;
|
|
516
474
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
517
475
|
}
|
|
518
|
-
.rotate-0 {
|
|
519
|
-
rotate: 0deg;
|
|
520
|
-
}
|
|
521
476
|
.rotate-180 {
|
|
522
477
|
rotate: 180deg;
|
|
523
478
|
}
|
|
@@ -527,9 +482,6 @@
|
|
|
527
482
|
.cursor-default {
|
|
528
483
|
cursor: default;
|
|
529
484
|
}
|
|
530
|
-
.cursor-not-allowed {
|
|
531
|
-
cursor: not-allowed;
|
|
532
|
-
}
|
|
533
485
|
.cursor-pointer {
|
|
534
486
|
cursor: pointer;
|
|
535
487
|
}
|
|
@@ -542,21 +494,12 @@
|
|
|
542
494
|
.grid-cols-2 {
|
|
543
495
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
544
496
|
}
|
|
545
|
-
.grid-cols-3 {
|
|
546
|
-
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
547
|
-
}
|
|
548
|
-
.grid-cols-4 {
|
|
549
|
-
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
550
|
-
}
|
|
551
497
|
.grid-cols-\[0\.8fr_auto_26\%_1fr\] {
|
|
552
498
|
grid-template-columns: 0.8fr auto 26% 1fr;
|
|
553
499
|
}
|
|
554
500
|
.grid-cols-\[1\.5fr_1fr_auto\] {
|
|
555
501
|
grid-template-columns: 1.5fr 1fr auto;
|
|
556
502
|
}
|
|
557
|
-
.grid-cols-\[25\%_48\%_27\%\] {
|
|
558
|
-
grid-template-columns: 25% 48% 27%;
|
|
559
|
-
}
|
|
560
503
|
.grid-cols-\[26px_auto_26\%_1fr\] {
|
|
561
504
|
grid-template-columns: 26px auto 26% 1fr;
|
|
562
505
|
}
|
|
@@ -584,9 +527,6 @@
|
|
|
584
527
|
.items-start {
|
|
585
528
|
align-items: flex-start;
|
|
586
529
|
}
|
|
587
|
-
.items-stretch {
|
|
588
|
-
align-items: stretch;
|
|
589
|
-
}
|
|
590
530
|
.justify-between {
|
|
591
531
|
justify-content: space-between;
|
|
592
532
|
}
|
|
@@ -629,12 +569,6 @@
|
|
|
629
569
|
.gap-\[14px\] {
|
|
630
570
|
gap: 14px;
|
|
631
571
|
}
|
|
632
|
-
.gap-\[16px\] {
|
|
633
|
-
gap: 16px;
|
|
634
|
-
}
|
|
635
|
-
.gap-\[20px\] {
|
|
636
|
-
gap: 20px;
|
|
637
|
-
}
|
|
638
572
|
.gap-x-\[2\%\] {
|
|
639
573
|
-moz-column-gap: 2%;
|
|
640
574
|
column-gap: 2%;
|
|
@@ -643,20 +577,12 @@
|
|
|
643
577
|
-moz-column-gap: 8px;
|
|
644
578
|
column-gap: 8px;
|
|
645
579
|
}
|
|
646
|
-
.truncate {
|
|
647
|
-
overflow: hidden;
|
|
648
|
-
text-overflow: ellipsis;
|
|
649
|
-
white-space: nowrap;
|
|
650
|
-
}
|
|
651
580
|
.overflow-hidden {
|
|
652
581
|
overflow: hidden;
|
|
653
582
|
}
|
|
654
583
|
.overflow-y-hidden {
|
|
655
584
|
overflow-y: hidden;
|
|
656
585
|
}
|
|
657
|
-
.rounded-\[4px\] {
|
|
658
|
-
border-radius: 4px;
|
|
659
|
-
}
|
|
660
586
|
.rounded-\[8px\] {
|
|
661
587
|
border-radius: 8px;
|
|
662
588
|
}
|
|
@@ -669,9 +595,6 @@
|
|
|
669
595
|
.rounded-\[15px\] {
|
|
670
596
|
border-radius: 15px;
|
|
671
597
|
}
|
|
672
|
-
.rounded-\[16px\] {
|
|
673
|
-
border-radius: 16px;
|
|
674
|
-
}
|
|
675
598
|
.rounded-\[18px\] {
|
|
676
599
|
border-radius: 18px;
|
|
677
600
|
}
|
|
@@ -715,10 +638,6 @@
|
|
|
715
638
|
border-top-style: var(--tw-border-style);
|
|
716
639
|
border-top-width: 8px;
|
|
717
640
|
}
|
|
718
|
-
.border-r {
|
|
719
|
-
border-right-style: var(--tw-border-style);
|
|
720
|
-
border-right-width: 1px;
|
|
721
|
-
}
|
|
722
641
|
.border-r-8 {
|
|
723
642
|
border-right-style: var(--tw-border-style);
|
|
724
643
|
border-right-width: 8px;
|
|
@@ -747,10 +666,6 @@
|
|
|
747
666
|
border-bottom-style: var(--tw-border-style);
|
|
748
667
|
border-bottom-width: 8px;
|
|
749
668
|
}
|
|
750
|
-
.border-l {
|
|
751
|
-
border-left-style: var(--tw-border-style);
|
|
752
|
-
border-left-width: 1px;
|
|
753
|
-
}
|
|
754
669
|
.border-l-8 {
|
|
755
670
|
border-left-style: var(--tw-border-style);
|
|
756
671
|
border-left-width: 8px;
|
|
@@ -767,9 +682,6 @@
|
|
|
767
682
|
--tw-border-style: none;
|
|
768
683
|
border-style: none;
|
|
769
684
|
}
|
|
770
|
-
.border-\[\#363c48\] {
|
|
771
|
-
border-color: #363c48;
|
|
772
|
-
}
|
|
773
685
|
.border-\[\#ccc\] {
|
|
774
686
|
border-color: #ccc;
|
|
775
687
|
}
|
|
@@ -788,24 +700,9 @@
|
|
|
788
700
|
.border-l-transparent {
|
|
789
701
|
border-left-color: transparent;
|
|
790
702
|
}
|
|
791
|
-
.bg-\[\#0C1421\] {
|
|
792
|
-
background-color: #0C1421;
|
|
793
|
-
}
|
|
794
|
-
.bg-\[\#2d374d\] {
|
|
795
|
-
background-color: #2d374d;
|
|
796
|
-
}
|
|
797
|
-
.bg-\[\#222b3d\] {
|
|
798
|
-
background-color: #222b3d;
|
|
799
|
-
}
|
|
800
703
|
.bg-\[\#E6E6E6\] {
|
|
801
704
|
background-color: #E6E6E6;
|
|
802
705
|
}
|
|
803
|
-
.bg-\[\#FF5C60\] {
|
|
804
|
-
background-color: #FF5C60;
|
|
805
|
-
}
|
|
806
|
-
.bg-\[\#FF8F45\] {
|
|
807
|
-
background-color: #FF8F45;
|
|
808
|
-
}
|
|
809
706
|
.bg-\[\#FFF2F2\] {
|
|
810
707
|
background-color: #FFF2F2;
|
|
811
708
|
}
|
|
@@ -824,9 +721,6 @@
|
|
|
824
721
|
.bg-\[lightgray\] {
|
|
825
722
|
background-color: lightgray;
|
|
826
723
|
}
|
|
827
|
-
.bg-transparent {
|
|
828
|
-
background-color: transparent;
|
|
829
|
-
}
|
|
830
724
|
.bg-\[length\:200\%_200\%\] {
|
|
831
725
|
background-size: 200% 200%;
|
|
832
726
|
}
|
|
@@ -849,15 +743,9 @@
|
|
|
849
743
|
.p-\[10px_15px\] {
|
|
850
744
|
padding: 10px 15px;
|
|
851
745
|
}
|
|
852
|
-
.p-\[14px\] {
|
|
853
|
-
padding: 14px;
|
|
854
|
-
}
|
|
855
746
|
.p-\[15px\] {
|
|
856
747
|
padding: 15px;
|
|
857
748
|
}
|
|
858
|
-
.p-\[15px_15px\] {
|
|
859
|
-
padding: 15px 15px;
|
|
860
|
-
}
|
|
861
749
|
.p-\[16px_20px\] {
|
|
862
750
|
padding: 16px 20px;
|
|
863
751
|
}
|
|
@@ -888,18 +776,9 @@
|
|
|
888
776
|
.px-\[15px\] {
|
|
889
777
|
padding-inline: 15px;
|
|
890
778
|
}
|
|
891
|
-
.px-\[16px\] {
|
|
892
|
-
padding-inline: 16px;
|
|
893
|
-
}
|
|
894
779
|
.px-\[20px\] {
|
|
895
780
|
padding-inline: 20px;
|
|
896
781
|
}
|
|
897
|
-
.px-\[22px\] {
|
|
898
|
-
padding-inline: 22px;
|
|
899
|
-
}
|
|
900
|
-
.py-\[2px\] {
|
|
901
|
-
padding-block: 2px;
|
|
902
|
-
}
|
|
903
782
|
.py-\[4px\] {
|
|
904
783
|
padding-block: 4px;
|
|
905
784
|
}
|
|
@@ -912,9 +791,6 @@
|
|
|
912
791
|
.py-\[8px\] {
|
|
913
792
|
padding-block: 8px;
|
|
914
793
|
}
|
|
915
|
-
.py-\[9px\] {
|
|
916
|
-
padding-block: 9px;
|
|
917
|
-
}
|
|
918
794
|
.py-\[10px\] {
|
|
919
795
|
padding-block: 10px;
|
|
920
796
|
}
|
|
@@ -927,8 +803,8 @@
|
|
|
927
803
|
.pt-\[6px\] {
|
|
928
804
|
padding-top: 6px;
|
|
929
805
|
}
|
|
930
|
-
.pt-\[
|
|
931
|
-
padding-top:
|
|
806
|
+
.pt-\[10px\] {
|
|
807
|
+
padding-top: 10px;
|
|
932
808
|
}
|
|
933
809
|
.pt-\[20px\] {
|
|
934
810
|
padding-top: 20px;
|
|
@@ -945,9 +821,6 @@
|
|
|
945
821
|
.pt-\[50px\] {
|
|
946
822
|
padding-top: 50px;
|
|
947
823
|
}
|
|
948
|
-
.pr-\[10px\] {
|
|
949
|
-
padding-right: 10px;
|
|
950
|
-
}
|
|
951
824
|
.pr-\[15px\] {
|
|
952
825
|
padding-right: 15px;
|
|
953
826
|
}
|
|
@@ -957,9 +830,6 @@
|
|
|
957
830
|
.pr-\[22px\] {
|
|
958
831
|
padding-right: 22px;
|
|
959
832
|
}
|
|
960
|
-
.pb-\[6px\] {
|
|
961
|
-
padding-bottom: 6px;
|
|
962
|
-
}
|
|
963
833
|
.pb-\[7px\] {
|
|
964
834
|
padding-bottom: 7px;
|
|
965
835
|
}
|
|
@@ -978,9 +848,6 @@
|
|
|
978
848
|
.pl-\[6px\] {
|
|
979
849
|
padding-left: 6px;
|
|
980
850
|
}
|
|
981
|
-
.pl-\[22px\] {
|
|
982
|
-
padding-left: 22px;
|
|
983
|
-
}
|
|
984
851
|
.text-center {
|
|
985
852
|
text-align: center;
|
|
986
853
|
}
|
|
@@ -996,6 +863,9 @@
|
|
|
996
863
|
.text-right {
|
|
997
864
|
text-align: right;
|
|
998
865
|
}
|
|
866
|
+
.text-\[9px\] {
|
|
867
|
+
font-size: 9px;
|
|
868
|
+
}
|
|
999
869
|
.text-\[10px\] {
|
|
1000
870
|
font-size: 10px;
|
|
1001
871
|
}
|
|
@@ -1017,9 +887,6 @@
|
|
|
1017
887
|
.text-\[14px\] {
|
|
1018
888
|
font-size: 14px;
|
|
1019
889
|
}
|
|
1020
|
-
.text-\[16px\] {
|
|
1021
|
-
font-size: 16px;
|
|
1022
|
-
}
|
|
1023
890
|
.text-\[17\.33px\] {
|
|
1024
891
|
font-size: 17.33px;
|
|
1025
892
|
}
|
|
@@ -1032,15 +899,6 @@
|
|
|
1032
899
|
.text-\[22px\] {
|
|
1033
900
|
font-size: 22px;
|
|
1034
901
|
}
|
|
1035
|
-
.text-\[24px\] {
|
|
1036
|
-
font-size: 24px;
|
|
1037
|
-
}
|
|
1038
|
-
.text-\[26px\] {
|
|
1039
|
-
font-size: 26px;
|
|
1040
|
-
}
|
|
1041
|
-
.text-\[28px\] {
|
|
1042
|
-
font-size: 28px;
|
|
1043
|
-
}
|
|
1044
902
|
.text-\[42px\] {
|
|
1045
903
|
font-size: 42px;
|
|
1046
904
|
}
|
|
@@ -1048,10 +906,6 @@
|
|
|
1048
906
|
--tw-leading: 1.3;
|
|
1049
907
|
line-height: 1.3;
|
|
1050
908
|
}
|
|
1051
|
-
.leading-\[14px\] {
|
|
1052
|
-
--tw-leading: 14px;
|
|
1053
|
-
line-height: 14px;
|
|
1054
|
-
}
|
|
1055
909
|
.leading-\[20px\] {
|
|
1056
910
|
--tw-leading: 20px;
|
|
1057
911
|
line-height: 20px;
|
|
@@ -1072,10 +926,6 @@
|
|
|
1072
926
|
--tw-leading: 1;
|
|
1073
927
|
line-height: 1;
|
|
1074
928
|
}
|
|
1075
|
-
.font-\[9px\] {
|
|
1076
|
-
--tw-font-weight: 9px;
|
|
1077
|
-
font-weight: 9px;
|
|
1078
|
-
}
|
|
1079
929
|
.font-\[14px\] {
|
|
1080
930
|
--tw-font-weight: 14px;
|
|
1081
931
|
font-weight: 14px;
|
|
@@ -1097,30 +947,12 @@
|
|
|
1097
947
|
.whitespace-nowrap {
|
|
1098
948
|
white-space: nowrap;
|
|
1099
949
|
}
|
|
1100
|
-
.text-\[\#1a1a1a\] {
|
|
1101
|
-
color: #1a1a1a;
|
|
1102
|
-
}
|
|
1103
|
-
.text-\[\#4a4a4a\] {
|
|
1104
|
-
color: #4a4a4a;
|
|
1105
|
-
}
|
|
1106
950
|
.text-\[\#9f9f9f\] {
|
|
1107
951
|
color: #9f9f9f;
|
|
1108
952
|
}
|
|
1109
|
-
.text-\[\#666\] {
|
|
1110
|
-
color: #666;
|
|
1111
|
-
}
|
|
1112
|
-
.text-\[\#272727\] {
|
|
1113
|
-
color: #272727;
|
|
1114
|
-
}
|
|
1115
953
|
.text-\[\#464647\] {
|
|
1116
954
|
color: #464647;
|
|
1117
955
|
}
|
|
1118
|
-
.text-\[\#FF5C60\] {
|
|
1119
|
-
color: #FF5C60;
|
|
1120
|
-
}
|
|
1121
|
-
.text-\[\#FF8F45\] {
|
|
1122
|
-
color: #FF8F45;
|
|
1123
|
-
}
|
|
1124
956
|
.text-\[\#c0c0c0\] {
|
|
1125
957
|
color: #c0c0c0;
|
|
1126
958
|
}
|
|
@@ -1136,8 +968,8 @@
|
|
|
1136
968
|
.text-\[\#fff\] {
|
|
1137
969
|
color: #fff;
|
|
1138
970
|
}
|
|
1139
|
-
.text-\[
|
|
1140
|
-
color:
|
|
971
|
+
.text-\[red\] {
|
|
972
|
+
color: red;
|
|
1141
973
|
}
|
|
1142
974
|
.capitalize {
|
|
1143
975
|
text-transform: capitalize;
|
|
@@ -1158,16 +990,9 @@
|
|
|
1158
990
|
.opacity-0 {
|
|
1159
991
|
opacity: 0%;
|
|
1160
992
|
}
|
|
1161
|
-
.opacity-50 {
|
|
1162
|
-
opacity: 50%;
|
|
1163
|
-
}
|
|
1164
993
|
.opacity-100 {
|
|
1165
994
|
opacity: 100%;
|
|
1166
995
|
}
|
|
1167
|
-
.outline {
|
|
1168
|
-
outline-style: var(--tw-outline-style);
|
|
1169
|
-
outline-width: 1px;
|
|
1170
|
-
}
|
|
1171
996
|
.grayscale {
|
|
1172
997
|
--tw-grayscale: grayscale(100%);
|
|
1173
998
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
@@ -1195,10 +1020,6 @@
|
|
|
1195
1020
|
transition-timing-function: var(--tw-ease, ease);
|
|
1196
1021
|
transition-duration: var(--tw-duration, 0s);
|
|
1197
1022
|
}
|
|
1198
|
-
.duration-200 {
|
|
1199
|
-
--tw-duration: 200ms;
|
|
1200
|
-
transition-duration: 200ms;
|
|
1201
|
-
}
|
|
1202
1023
|
.duration-300 {
|
|
1203
1024
|
--tw-duration: 300ms;
|
|
1204
1025
|
transition-duration: 300ms;
|
|
@@ -1207,11 +1028,6 @@
|
|
|
1207
1028
|
--tw-outline-style: none;
|
|
1208
1029
|
outline-style: none;
|
|
1209
1030
|
}
|
|
1210
|
-
.select-none {
|
|
1211
|
-
-webkit-user-select: none;
|
|
1212
|
-
-moz-user-select: none;
|
|
1213
|
-
user-select: none;
|
|
1214
|
-
}
|
|
1215
1031
|
.group-hover\:block {
|
|
1216
1032
|
&:is(:where(.group):hover *) {
|
|
1217
1033
|
@media (hover: hover) {
|
|
@@ -1351,19 +1167,6 @@
|
|
|
1351
1167
|
.hide-scrollbar::-webkit-scrollbar {
|
|
1352
1168
|
display: none;
|
|
1353
1169
|
}
|
|
1354
|
-
.kupos-time-dd > summary {
|
|
1355
|
-
list-style: none;
|
|
1356
|
-
}
|
|
1357
|
-
.kupos-time-dd > summary::-webkit-details-marker {
|
|
1358
|
-
display: none;
|
|
1359
|
-
}
|
|
1360
|
-
.kupos-time-chevron {
|
|
1361
|
-
transition: transform 200ms ease;
|
|
1362
|
-
flex-shrink: 0;
|
|
1363
|
-
}
|
|
1364
|
-
.kupos-time-dd[open] .kupos-time-chevron {
|
|
1365
|
-
transform: rotate(180deg);
|
|
1366
|
-
}
|
|
1367
1170
|
.hide-scrollbar {
|
|
1368
1171
|
-ms-overflow-style: none;
|
|
1369
1172
|
scrollbar-width: none;
|
|
@@ -1436,11 +1239,6 @@
|
|
|
1436
1239
|
syntax: "*";
|
|
1437
1240
|
inherits: false;
|
|
1438
1241
|
}
|
|
1439
|
-
@property --tw-outline-style {
|
|
1440
|
-
syntax: "*";
|
|
1441
|
-
inherits: false;
|
|
1442
|
-
initial-value: solid;
|
|
1443
|
-
}
|
|
1444
1242
|
@property --tw-blur {
|
|
1445
1243
|
syntax: "*";
|
|
1446
1244
|
inherits: false;
|
|
@@ -1532,7 +1330,6 @@
|
|
|
1532
1330
|
--tw-numeric-figure: initial;
|
|
1533
1331
|
--tw-numeric-spacing: initial;
|
|
1534
1332
|
--tw-numeric-fraction: initial;
|
|
1535
|
-
--tw-outline-style: solid;
|
|
1536
1333
|
--tw-blur: initial;
|
|
1537
1334
|
--tw-brightness: initial;
|
|
1538
1335
|
--tw-contrast: initial;
|
|
@@ -14,6 +14,7 @@ interface ExpandedDropdownProps {
|
|
|
14
14
|
ladiesBookedSeats?: string;
|
|
15
15
|
isDpEnabled?: boolean;
|
|
16
16
|
renderIcon?: any;
|
|
17
|
+
operatorLabel?: string;
|
|
17
18
|
}
|
|
18
|
-
declare function ExpandedDropdown({ serviceItem, isPeru, translation, getAnimationIcon, isChangeTicket, isSoldOut, ladiesBookedSeats, isDpEnabled, renderIcon, }: ExpandedDropdownProps): React.ReactElement;
|
|
19
|
+
declare function ExpandedDropdown({ serviceItem, isPeru, translation, getAnimationIcon, isChangeTicket, isSoldOut, ladiesBookedSeats, isDpEnabled, renderIcon, operatorLabel, }: ExpandedDropdownProps): React.ReactElement;
|
|
19
20
|
export default ExpandedDropdown;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
function ExpandedDropdown({ serviceItem, isPeru = false, translation = {}, getAnimationIcon, isChangeTicket = false, isSoldOut, ladiesBookedSeats, isDpEnabled, renderIcon, }) {
|
|
2
|
+
function ExpandedDropdown({ serviceItem, isPeru = false, translation = {}, getAnimationIcon, isChangeTicket = false, isSoldOut, ladiesBookedSeats, isDpEnabled, renderIcon, operatorLabel, }) {
|
|
3
3
|
const hasPetInfo = serviceItem.pet_seat_info &&
|
|
4
4
|
Object.keys(serviceItem.pet_seat_info).length > 0;
|
|
5
5
|
return (React.createElement("div", { className: "px-[15px] pt-[26px] pb-[14px] -mt-[16px] pt-[35px] relative -z-9", style: {
|
|
@@ -18,7 +18,9 @@ function ExpandedDropdown({ serviceItem, isPeru = false, translation = {}, getAn
|
|
|
18
18
|
(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.change_ticket_hours) || 6,
|
|
19
19
|
" horas antes"),
|
|
20
20
|
" ",
|
|
21
|
-
"de la salida del bus. El monto ser\u00E1 reembolsado a tu billetera
|
|
21
|
+
"de la salida del bus. El monto ser\u00E1 reembolsado a tu billetera",
|
|
22
|
+
" ", operatorLabel !== null && operatorLabel !== void 0 ? operatorLabel : "kupospay",
|
|
23
|
+
"."))) : (React.createElement("div", { className: "flex gap-[8px] text-[13.33px]" },
|
|
22
24
|
React.createElement("span", null, renderIcon("changeTicketIcon", "16px")),
|
|
23
25
|
React.createElement("span", null,
|
|
24
26
|
React.createElement("span", null,
|
|
@@ -68,6 +68,7 @@ const FeatureServiceUiMobile = ({ serviceItem, showTopLabel, colors, isSoldOut,
|
|
|
68
68
|
isFeatureDropDownExpand === true;
|
|
69
69
|
const isThisTimeDropdownOpen = isTimeDropdownOpen === serviceItem.id;
|
|
70
70
|
const canDecreaseTicketQuantity = ticketQuantity > 1;
|
|
71
|
+
const canIncreaseTicketQuantity = ticketQuantity < maxSeatsPerBooking;
|
|
71
72
|
const departures = (_d = (_c = wowDealData === null || wowDealData === void 0 ? void 0 : wowDealData.services) === null || _c === void 0 ? void 0 : _c.map((s) => s.departure_time)) === null || _d === void 0 ? void 0 : _d.filter(Boolean);
|
|
72
73
|
let departureRange = `Entre ${dealWindowFrom} y ${dealWindowTo}`;
|
|
73
74
|
if (departures === null || departures === void 0 ? void 0 : departures.length) {
|
|
@@ -176,7 +177,9 @@ const FeatureServiceUiMobile = ({ serviceItem, showTopLabel, colors, isSoldOut,
|
|
|
176
177
|
} },
|
|
177
178
|
React.createElement("img", { src: op.logo, alt: op.name, onError: (e) => {
|
|
178
179
|
var _a;
|
|
179
|
-
e.currentTarget.src =
|
|
180
|
+
e.currentTarget.src =
|
|
181
|
+
((_a = serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.operator_details) === null || _a === void 0 ? void 0 : _a[0]) ||
|
|
182
|
+
"/images/service-list/bus-icon.svg";
|
|
180
183
|
}, className: `h-[24px] max-w-full object-contain ${isSoldOut ? "grayscale" : ""}` }),
|
|
181
184
|
React.createElement("span", { className: "text-[12px] truncate max-w-full text-center " }, op.name),
|
|
182
185
|
React.createElement("span", { className: "text-[11px] whitespace-nowrap" }, op === null || op === void 0 ? void 0 : op.seatsAvailable))))),
|
|
@@ -211,7 +214,11 @@ const FeatureServiceUiMobile = ({ serviceItem, showTopLabel, colors, isSoldOut,
|
|
|
211
214
|
? "cursor-pointer bg-[#2d374d]"
|
|
212
215
|
: "cursor-not-allowed bg-[#222b3d] opacity-50"}` }, "-"),
|
|
213
216
|
React.createElement("span", { className: "bold-text text-[14px] text-[white]" }, ticketQuantity),
|
|
214
|
-
React.createElement("button", { type: "button", "aria-label": "Aumentar pasajes", onClick: () => onIncreaseTicketQuantity === null || onIncreaseTicketQuantity === void 0 ? void 0 : onIncreaseTicketQuantity(serviceItem), className: "flex h-[26px] w-[26px] cursor-pointer items-center justify-center rounded-full border-none bg-[#2d374d] text-[16px] leading-none text-[white]" }, "+"))
|
|
217
|
+
React.createElement("button", { type: "button", disabled: !canIncreaseTicketQuantity, "aria-label": "Aumentar pasajes", onClick: () => onIncreaseTicketQuantity === null || onIncreaseTicketQuantity === void 0 ? void 0 : onIncreaseTicketQuantity(serviceItem), className: "flex h-[26px] w-[26px] cursor-pointer items-center justify-center rounded-full border-none bg-[#2d374d] text-[16px] leading-none text-[white]" }, "+")),
|
|
218
|
+
!canIncreaseTicketQuantity && (React.createElement("span", { className: "text-[10px] text-[#FF5C60]" },
|
|
219
|
+
"m\u00E1x. ",
|
|
220
|
+
maxSeatsPerBooking,
|
|
221
|
+
" pasajes"))),
|
|
215
222
|
React.createElement("div", { className: "mt-[10px] flex justify-between items-center rounded-[14px]", style: {
|
|
216
223
|
// height: "80px",
|
|
217
224
|
border: "1px solid #363c48",
|
|
@@ -220,7 +227,7 @@ const FeatureServiceUiMobile = ({ serviceItem, showTopLabel, colors, isSoldOut,
|
|
|
220
227
|
} },
|
|
221
228
|
React.createElement("div", { className: "flex flex-col" },
|
|
222
229
|
React.createElement("span", { className: "text-[18px] font-normal leading-[20px] text-[#9f9f9f] relative", style: { position: "relative" } },
|
|
223
|
-
`$${(
|
|
230
|
+
`$${(originalPrice * ticketQuantity).toLocaleString()}`,
|
|
224
231
|
React.createElement("span", { style: {
|
|
225
232
|
position: "absolute",
|
|
226
233
|
left: "-2px",
|
package/dist/ui/OfferBanner.d.ts
CHANGED
|
@@ -10,8 +10,6 @@ interface OfferBannerProps {
|
|
|
10
10
|
viewersConfig: ServiceItemProps["viewersConfig"];
|
|
11
11
|
getAnimationIcon: (name: string) => any;
|
|
12
12
|
showLoginOption?: boolean;
|
|
13
|
-
isNewUiEnabled?: boolean;
|
|
14
|
-
colors: any;
|
|
15
13
|
}
|
|
16
14
|
declare const OfferBanner: React.FC<OfferBannerProps>;
|
|
17
15
|
export default OfferBanner;
|