kupos-ui-components-lib 9.9.7 → 9.9.9

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