kupos-ui-components-lib 9.7.8 → 9.7.10
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 +3 -0
- package/dist/components/ServiceItem/PeruServiceItemDesktop.d.ts +1 -1
- package/dist/components/ServiceItem/PeruServiceItemDesktop.js +134 -188
- package/dist/components/ServiceItem/ServiceItemDesktop.d.ts +1 -1
- package/dist/components/ServiceItem/ServiceItemDesktop.js +16 -2
- package/dist/components/ServiceItem/ServiceItemMobile.d.ts +1 -1
- package/dist/components/ServiceItem/ServiceItemMobile.js +16 -7
- package/dist/components/ServiceItem/mobileTypes.d.ts +32 -0
- package/dist/components/ServiceItem/types.d.ts +22 -0
- package/dist/styles.css +221 -0
- package/dist/ui/FeaturServiceUiMobile/FeatureServiceUiMobile.js +13 -11
- package/dist/ui/FeatureServiceUI/FeatureServiceUi.js +9 -9
- package/dist/utils/CommonService.js +11 -1
- package/package.json +1 -1
- package/src/KuposUIComponent.tsx +3 -0
- package/src/assets/images/anims/service_list/thunder_icon.json +1 -0
- package/src/assets/images/anims/service_list/users_anim.json +1 -0
- package/src/components/ServiceItem/PeruServiceItemDesktop.tsx +254 -345
- package/src/components/ServiceItem/ServiceItemDesktop.tsx +50 -5
- package/src/components/ServiceItem/ServiceItemMobile.tsx +340 -286
- package/src/components/ServiceItem/mobileTypes.ts +29 -1
- package/src/components/ServiceItem/types.ts +23 -1
- package/src/styles.css +15 -0
- package/src/ui/FeaturServiceUiMobile/FeatureServiceUiMobile.tsx +525 -0
- package/src/ui/FeatureServiceUI/FeatureServiceUi.tsx +555 -0
- package/src/utils/CommonService.ts +13 -1
|
@@ -124,6 +124,19 @@ export interface MobileServiceItemProps {
|
|
|
124
124
|
directoIcon?: string;
|
|
125
125
|
whiteFireIcon?: string;
|
|
126
126
|
femaleAnim?: string;
|
|
127
|
+
thunderAnim?: string;
|
|
128
|
+
personsAnim?: string;
|
|
129
|
+
whiteOrigin?: string;
|
|
130
|
+
whiteDestination?: string;
|
|
131
|
+
userIcon?: string;
|
|
132
|
+
sheildIcon?: string;
|
|
133
|
+
busIcon?: string;
|
|
134
|
+
whiteDownArrow?: string;
|
|
135
|
+
empressaIcon?: string;
|
|
136
|
+
flexibleIcon?: string;
|
|
137
|
+
listoIcon?: string;
|
|
138
|
+
precioIcon?: string;
|
|
139
|
+
confirmarIcon?: string;
|
|
127
140
|
cancelTicketIcon?: string;
|
|
128
141
|
changeTicketIcon?: string;
|
|
129
142
|
petFriendlyIcon?: string;
|
|
@@ -133,6 +146,7 @@ export interface MobileServiceItemProps {
|
|
|
133
146
|
useLottieFor?: string[];
|
|
134
147
|
};
|
|
135
148
|
onBookButtonPress?: () => void;
|
|
149
|
+
onRemateUiButtonClick?: () => void;
|
|
136
150
|
terminals?: any[];
|
|
137
151
|
showDropdown?: boolean;
|
|
138
152
|
setShowDropdown?: (value: boolean) => void;
|
|
@@ -187,4 +201,22 @@ export interface MobileServiceItemProps {
|
|
|
187
201
|
label?: string;
|
|
188
202
|
icon?: string;
|
|
189
203
|
};
|
|
204
|
+
isFeatureDropDownExpand?: any;
|
|
205
|
+
setIsFeatureDropDownExpand?: (value: any) => void;
|
|
206
|
+
ticketQuantity?: number;
|
|
207
|
+
onIncreaseTicketQuantity?: (serviceItem: MobileServiceItemProps["serviceItem"]) => void;
|
|
208
|
+
onDecreaseTicketQuantity?: (serviceItem: MobileServiceItemProps["serviceItem"]) => void;
|
|
209
|
+
cityOrigin?: {
|
|
210
|
+
value: number;
|
|
211
|
+
label: string;
|
|
212
|
+
};
|
|
213
|
+
cityDestination?: {
|
|
214
|
+
value: number;
|
|
215
|
+
label: string;
|
|
216
|
+
};
|
|
217
|
+
isNewUi?: boolean;
|
|
218
|
+
selectedTimeSlot?: string;
|
|
219
|
+
onTimeSlotChange?: (slot: string) => void;
|
|
220
|
+
isTimeDropdownOpen?: string | number | null;
|
|
221
|
+
onTimeDropdownToggle?: (id?: string | number | null) => void;
|
|
190
222
|
}
|
|
@@ -129,11 +129,23 @@ export interface ServiceItemProps {
|
|
|
129
129
|
personIcon?: string;
|
|
130
130
|
whiteFireIcon?: string;
|
|
131
131
|
fireIcon?: string;
|
|
132
|
+
whiteOrigin?: string;
|
|
133
|
+
whiteDestination?: string;
|
|
134
|
+
userIcon?: string;
|
|
135
|
+
sheildIcon?: string;
|
|
136
|
+
busIcon?: string;
|
|
137
|
+
whiteDownArrow?: string;
|
|
138
|
+
empressaIcon?: string;
|
|
139
|
+
flexibleIcon?: string;
|
|
140
|
+
listoIcon?: string;
|
|
141
|
+
precioIcon?: string;
|
|
142
|
+
confirmarIcon?: string;
|
|
132
143
|
[key: string]: string | Record<string, string | undefined> | undefined;
|
|
133
144
|
};
|
|
134
145
|
useLottieFor?: string[];
|
|
135
146
|
};
|
|
136
147
|
onBookButtonPress?: () => void;
|
|
148
|
+
onRemateUiButtonClick?: () => void;
|
|
137
149
|
terminals?: any[];
|
|
138
150
|
t?: (key: string) => string;
|
|
139
151
|
serviceDetailsLoading?: boolean;
|
|
@@ -213,6 +225,11 @@ export interface ServiceItemProps {
|
|
|
213
225
|
isAllinBus?: boolean;
|
|
214
226
|
isExpand?: any;
|
|
215
227
|
setIsExpand?: (value: any) => void;
|
|
228
|
+
isFeatureDropDownExpand?: any;
|
|
229
|
+
setIsFeatureDropDownExpand?: (value: any) => void;
|
|
230
|
+
ticketQuantity?: number;
|
|
231
|
+
onIncreaseTicketQuantity?: (serviceItem: ServiceItemProps["serviceItem"]) => void;
|
|
232
|
+
onDecreaseTicketQuantity?: (serviceItem: ServiceItemProps["serviceItem"]) => void;
|
|
216
233
|
coachKey?: number;
|
|
217
234
|
viewersConfig?: {
|
|
218
235
|
min: number;
|
|
@@ -221,7 +238,12 @@ export interface ServiceItemProps {
|
|
|
221
238
|
label?: string;
|
|
222
239
|
icon?: string;
|
|
223
240
|
};
|
|
241
|
+
isNewUi?: boolean;
|
|
224
242
|
showLoginModal?: any;
|
|
225
243
|
isLoggedIn?: any;
|
|
226
244
|
showLoginOption?: boolean;
|
|
245
|
+
selectedTimeSlot?: string;
|
|
246
|
+
onTimeSlotChange?: (slot: string) => void;
|
|
247
|
+
isTimeDropdownOpen?: string | number | null;
|
|
248
|
+
onTimeDropdownToggle?: (id?: string | number | null) => void;
|
|
227
249
|
}
|
package/dist/styles.css
CHANGED
|
@@ -60,9 +60,15 @@
|
|
|
60
60
|
.top-\[88\%\] {
|
|
61
61
|
top: 88%;
|
|
62
62
|
}
|
|
63
|
+
.top-\[calc\(100\%\+10px\)\] {
|
|
64
|
+
top: calc(100% + 10px);
|
|
65
|
+
}
|
|
63
66
|
.right-\[0px\] {
|
|
64
67
|
right: 0px;
|
|
65
68
|
}
|
|
69
|
+
.right-\[18px\] {
|
|
70
|
+
right: 18px;
|
|
71
|
+
}
|
|
66
72
|
.-bottom-\[9\%\] {
|
|
67
73
|
bottom: calc(9% * -1);
|
|
68
74
|
}
|
|
@@ -75,6 +81,9 @@
|
|
|
75
81
|
.-bottom-\[36px\] {
|
|
76
82
|
bottom: calc(36px * -1);
|
|
77
83
|
}
|
|
84
|
+
.bottom-\[11px\] {
|
|
85
|
+
bottom: 11px;
|
|
86
|
+
}
|
|
78
87
|
.bottom-\[35px\] {
|
|
79
88
|
bottom: 35px;
|
|
80
89
|
}
|
|
@@ -168,9 +177,18 @@
|
|
|
168
177
|
.m-\[auto\] {
|
|
169
178
|
margin: auto;
|
|
170
179
|
}
|
|
180
|
+
.mx-\[10px\] {
|
|
181
|
+
margin-inline: 10px;
|
|
182
|
+
}
|
|
171
183
|
.mx-auto {
|
|
172
184
|
margin-inline: auto;
|
|
173
185
|
}
|
|
186
|
+
.my-\[8px\] {
|
|
187
|
+
margin-block: 8px;
|
|
188
|
+
}
|
|
189
|
+
.my-\[14px\] {
|
|
190
|
+
margin-block: 14px;
|
|
191
|
+
}
|
|
174
192
|
.-mt-\[15px\] {
|
|
175
193
|
margin-top: calc(15px * -1);
|
|
176
194
|
}
|
|
@@ -189,15 +207,27 @@
|
|
|
189
207
|
.mt-\[5px\] {
|
|
190
208
|
margin-top: 5px;
|
|
191
209
|
}
|
|
210
|
+
.mt-\[6px\] {
|
|
211
|
+
margin-top: 6px;
|
|
212
|
+
}
|
|
192
213
|
.mt-\[10px\] {
|
|
193
214
|
margin-top: 10px;
|
|
194
215
|
}
|
|
216
|
+
.mt-\[12px\] {
|
|
217
|
+
margin-top: 12px;
|
|
218
|
+
}
|
|
195
219
|
.mt-\[13px\] {
|
|
196
220
|
margin-top: 13px;
|
|
197
221
|
}
|
|
222
|
+
.mt-\[14px\] {
|
|
223
|
+
margin-top: 14px;
|
|
224
|
+
}
|
|
198
225
|
.mt-\[15px\] {
|
|
199
226
|
margin-top: 15px;
|
|
200
227
|
}
|
|
228
|
+
.mt-\[16px\] {
|
|
229
|
+
margin-top: 16px;
|
|
230
|
+
}
|
|
201
231
|
.mt-\[20px\] {
|
|
202
232
|
margin-top: 20px;
|
|
203
233
|
}
|
|
@@ -285,6 +315,9 @@
|
|
|
285
315
|
.ml-\[10px\] {
|
|
286
316
|
margin-left: 10px;
|
|
287
317
|
}
|
|
318
|
+
.ml-\[12px\] {
|
|
319
|
+
margin-left: 12px;
|
|
320
|
+
}
|
|
288
321
|
.ml-\[50px\] {
|
|
289
322
|
margin-left: 50px;
|
|
290
323
|
}
|
|
@@ -342,6 +375,9 @@
|
|
|
342
375
|
.h-\[30px\] {
|
|
343
376
|
height: 30px;
|
|
344
377
|
}
|
|
378
|
+
.h-\[34px\] {
|
|
379
|
+
height: 34px;
|
|
380
|
+
}
|
|
345
381
|
.h-\[100\%\] {
|
|
346
382
|
height: 100%;
|
|
347
383
|
}
|
|
@@ -378,6 +414,9 @@
|
|
|
378
414
|
.w-\[20px\] {
|
|
379
415
|
width: 20px;
|
|
380
416
|
}
|
|
417
|
+
.w-\[34px\] {
|
|
418
|
+
width: 34px;
|
|
419
|
+
}
|
|
381
420
|
.w-\[50\%\] {
|
|
382
421
|
width: 50%;
|
|
383
422
|
}
|
|
@@ -402,6 +441,12 @@
|
|
|
402
441
|
.w-\[115px\] {
|
|
403
442
|
width: 115px;
|
|
404
443
|
}
|
|
444
|
+
.w-\[120px\] {
|
|
445
|
+
width: 120px;
|
|
446
|
+
}
|
|
447
|
+
.w-\[130px\] {
|
|
448
|
+
width: 130px;
|
|
449
|
+
}
|
|
405
450
|
.w-\[150px\] {
|
|
406
451
|
width: 150px;
|
|
407
452
|
}
|
|
@@ -440,6 +485,12 @@
|
|
|
440
485
|
.max-w-\[165px\] {
|
|
441
486
|
max-width: 165px;
|
|
442
487
|
}
|
|
488
|
+
.max-w-\[220px\] {
|
|
489
|
+
max-width: 220px;
|
|
490
|
+
}
|
|
491
|
+
.max-w-full {
|
|
492
|
+
max-width: 100%;
|
|
493
|
+
}
|
|
443
494
|
.min-w-\[75px\] {
|
|
444
495
|
min-width: 75px;
|
|
445
496
|
}
|
|
@@ -461,6 +512,9 @@
|
|
|
461
512
|
--tw-translate-y: -10px;
|
|
462
513
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
463
514
|
}
|
|
515
|
+
.rotate-0 {
|
|
516
|
+
rotate: 0deg;
|
|
517
|
+
}
|
|
464
518
|
.rotate-180 {
|
|
465
519
|
rotate: 180deg;
|
|
466
520
|
}
|
|
@@ -470,6 +524,9 @@
|
|
|
470
524
|
.cursor-default {
|
|
471
525
|
cursor: default;
|
|
472
526
|
}
|
|
527
|
+
.cursor-not-allowed {
|
|
528
|
+
cursor: not-allowed;
|
|
529
|
+
}
|
|
473
530
|
.cursor-pointer {
|
|
474
531
|
cursor: pointer;
|
|
475
532
|
}
|
|
@@ -482,12 +539,21 @@
|
|
|
482
539
|
.grid-cols-2 {
|
|
483
540
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
484
541
|
}
|
|
542
|
+
.grid-cols-3 {
|
|
543
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
544
|
+
}
|
|
545
|
+
.grid-cols-4 {
|
|
546
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
547
|
+
}
|
|
485
548
|
.grid-cols-\[0\.8fr_auto_26\%_1fr\] {
|
|
486
549
|
grid-template-columns: 0.8fr auto 26% 1fr;
|
|
487
550
|
}
|
|
488
551
|
.grid-cols-\[1\.5fr_1fr_auto\] {
|
|
489
552
|
grid-template-columns: 1.5fr 1fr auto;
|
|
490
553
|
}
|
|
554
|
+
.grid-cols-\[25\%_48\%_27\%\] {
|
|
555
|
+
grid-template-columns: 25% 48% 27%;
|
|
556
|
+
}
|
|
491
557
|
.grid-cols-\[26px_auto_26\%_1fr\] {
|
|
492
558
|
grid-template-columns: 26px auto 26% 1fr;
|
|
493
559
|
}
|
|
@@ -515,6 +581,9 @@
|
|
|
515
581
|
.items-start {
|
|
516
582
|
align-items: flex-start;
|
|
517
583
|
}
|
|
584
|
+
.items-stretch {
|
|
585
|
+
align-items: stretch;
|
|
586
|
+
}
|
|
518
587
|
.justify-between {
|
|
519
588
|
justify-content: space-between;
|
|
520
589
|
}
|
|
@@ -557,6 +626,12 @@
|
|
|
557
626
|
.gap-\[14px\] {
|
|
558
627
|
gap: 14px;
|
|
559
628
|
}
|
|
629
|
+
.gap-\[16px\] {
|
|
630
|
+
gap: 16px;
|
|
631
|
+
}
|
|
632
|
+
.gap-\[20px\] {
|
|
633
|
+
gap: 20px;
|
|
634
|
+
}
|
|
560
635
|
.gap-x-\[2\%\] {
|
|
561
636
|
-moz-column-gap: 2%;
|
|
562
637
|
column-gap: 2%;
|
|
@@ -565,12 +640,20 @@
|
|
|
565
640
|
-moz-column-gap: 8px;
|
|
566
641
|
column-gap: 8px;
|
|
567
642
|
}
|
|
643
|
+
.truncate {
|
|
644
|
+
overflow: hidden;
|
|
645
|
+
text-overflow: ellipsis;
|
|
646
|
+
white-space: nowrap;
|
|
647
|
+
}
|
|
568
648
|
.overflow-hidden {
|
|
569
649
|
overflow: hidden;
|
|
570
650
|
}
|
|
571
651
|
.overflow-y-hidden {
|
|
572
652
|
overflow-y: hidden;
|
|
573
653
|
}
|
|
654
|
+
.rounded-\[4px\] {
|
|
655
|
+
border-radius: 4px;
|
|
656
|
+
}
|
|
574
657
|
.rounded-\[8px\] {
|
|
575
658
|
border-radius: 8px;
|
|
576
659
|
}
|
|
@@ -583,6 +666,9 @@
|
|
|
583
666
|
.rounded-\[15px\] {
|
|
584
667
|
border-radius: 15px;
|
|
585
668
|
}
|
|
669
|
+
.rounded-\[16px\] {
|
|
670
|
+
border-radius: 16px;
|
|
671
|
+
}
|
|
586
672
|
.rounded-\[18px\] {
|
|
587
673
|
border-radius: 18px;
|
|
588
674
|
}
|
|
@@ -626,6 +712,10 @@
|
|
|
626
712
|
border-top-style: var(--tw-border-style);
|
|
627
713
|
border-top-width: 8px;
|
|
628
714
|
}
|
|
715
|
+
.border-r {
|
|
716
|
+
border-right-style: var(--tw-border-style);
|
|
717
|
+
border-right-width: 1px;
|
|
718
|
+
}
|
|
629
719
|
.border-r-8 {
|
|
630
720
|
border-right-style: var(--tw-border-style);
|
|
631
721
|
border-right-width: 8px;
|
|
@@ -654,6 +744,10 @@
|
|
|
654
744
|
border-bottom-style: var(--tw-border-style);
|
|
655
745
|
border-bottom-width: 8px;
|
|
656
746
|
}
|
|
747
|
+
.border-l {
|
|
748
|
+
border-left-style: var(--tw-border-style);
|
|
749
|
+
border-left-width: 1px;
|
|
750
|
+
}
|
|
657
751
|
.border-l-8 {
|
|
658
752
|
border-left-style: var(--tw-border-style);
|
|
659
753
|
border-left-width: 8px;
|
|
@@ -670,6 +764,9 @@
|
|
|
670
764
|
--tw-border-style: none;
|
|
671
765
|
border-style: none;
|
|
672
766
|
}
|
|
767
|
+
.border-\[\#363c48\] {
|
|
768
|
+
border-color: #363c48;
|
|
769
|
+
}
|
|
673
770
|
.border-\[\#ccc\] {
|
|
674
771
|
border-color: #ccc;
|
|
675
772
|
}
|
|
@@ -688,9 +785,24 @@
|
|
|
688
785
|
.border-l-transparent {
|
|
689
786
|
border-left-color: transparent;
|
|
690
787
|
}
|
|
788
|
+
.bg-\[\#0C1421\] {
|
|
789
|
+
background-color: #0C1421;
|
|
790
|
+
}
|
|
791
|
+
.bg-\[\#2d374d\] {
|
|
792
|
+
background-color: #2d374d;
|
|
793
|
+
}
|
|
794
|
+
.bg-\[\#222b3d\] {
|
|
795
|
+
background-color: #222b3d;
|
|
796
|
+
}
|
|
691
797
|
.bg-\[\#E6E6E6\] {
|
|
692
798
|
background-color: #E6E6E6;
|
|
693
799
|
}
|
|
800
|
+
.bg-\[\#FF5C60\] {
|
|
801
|
+
background-color: #FF5C60;
|
|
802
|
+
}
|
|
803
|
+
.bg-\[\#FF8F45\] {
|
|
804
|
+
background-color: #FF8F45;
|
|
805
|
+
}
|
|
694
806
|
.bg-\[\#FFF2F2\] {
|
|
695
807
|
background-color: #FFF2F2;
|
|
696
808
|
}
|
|
@@ -709,6 +821,9 @@
|
|
|
709
821
|
.bg-\[lightgray\] {
|
|
710
822
|
background-color: lightgray;
|
|
711
823
|
}
|
|
824
|
+
.bg-transparent {
|
|
825
|
+
background-color: transparent;
|
|
826
|
+
}
|
|
712
827
|
.bg-\[length\:200\%_200\%\] {
|
|
713
828
|
background-size: 200% 200%;
|
|
714
829
|
}
|
|
@@ -731,6 +846,9 @@
|
|
|
731
846
|
.p-\[10px_15px\] {
|
|
732
847
|
padding: 10px 15px;
|
|
733
848
|
}
|
|
849
|
+
.p-\[14px\] {
|
|
850
|
+
padding: 14px;
|
|
851
|
+
}
|
|
734
852
|
.p-\[15px\] {
|
|
735
853
|
padding: 15px;
|
|
736
854
|
}
|
|
@@ -764,9 +882,18 @@
|
|
|
764
882
|
.px-\[15px\] {
|
|
765
883
|
padding-inline: 15px;
|
|
766
884
|
}
|
|
885
|
+
.px-\[16px\] {
|
|
886
|
+
padding-inline: 16px;
|
|
887
|
+
}
|
|
767
888
|
.px-\[20px\] {
|
|
768
889
|
padding-inline: 20px;
|
|
769
890
|
}
|
|
891
|
+
.px-\[22px\] {
|
|
892
|
+
padding-inline: 22px;
|
|
893
|
+
}
|
|
894
|
+
.py-\[2px\] {
|
|
895
|
+
padding-block: 2px;
|
|
896
|
+
}
|
|
770
897
|
.py-\[4px\] {
|
|
771
898
|
padding-block: 4px;
|
|
772
899
|
}
|
|
@@ -779,6 +906,9 @@
|
|
|
779
906
|
.py-\[8px\] {
|
|
780
907
|
padding-block: 8px;
|
|
781
908
|
}
|
|
909
|
+
.py-\[9px\] {
|
|
910
|
+
padding-block: 9px;
|
|
911
|
+
}
|
|
782
912
|
.py-\[10px\] {
|
|
783
913
|
padding-block: 10px;
|
|
784
914
|
}
|
|
@@ -791,6 +921,12 @@
|
|
|
791
921
|
.pt-\[6px\] {
|
|
792
922
|
padding-top: 6px;
|
|
793
923
|
}
|
|
924
|
+
.pt-\[10px\] {
|
|
925
|
+
padding-top: 10px;
|
|
926
|
+
}
|
|
927
|
+
.pt-\[14px\] {
|
|
928
|
+
padding-top: 14px;
|
|
929
|
+
}
|
|
794
930
|
.pt-\[20px\] {
|
|
795
931
|
padding-top: 20px;
|
|
796
932
|
}
|
|
@@ -806,6 +942,9 @@
|
|
|
806
942
|
.pt-\[50px\] {
|
|
807
943
|
padding-top: 50px;
|
|
808
944
|
}
|
|
945
|
+
.pr-\[10px\] {
|
|
946
|
+
padding-right: 10px;
|
|
947
|
+
}
|
|
809
948
|
.pr-\[15px\] {
|
|
810
949
|
padding-right: 15px;
|
|
811
950
|
}
|
|
@@ -815,6 +954,9 @@
|
|
|
815
954
|
.pr-\[22px\] {
|
|
816
955
|
padding-right: 22px;
|
|
817
956
|
}
|
|
957
|
+
.pb-\[6px\] {
|
|
958
|
+
padding-bottom: 6px;
|
|
959
|
+
}
|
|
818
960
|
.pb-\[7px\] {
|
|
819
961
|
padding-bottom: 7px;
|
|
820
962
|
}
|
|
@@ -833,6 +975,9 @@
|
|
|
833
975
|
.pl-\[6px\] {
|
|
834
976
|
padding-left: 6px;
|
|
835
977
|
}
|
|
978
|
+
.pl-\[22px\] {
|
|
979
|
+
padding-left: 22px;
|
|
980
|
+
}
|
|
836
981
|
.text-center {
|
|
837
982
|
text-align: center;
|
|
838
983
|
}
|
|
@@ -878,9 +1023,21 @@
|
|
|
878
1023
|
.text-\[18px\] {
|
|
879
1024
|
font-size: 18px;
|
|
880
1025
|
}
|
|
1026
|
+
.text-\[20px\] {
|
|
1027
|
+
font-size: 20px;
|
|
1028
|
+
}
|
|
881
1029
|
.text-\[22px\] {
|
|
882
1030
|
font-size: 22px;
|
|
883
1031
|
}
|
|
1032
|
+
.text-\[25px\] {
|
|
1033
|
+
font-size: 25px;
|
|
1034
|
+
}
|
|
1035
|
+
.text-\[26px\] {
|
|
1036
|
+
font-size: 26px;
|
|
1037
|
+
}
|
|
1038
|
+
.text-\[28px\] {
|
|
1039
|
+
font-size: 28px;
|
|
1040
|
+
}
|
|
884
1041
|
.text-\[42px\] {
|
|
885
1042
|
font-size: 42px;
|
|
886
1043
|
}
|
|
@@ -888,6 +1045,10 @@
|
|
|
888
1045
|
--tw-leading: 1.3;
|
|
889
1046
|
line-height: 1.3;
|
|
890
1047
|
}
|
|
1048
|
+
.leading-\[14px\] {
|
|
1049
|
+
--tw-leading: 14px;
|
|
1050
|
+
line-height: 14px;
|
|
1051
|
+
}
|
|
891
1052
|
.leading-\[20px\] {
|
|
892
1053
|
--tw-leading: 20px;
|
|
893
1054
|
line-height: 20px;
|
|
@@ -908,6 +1069,10 @@
|
|
|
908
1069
|
--tw-leading: 1;
|
|
909
1070
|
line-height: 1;
|
|
910
1071
|
}
|
|
1072
|
+
.font-\[9px\] {
|
|
1073
|
+
--tw-font-weight: 9px;
|
|
1074
|
+
font-weight: 9px;
|
|
1075
|
+
}
|
|
911
1076
|
.font-\[14px\] {
|
|
912
1077
|
--tw-font-weight: 14px;
|
|
913
1078
|
font-weight: 14px;
|
|
@@ -929,12 +1094,27 @@
|
|
|
929
1094
|
.whitespace-nowrap {
|
|
930
1095
|
white-space: nowrap;
|
|
931
1096
|
}
|
|
1097
|
+
.text-\[\#1a1a1a\] {
|
|
1098
|
+
color: #1a1a1a;
|
|
1099
|
+
}
|
|
1100
|
+
.text-\[\#4a4a4a\] {
|
|
1101
|
+
color: #4a4a4a;
|
|
1102
|
+
}
|
|
932
1103
|
.text-\[\#9f9f9f\] {
|
|
933
1104
|
color: #9f9f9f;
|
|
934
1105
|
}
|
|
1106
|
+
.text-\[\#666\] {
|
|
1107
|
+
color: #666;
|
|
1108
|
+
}
|
|
1109
|
+
.text-\[\#272727\] {
|
|
1110
|
+
color: #272727;
|
|
1111
|
+
}
|
|
935
1112
|
.text-\[\#464647\] {
|
|
936
1113
|
color: #464647;
|
|
937
1114
|
}
|
|
1115
|
+
.text-\[\#FF8F45\] {
|
|
1116
|
+
color: #FF8F45;
|
|
1117
|
+
}
|
|
938
1118
|
.text-\[\#c0c0c0\] {
|
|
939
1119
|
color: #c0c0c0;
|
|
940
1120
|
}
|
|
@@ -950,6 +1130,12 @@
|
|
|
950
1130
|
.text-\[\#fff\] {
|
|
951
1131
|
color: #fff;
|
|
952
1132
|
}
|
|
1133
|
+
.text-\[red\] {
|
|
1134
|
+
color: red;
|
|
1135
|
+
}
|
|
1136
|
+
.text-\[white\] {
|
|
1137
|
+
color: white;
|
|
1138
|
+
}
|
|
953
1139
|
.capitalize {
|
|
954
1140
|
text-transform: capitalize;
|
|
955
1141
|
}
|
|
@@ -969,9 +1155,16 @@
|
|
|
969
1155
|
.opacity-0 {
|
|
970
1156
|
opacity: 0%;
|
|
971
1157
|
}
|
|
1158
|
+
.opacity-50 {
|
|
1159
|
+
opacity: 50%;
|
|
1160
|
+
}
|
|
972
1161
|
.opacity-100 {
|
|
973
1162
|
opacity: 100%;
|
|
974
1163
|
}
|
|
1164
|
+
.outline {
|
|
1165
|
+
outline-style: var(--tw-outline-style);
|
|
1166
|
+
outline-width: 1px;
|
|
1167
|
+
}
|
|
975
1168
|
.grayscale {
|
|
976
1169
|
--tw-grayscale: grayscale(100%);
|
|
977
1170
|
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,);
|
|
@@ -999,6 +1192,10 @@
|
|
|
999
1192
|
transition-timing-function: var(--tw-ease, ease);
|
|
1000
1193
|
transition-duration: var(--tw-duration, 0s);
|
|
1001
1194
|
}
|
|
1195
|
+
.duration-200 {
|
|
1196
|
+
--tw-duration: 200ms;
|
|
1197
|
+
transition-duration: 200ms;
|
|
1198
|
+
}
|
|
1002
1199
|
.duration-300 {
|
|
1003
1200
|
--tw-duration: 300ms;
|
|
1004
1201
|
transition-duration: 300ms;
|
|
@@ -1007,6 +1204,11 @@
|
|
|
1007
1204
|
--tw-outline-style: none;
|
|
1008
1205
|
outline-style: none;
|
|
1009
1206
|
}
|
|
1207
|
+
.select-none {
|
|
1208
|
+
-webkit-user-select: none;
|
|
1209
|
+
-moz-user-select: none;
|
|
1210
|
+
user-select: none;
|
|
1211
|
+
}
|
|
1010
1212
|
.group-hover\:block {
|
|
1011
1213
|
&:is(:where(.group):hover *) {
|
|
1012
1214
|
@media (hover: hover) {
|
|
@@ -1146,6 +1348,19 @@
|
|
|
1146
1348
|
.hide-scrollbar::-webkit-scrollbar {
|
|
1147
1349
|
display: none;
|
|
1148
1350
|
}
|
|
1351
|
+
.kupos-time-dd > summary {
|
|
1352
|
+
list-style: none;
|
|
1353
|
+
}
|
|
1354
|
+
.kupos-time-dd > summary::-webkit-details-marker {
|
|
1355
|
+
display: none;
|
|
1356
|
+
}
|
|
1357
|
+
.kupos-time-chevron {
|
|
1358
|
+
transition: transform 200ms ease;
|
|
1359
|
+
flex-shrink: 0;
|
|
1360
|
+
}
|
|
1361
|
+
.kupos-time-dd[open] .kupos-time-chevron {
|
|
1362
|
+
transform: rotate(180deg);
|
|
1363
|
+
}
|
|
1149
1364
|
.hide-scrollbar {
|
|
1150
1365
|
-ms-overflow-style: none;
|
|
1151
1366
|
scrollbar-width: none;
|
|
@@ -1218,6 +1433,11 @@
|
|
|
1218
1433
|
syntax: "*";
|
|
1219
1434
|
inherits: false;
|
|
1220
1435
|
}
|
|
1436
|
+
@property --tw-outline-style {
|
|
1437
|
+
syntax: "*";
|
|
1438
|
+
inherits: false;
|
|
1439
|
+
initial-value: solid;
|
|
1440
|
+
}
|
|
1221
1441
|
@property --tw-blur {
|
|
1222
1442
|
syntax: "*";
|
|
1223
1443
|
inherits: false;
|
|
@@ -1309,6 +1529,7 @@
|
|
|
1309
1529
|
--tw-numeric-figure: initial;
|
|
1310
1530
|
--tw-numeric-spacing: initial;
|
|
1311
1531
|
--tw-numeric-fraction: initial;
|
|
1532
|
+
--tw-outline-style: solid;
|
|
1312
1533
|
--tw-blur: initial;
|
|
1313
1534
|
--tw-brightness: initial;
|
|
1314
1535
|
--tw-contrast: initial;
|
|
@@ -39,22 +39,22 @@ const FeatureServiceUiMobile = ({ serviceItem, showTopLabel, colors, isSoldOut,
|
|
|
39
39
|
const HOW_IT_WORKS_STEPS = [
|
|
40
40
|
{
|
|
41
41
|
icon: "flexible",
|
|
42
|
-
name: "
|
|
42
|
+
name: "Salida flexible",
|
|
43
43
|
text: "Viajas en un horario entre las 07:00 y las 10:00 AM del día elegido.",
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
icon: "bus",
|
|
47
|
-
name: "
|
|
47
|
+
name: "Empresa asignada",
|
|
48
48
|
text: "Una de las empresas confirmará tu viaje al instante tras el pago.",
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
icon: "price",
|
|
52
|
-
name: "
|
|
52
|
+
name: "Precio garantizado",
|
|
53
53
|
text: "Mejor precio garantizado. Sin cambios ni cancelación.",
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
icon: "ticket",
|
|
57
|
-
name: "
|
|
57
|
+
name: "¡Listo!",
|
|
58
58
|
text: "Recibe todos los detalles de tu viaje al instante tras la compra.",
|
|
59
59
|
},
|
|
60
60
|
];
|
|
@@ -88,7 +88,7 @@ const FeatureServiceUiMobile = ({ serviceItem, showTopLabel, colors, isSoldOut,
|
|
|
88
88
|
borderRadius: "14px",
|
|
89
89
|
} },
|
|
90
90
|
React.createElement("div", { className: "flex flex-col items-center px-[12px] pb-[8px] text-[13.33px] gap-[8px]" },
|
|
91
|
-
React.createElement("div", { className: "flex items-center gap-[10px] mt-[
|
|
91
|
+
React.createElement("div", { className: "flex items-center gap-[10px] mt-[16px]" },
|
|
92
92
|
React.createElement("span", null, "Salida flexible"),
|
|
93
93
|
React.createElement("div", { className: "bold-text font-[9px]", style: {
|
|
94
94
|
backgroundColor: "#FF5C60",
|
|
@@ -152,16 +152,18 @@ const FeatureServiceUiMobile = ({ serviceItem, showTopLabel, colors, isSoldOut,
|
|
|
152
152
|
})))))))),
|
|
153
153
|
React.createElement("div", { className: "border-t border-[#363c48] my-[8px]" }),
|
|
154
154
|
React.createElement("div", null,
|
|
155
|
-
React.createElement("span", { className: "text-[
|
|
156
|
-
React.createElement("div", { className: "flex gap-[8px] text-[white]" }, operators.map((op, idx) => (React.createElement("div", { key: idx, className: "flex min-w-0 flex-col items-center justify-center gap-[8px] rounded-[8px]", style: {
|
|
155
|
+
React.createElement("span", { className: "block w-full text-[14px] bold-text text-[white] mb-[10px]", style: { textAlign: "center" } }, "3 operadores compitiendo por tu compra"),
|
|
156
|
+
React.createElement("div", { className: "flex gap-[8px] text-[white]", style: { width: "100%" } }, operators.map((op, idx) => (React.createElement("div", { key: idx, className: "flex min-w-0 flex-col items-center justify-center gap-[8px] rounded-[8px]", style: {
|
|
157
|
+
flex: 1,
|
|
158
|
+
minWidth: 0,
|
|
157
159
|
height: "100px",
|
|
158
160
|
border: "1px solid #363c48",
|
|
159
161
|
backgroundColor: "#1a202e",
|
|
160
|
-
padding: "14px
|
|
162
|
+
padding: "14px 6px",
|
|
161
163
|
} },
|
|
162
164
|
React.createElement("img", { src: serviceItem.operator_details[0], alt: op.name, className: `h-[24px] max-w-full object-contain ${isSoldOut ? "grayscale" : ""}` }),
|
|
163
|
-
React.createElement("span", { className: "text-[12px] truncate max-w-full text-center" }, serviceItem.operator_details[2]),
|
|
164
|
-
React.createElement("span", { className: "text-[11px] mt-[6px]" }, op === null || op === void 0 ? void 0 : op.seatsAvailable))))),
|
|
165
|
+
React.createElement("span", { className: "text-[12px] truncate max-w-full text-center " }, serviceItem.operator_details[2]),
|
|
166
|
+
React.createElement("span", { className: "text-[11px] mt-[6px] whitespace-nowrap" }, op === null || op === void 0 ? void 0 : op.seatsAvailable))))),
|
|
165
167
|
React.createElement("div", { className: "flex w-full items-center justify-center gap-[6px] text-[12px] mt-[12px]", style: {
|
|
166
168
|
border: "1px solid #363c48",
|
|
167
169
|
backgroundColor: "#1a202e",
|
|
@@ -246,7 +248,7 @@ const FeatureServiceUiMobile = ({ serviceItem, showTopLabel, colors, isSoldOut,
|
|
|
246
248
|
React.createElement("div", { className: "flex flex-col" },
|
|
247
249
|
React.createElement("span", { className: "bold-text" }, step.name),
|
|
248
250
|
React.createElement("span", null, step.text)))))))))),
|
|
249
|
-
React.createElement("div", { className: "absolute -top-[11px] left-0 w-full flex items-center justify-
|
|
251
|
+
React.createElement("div", { className: "absolute -top-[11px] left-0 w-full flex items-center justify-center gap-[12px] z-10 " },
|
|
250
252
|
React.createElement("div", { className: "flex items-center gap-[6px] py-[5px] px-[14px] rounded-[38px] text-[12.5px] bg-[#FF8F45] text-white whitespace-nowrap" },
|
|
251
253
|
React.createElement("span", { className: "flex items-center" },
|
|
252
254
|
React.createElement(LottiePlayer, { animationData: serviceItem.icons.bombAnim, width: "14px", height: "14px" }),
|