kupos-ui-components-lib 9.7.7 → 9.7.8

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.
@@ -124,19 +124,6 @@ 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;
140
127
  cancelTicketIcon?: string;
141
128
  changeTicketIcon?: string;
142
129
  petFriendlyIcon?: string;
@@ -146,7 +133,6 @@ export interface MobileServiceItemProps {
146
133
  useLottieFor?: string[];
147
134
  };
148
135
  onBookButtonPress?: () => void;
149
- onRemateUiButtonClick?: () => void;
150
136
  terminals?: any[];
151
137
  showDropdown?: boolean;
152
138
  setShowDropdown?: (value: boolean) => void;
@@ -201,22 +187,4 @@ export interface MobileServiceItemProps {
201
187
  label?: string;
202
188
  icon?: string;
203
189
  };
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;
222
190
  }
@@ -129,23 +129,11 @@ 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;
143
132
  [key: string]: string | Record<string, string | undefined> | undefined;
144
133
  };
145
134
  useLottieFor?: string[];
146
135
  };
147
136
  onBookButtonPress?: () => void;
148
- onRemateUiButtonClick?: () => void;
149
137
  terminals?: any[];
150
138
  t?: (key: string) => string;
151
139
  serviceDetailsLoading?: boolean;
@@ -225,11 +213,6 @@ export interface ServiceItemProps {
225
213
  isAllinBus?: boolean;
226
214
  isExpand?: any;
227
215
  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;
233
216
  coachKey?: number;
234
217
  viewersConfig?: {
235
218
  min: number;
@@ -238,12 +221,7 @@ export interface ServiceItemProps {
238
221
  label?: string;
239
222
  icon?: string;
240
223
  };
241
- isNewUi?: boolean;
242
224
  showLoginModal?: any;
243
225
  isLoggedIn?: any;
244
226
  showLoginOption?: boolean;
245
- selectedTimeSlot?: string;
246
- onTimeSlotChange?: (slot: string) => void;
247
- isTimeDropdownOpen?: string | number | null;
248
- onTimeDropdownToggle?: (id?: string | number | null) => void;
249
227
  }
package/dist/styles.css CHANGED
@@ -60,15 +60,9 @@
60
60
  .top-\[88\%\] {
61
61
  top: 88%;
62
62
  }
63
- .top-\[calc\(100\%\+10px\)\] {
64
- top: calc(100% + 10px);
65
- }
66
63
  .right-\[0px\] {
67
64
  right: 0px;
68
65
  }
69
- .right-\[18px\] {
70
- right: 18px;
71
- }
72
66
  .-bottom-\[9\%\] {
73
67
  bottom: calc(9% * -1);
74
68
  }
@@ -81,9 +75,6 @@
81
75
  .-bottom-\[36px\] {
82
76
  bottom: calc(36px * -1);
83
77
  }
84
- .bottom-\[11px\] {
85
- bottom: 11px;
86
- }
87
78
  .bottom-\[35px\] {
88
79
  bottom: 35px;
89
80
  }
@@ -177,18 +168,9 @@
177
168
  .m-\[auto\] {
178
169
  margin: auto;
179
170
  }
180
- .mx-\[10px\] {
181
- margin-inline: 10px;
182
- }
183
171
  .mx-auto {
184
172
  margin-inline: auto;
185
173
  }
186
- .my-\[8px\] {
187
- margin-block: 8px;
188
- }
189
- .my-\[14px\] {
190
- margin-block: 14px;
191
- }
192
174
  .-mt-\[15px\] {
193
175
  margin-top: calc(15px * -1);
194
176
  }
@@ -207,21 +189,12 @@
207
189
  .mt-\[5px\] {
208
190
  margin-top: 5px;
209
191
  }
210
- .mt-\[6px\] {
211
- margin-top: 6px;
212
- }
213
192
  .mt-\[10px\] {
214
193
  margin-top: 10px;
215
194
  }
216
- .mt-\[12px\] {
217
- margin-top: 12px;
218
- }
219
195
  .mt-\[13px\] {
220
196
  margin-top: 13px;
221
197
  }
222
- .mt-\[14px\] {
223
- margin-top: 14px;
224
- }
225
198
  .mt-\[15px\] {
226
199
  margin-top: 15px;
227
200
  }
@@ -312,9 +285,6 @@
312
285
  .ml-\[10px\] {
313
286
  margin-left: 10px;
314
287
  }
315
- .ml-\[12px\] {
316
- margin-left: 12px;
317
- }
318
288
  .ml-\[50px\] {
319
289
  margin-left: 50px;
320
290
  }
@@ -372,9 +342,6 @@
372
342
  .h-\[30px\] {
373
343
  height: 30px;
374
344
  }
375
- .h-\[34px\] {
376
- height: 34px;
377
- }
378
345
  .h-\[100\%\] {
379
346
  height: 100%;
380
347
  }
@@ -411,9 +378,6 @@
411
378
  .w-\[20px\] {
412
379
  width: 20px;
413
380
  }
414
- .w-\[34px\] {
415
- width: 34px;
416
- }
417
381
  .w-\[50\%\] {
418
382
  width: 50%;
419
383
  }
@@ -438,12 +402,6 @@
438
402
  .w-\[115px\] {
439
403
  width: 115px;
440
404
  }
441
- .w-\[120px\] {
442
- width: 120px;
443
- }
444
- .w-\[130px\] {
445
- width: 130px;
446
- }
447
405
  .w-\[150px\] {
448
406
  width: 150px;
449
407
  }
@@ -482,12 +440,6 @@
482
440
  .max-w-\[165px\] {
483
441
  max-width: 165px;
484
442
  }
485
- .max-w-\[220px\] {
486
- max-width: 220px;
487
- }
488
- .max-w-full {
489
- max-width: 100%;
490
- }
491
443
  .min-w-\[75px\] {
492
444
  min-width: 75px;
493
445
  }
@@ -509,9 +461,6 @@
509
461
  --tw-translate-y: -10px;
510
462
  translate: var(--tw-translate-x) var(--tw-translate-y);
511
463
  }
512
- .rotate-0 {
513
- rotate: 0deg;
514
- }
515
464
  .rotate-180 {
516
465
  rotate: 180deg;
517
466
  }
@@ -521,9 +470,6 @@
521
470
  .cursor-default {
522
471
  cursor: default;
523
472
  }
524
- .cursor-not-allowed {
525
- cursor: not-allowed;
526
- }
527
473
  .cursor-pointer {
528
474
  cursor: pointer;
529
475
  }
@@ -536,21 +482,12 @@
536
482
  .grid-cols-2 {
537
483
  grid-template-columns: repeat(2, minmax(0, 1fr));
538
484
  }
539
- .grid-cols-3 {
540
- grid-template-columns: repeat(3, minmax(0, 1fr));
541
- }
542
- .grid-cols-4 {
543
- grid-template-columns: repeat(4, minmax(0, 1fr));
544
- }
545
485
  .grid-cols-\[0\.8fr_auto_26\%_1fr\] {
546
486
  grid-template-columns: 0.8fr auto 26% 1fr;
547
487
  }
548
488
  .grid-cols-\[1\.5fr_1fr_auto\] {
549
489
  grid-template-columns: 1.5fr 1fr auto;
550
490
  }
551
- .grid-cols-\[25\%_48\%_27\%\] {
552
- grid-template-columns: 25% 48% 27%;
553
- }
554
491
  .grid-cols-\[26px_auto_26\%_1fr\] {
555
492
  grid-template-columns: 26px auto 26% 1fr;
556
493
  }
@@ -578,9 +515,6 @@
578
515
  .items-start {
579
516
  align-items: flex-start;
580
517
  }
581
- .items-stretch {
582
- align-items: stretch;
583
- }
584
518
  .justify-between {
585
519
  justify-content: space-between;
586
520
  }
@@ -623,12 +557,6 @@
623
557
  .gap-\[14px\] {
624
558
  gap: 14px;
625
559
  }
626
- .gap-\[16px\] {
627
- gap: 16px;
628
- }
629
- .gap-\[20px\] {
630
- gap: 20px;
631
- }
632
560
  .gap-x-\[2\%\] {
633
561
  -moz-column-gap: 2%;
634
562
  column-gap: 2%;
@@ -637,20 +565,12 @@
637
565
  -moz-column-gap: 8px;
638
566
  column-gap: 8px;
639
567
  }
640
- .truncate {
641
- overflow: hidden;
642
- text-overflow: ellipsis;
643
- white-space: nowrap;
644
- }
645
568
  .overflow-hidden {
646
569
  overflow: hidden;
647
570
  }
648
571
  .overflow-y-hidden {
649
572
  overflow-y: hidden;
650
573
  }
651
- .rounded-\[4px\] {
652
- border-radius: 4px;
653
- }
654
574
  .rounded-\[8px\] {
655
575
  border-radius: 8px;
656
576
  }
@@ -663,9 +583,6 @@
663
583
  .rounded-\[15px\] {
664
584
  border-radius: 15px;
665
585
  }
666
- .rounded-\[16px\] {
667
- border-radius: 16px;
668
- }
669
586
  .rounded-\[18px\] {
670
587
  border-radius: 18px;
671
588
  }
@@ -709,10 +626,6 @@
709
626
  border-top-style: var(--tw-border-style);
710
627
  border-top-width: 8px;
711
628
  }
712
- .border-r {
713
- border-right-style: var(--tw-border-style);
714
- border-right-width: 1px;
715
- }
716
629
  .border-r-8 {
717
630
  border-right-style: var(--tw-border-style);
718
631
  border-right-width: 8px;
@@ -741,10 +654,6 @@
741
654
  border-bottom-style: var(--tw-border-style);
742
655
  border-bottom-width: 8px;
743
656
  }
744
- .border-l {
745
- border-left-style: var(--tw-border-style);
746
- border-left-width: 1px;
747
- }
748
657
  .border-l-8 {
749
658
  border-left-style: var(--tw-border-style);
750
659
  border-left-width: 8px;
@@ -761,9 +670,6 @@
761
670
  --tw-border-style: none;
762
671
  border-style: none;
763
672
  }
764
- .border-\[\#363c48\] {
765
- border-color: #363c48;
766
- }
767
673
  .border-\[\#ccc\] {
768
674
  border-color: #ccc;
769
675
  }
@@ -782,24 +688,9 @@
782
688
  .border-l-transparent {
783
689
  border-left-color: transparent;
784
690
  }
785
- .bg-\[\#0C1421\] {
786
- background-color: #0C1421;
787
- }
788
- .bg-\[\#2d374d\] {
789
- background-color: #2d374d;
790
- }
791
- .bg-\[\#222b3d\] {
792
- background-color: #222b3d;
793
- }
794
691
  .bg-\[\#E6E6E6\] {
795
692
  background-color: #E6E6E6;
796
693
  }
797
- .bg-\[\#FF5C60\] {
798
- background-color: #FF5C60;
799
- }
800
- .bg-\[\#FF8F45\] {
801
- background-color: #FF8F45;
802
- }
803
694
  .bg-\[\#FFF2F2\] {
804
695
  background-color: #FFF2F2;
805
696
  }
@@ -818,9 +709,6 @@
818
709
  .bg-\[lightgray\] {
819
710
  background-color: lightgray;
820
711
  }
821
- .bg-transparent {
822
- background-color: transparent;
823
- }
824
712
  .bg-\[length\:200\%_200\%\] {
825
713
  background-size: 200% 200%;
826
714
  }
@@ -843,9 +731,6 @@
843
731
  .p-\[10px_15px\] {
844
732
  padding: 10px 15px;
845
733
  }
846
- .p-\[14px\] {
847
- padding: 14px;
848
- }
849
734
  .p-\[15px\] {
850
735
  padding: 15px;
851
736
  }
@@ -879,18 +764,9 @@
879
764
  .px-\[15px\] {
880
765
  padding-inline: 15px;
881
766
  }
882
- .px-\[16px\] {
883
- padding-inline: 16px;
884
- }
885
767
  .px-\[20px\] {
886
768
  padding-inline: 20px;
887
769
  }
888
- .px-\[22px\] {
889
- padding-inline: 22px;
890
- }
891
- .py-\[2px\] {
892
- padding-block: 2px;
893
- }
894
770
  .py-\[4px\] {
895
771
  padding-block: 4px;
896
772
  }
@@ -903,9 +779,6 @@
903
779
  .py-\[8px\] {
904
780
  padding-block: 8px;
905
781
  }
906
- .py-\[9px\] {
907
- padding-block: 9px;
908
- }
909
782
  .py-\[10px\] {
910
783
  padding-block: 10px;
911
784
  }
@@ -918,12 +791,6 @@
918
791
  .pt-\[6px\] {
919
792
  padding-top: 6px;
920
793
  }
921
- .pt-\[10px\] {
922
- padding-top: 10px;
923
- }
924
- .pt-\[14px\] {
925
- padding-top: 14px;
926
- }
927
794
  .pt-\[20px\] {
928
795
  padding-top: 20px;
929
796
  }
@@ -939,9 +806,6 @@
939
806
  .pt-\[50px\] {
940
807
  padding-top: 50px;
941
808
  }
942
- .pr-\[10px\] {
943
- padding-right: 10px;
944
- }
945
809
  .pr-\[15px\] {
946
810
  padding-right: 15px;
947
811
  }
@@ -951,9 +815,6 @@
951
815
  .pr-\[22px\] {
952
816
  padding-right: 22px;
953
817
  }
954
- .pb-\[6px\] {
955
- padding-bottom: 6px;
956
- }
957
818
  .pb-\[7px\] {
958
819
  padding-bottom: 7px;
959
820
  }
@@ -972,9 +833,6 @@
972
833
  .pl-\[6px\] {
973
834
  padding-left: 6px;
974
835
  }
975
- .pl-\[22px\] {
976
- padding-left: 22px;
977
- }
978
836
  .text-center {
979
837
  text-align: center;
980
838
  }
@@ -1011,9 +869,6 @@
1011
869
  .text-\[14px\] {
1012
870
  font-size: 14px;
1013
871
  }
1014
- .text-\[15px\] {
1015
- font-size: 15px;
1016
- }
1017
872
  .text-\[17\.33px\] {
1018
873
  font-size: 17.33px;
1019
874
  }
@@ -1023,21 +878,9 @@
1023
878
  .text-\[18px\] {
1024
879
  font-size: 18px;
1025
880
  }
1026
- .text-\[20px\] {
1027
- font-size: 20px;
1028
- }
1029
881
  .text-\[22px\] {
1030
882
  font-size: 22px;
1031
883
  }
1032
- .text-\[25px\] {
1033
- font-size: 25px;
1034
- }
1035
- .text-\[26px\] {
1036
- font-size: 26px;
1037
- }
1038
- .text-\[28px\] {
1039
- font-size: 28px;
1040
- }
1041
884
  .text-\[42px\] {
1042
885
  font-size: 42px;
1043
886
  }
@@ -1045,10 +888,6 @@
1045
888
  --tw-leading: 1.3;
1046
889
  line-height: 1.3;
1047
890
  }
1048
- .leading-\[14px\] {
1049
- --tw-leading: 14px;
1050
- line-height: 14px;
1051
- }
1052
891
  .leading-\[20px\] {
1053
892
  --tw-leading: 20px;
1054
893
  line-height: 20px;
@@ -1069,10 +908,6 @@
1069
908
  --tw-leading: 1;
1070
909
  line-height: 1;
1071
910
  }
1072
- .font-\[9px\] {
1073
- --tw-font-weight: 9px;
1074
- font-weight: 9px;
1075
- }
1076
911
  .font-\[14px\] {
1077
912
  --tw-font-weight: 14px;
1078
913
  font-weight: 14px;
@@ -1094,27 +929,12 @@
1094
929
  .whitespace-nowrap {
1095
930
  white-space: nowrap;
1096
931
  }
1097
- .text-\[\#1a1a1a\] {
1098
- color: #1a1a1a;
1099
- }
1100
- .text-\[\#4a4a4a\] {
1101
- color: #4a4a4a;
1102
- }
1103
932
  .text-\[\#9f9f9f\] {
1104
933
  color: #9f9f9f;
1105
934
  }
1106
- .text-\[\#666\] {
1107
- color: #666;
1108
- }
1109
- .text-\[\#272727\] {
1110
- color: #272727;
1111
- }
1112
935
  .text-\[\#464647\] {
1113
936
  color: #464647;
1114
937
  }
1115
- .text-\[\#FF8F45\] {
1116
- color: #FF8F45;
1117
- }
1118
938
  .text-\[\#c0c0c0\] {
1119
939
  color: #c0c0c0;
1120
940
  }
@@ -1130,12 +950,6 @@
1130
950
  .text-\[\#fff\] {
1131
951
  color: #fff;
1132
952
  }
1133
- .text-\[red\] {
1134
- color: red;
1135
- }
1136
- .text-\[white\] {
1137
- color: white;
1138
- }
1139
953
  .capitalize {
1140
954
  text-transform: capitalize;
1141
955
  }
@@ -1155,16 +969,9 @@
1155
969
  .opacity-0 {
1156
970
  opacity: 0%;
1157
971
  }
1158
- .opacity-50 {
1159
- opacity: 50%;
1160
- }
1161
972
  .opacity-100 {
1162
973
  opacity: 100%;
1163
974
  }
1164
- .outline {
1165
- outline-style: var(--tw-outline-style);
1166
- outline-width: 1px;
1167
- }
1168
975
  .grayscale {
1169
976
  --tw-grayscale: grayscale(100%);
1170
977
  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,);
@@ -1192,10 +999,6 @@
1192
999
  transition-timing-function: var(--tw-ease, ease);
1193
1000
  transition-duration: var(--tw-duration, 0s);
1194
1001
  }
1195
- .duration-200 {
1196
- --tw-duration: 200ms;
1197
- transition-duration: 200ms;
1198
- }
1199
1002
  .duration-300 {
1200
1003
  --tw-duration: 300ms;
1201
1004
  transition-duration: 300ms;
@@ -1204,11 +1007,6 @@
1204
1007
  --tw-outline-style: none;
1205
1008
  outline-style: none;
1206
1009
  }
1207
- .select-none {
1208
- -webkit-user-select: none;
1209
- -moz-user-select: none;
1210
- user-select: none;
1211
- }
1212
1010
  .group-hover\:block {
1213
1011
  &:is(:where(.group):hover *) {
1214
1012
  @media (hover: hover) {
@@ -1348,19 +1146,6 @@
1348
1146
  .hide-scrollbar::-webkit-scrollbar {
1349
1147
  display: none;
1350
1148
  }
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
- }
1364
1149
  .hide-scrollbar {
1365
1150
  -ms-overflow-style: none;
1366
1151
  scrollbar-width: none;
@@ -1433,11 +1218,6 @@
1433
1218
  syntax: "*";
1434
1219
  inherits: false;
1435
1220
  }
1436
- @property --tw-outline-style {
1437
- syntax: "*";
1438
- inherits: false;
1439
- initial-value: solid;
1440
- }
1441
1221
  @property --tw-blur {
1442
1222
  syntax: "*";
1443
1223
  inherits: false;
@@ -1529,7 +1309,6 @@
1529
1309
  --tw-numeric-figure: initial;
1530
1310
  --tw-numeric-spacing: initial;
1531
1311
  --tw-numeric-fraction: initial;
1532
- --tw-outline-style: solid;
1533
1312
  --tw-blur: initial;
1534
1313
  --tw-brightness: initial;
1535
1314
  --tw-contrast: initial;
@@ -145,7 +145,7 @@ const FeatureServiceUi = ({ serviceItem, showTopLabel, isSoldOut, getAnimationIc
145
145
  return (React.createElement("button", { key: slot, type: "button", onClick: () => {
146
146
  onTimeSlotChange === null || onTimeSlotChange === void 0 ? void 0 : onTimeSlotChange(slot);
147
147
  onTimeDropdownToggle === null || onTimeDropdownToggle === void 0 ? void 0 : onTimeDropdownToggle(null);
148
- }, className: `flex w-full cursor-pointer items-center gap-[10px] border-none px-[12px] py-[9px] text-left text-[13px] ${isActive ? "bg-[#FF5C60] font-bold text-[white]" : "bg-transparent font-normal text-[#1a1a1a]"}` },
148
+ }, className: `flex w-full cursor-pointer items-center gap-[10px] border-none px-[12px] py-[9px] text-left text-[13px] ${isActive ? "bg-[#fef1ec] font-bold text-[#ff8f45]" : "bg-transparent font-normal text-[#464647] hover:bg-[#ff5c60] hover:text-white"}` },
149
149
  React.createElement("span", null, slot)));
150
150
  }))))),
151
151
  React.createElement("div", { className: "text-[11px] bold-text" }, "Viernes 23 de mayo")),
@@ -296,14 +296,10 @@ const commonService = {
296
296
  startViewerCount: (node, viewersConfig) => {
297
297
  if (!node || !viewersConfig)
298
298
  return;
299
- const { min, max, interval = 5000 } = viewersConfig;
300
- const configKey = `${min}-${max}-${interval}`;
301
- if (node.dataset.viewerId && node.dataset.viewerConfig === configKey) {
302
- return;
303
- }
304
299
  const prevId = node.dataset.viewerId;
305
300
  if (prevId)
306
301
  clearInterval(Number(prevId));
302
+ const { min, max, interval = 5000 } = viewersConfig;
307
303
  const clamp = (v) => Math.min(max, Math.max(min, v));
308
304
  const initialValue = Math.floor(Math.random() * (max - min + 1)) + min;
309
305
  node.textContent = String(initialValue);
@@ -314,7 +310,6 @@ const commonService = {
314
310
  node.textContent = String(clamp(Math.round(next)));
315
311
  }, interval);
316
312
  node.dataset.viewerId = String(id);
317
- node.dataset.viewerConfig = configKey;
318
313
  },
319
314
  startCountdown: (node, countdownSeconds = 599) => {
320
315
  if (!node)
@@ -344,10 +339,6 @@ const commonService = {
344
339
  startComprandoCount: (node, min = 4, max = 16) => {
345
340
  if (!node)
346
341
  return;
347
- const configKey = `${min}-${max}`;
348
- if (node.dataset.comprandoId && node.dataset.comprandoConfig === configKey) {
349
- return;
350
- }
351
342
  const prevId = node.dataset.comprandoId;
352
343
  if (prevId)
353
344
  clearInterval(Number(prevId));
@@ -364,7 +355,6 @@ const commonService = {
364
355
  node.textContent = String(next);
365
356
  }, 5000); // Update every 5 seconds
366
357
  node.dataset.comprandoId = String(id);
367
- node.dataset.comprandoConfig = configKey;
368
358
  },
369
359
  };
370
360
  export default commonService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kupos-ui-components-lib",
3
- "version": "9.7.7",
3
+ "version": "9.7.8",
4
4
  "description": "A reusable UI components package",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -32,9 +32,6 @@ interface KuposUIComponentProps {
32
32
  orignLabel?: string;
33
33
  destinationLabel?: string;
34
34
  t?: (key: string) => string;
35
- ticketQuantity?: number;
36
- onIncreaseTicketQuantity?: (serviceItem: any) => void;
37
- onDecreaseTicketQuantity?: (serviceItem: any) => void;
38
35
 
39
36
  // New ServiceItem props
40
37
  id?: string;