kupos-ui-components-lib 9.8.2 → 9.8.4

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 (31) hide show
  1. package/dist/KuposUIComponent.d.ts +3 -0
  2. package/dist/components/ServiceItem/ServiceItemDesktop.d.ts +1 -1
  3. package/dist/components/ServiceItem/ServiceItemDesktop.js +21 -21
  4. package/dist/components/ServiceItem/ServiceItemMobile.d.ts +1 -1
  5. package/dist/components/ServiceItem/ServiceItemMobile.js +16 -7
  6. package/dist/components/ServiceItem/mobileTypes.d.ts +33 -0
  7. package/dist/components/ServiceItem/types.d.ts +23 -7
  8. package/dist/styles.css +212 -3
  9. package/dist/ui/FeaturServiceUiMobile/FeatureServiceUiMobile.d.ts +2 -1
  10. package/dist/ui/FeaturServiceUiMobile/FeatureServiceUiMobile.js +81 -50
  11. package/dist/ui/FeatureServiceUI/FeatureServiceUi.d.ts +2 -1
  12. package/dist/ui/FeatureServiceUI/FeatureServiceUi.js +83 -44
  13. package/dist/ui/SeatSection/SeatSection.d.ts +1 -5
  14. package/dist/ui/SeatSection/SeatSection.js +6 -28
  15. package/dist/ui/mobileweb/SeatSectionMobile.js +1 -1
  16. package/dist/utils/CommonService.js +11 -1
  17. package/package.json +1 -1
  18. package/src/KuposUIComponent.tsx +3 -0
  19. package/src/assets/images/anims/service_list/flame_anim.json +1 -0
  20. package/src/assets/images/anims/service_list/thunder_icon.json +1 -0
  21. package/src/assets/images/anims/service_list/users_anim.json +1 -0
  22. package/src/components/ServiceItem/ServiceItemDesktop.tsx +57 -38
  23. package/src/components/ServiceItem/ServiceItemMobile.tsx +342 -286
  24. package/src/components/ServiceItem/mobileTypes.ts +30 -1
  25. package/src/components/ServiceItem/types.ts +24 -7
  26. package/src/styles.css +15 -0
  27. package/src/ui/FeaturServiceUiMobile/FeatureServiceUiMobile.tsx +556 -0
  28. package/src/ui/FeatureServiceUI/FeatureServiceUi.tsx +592 -0
  29. package/src/ui/SeatSection/SeatSection.tsx +11 -59
  30. package/src/ui/mobileweb/SeatSectionMobile.tsx +3 -2
  31. package/src/utils/CommonService.ts +13 -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,9 @@
75
84
  .-bottom-\[36px\] {
76
85
  bottom: calc(36px * -1);
77
86
  }
87
+ .bottom-\[11px\] {
88
+ bottom: 11px;
89
+ }
78
90
  .bottom-\[35px\] {
79
91
  bottom: 35px;
80
92
  }
@@ -168,9 +180,15 @@
168
180
  .m-\[auto\] {
169
181
  margin: auto;
170
182
  }
183
+ .mx-\[6px\] {
184
+ margin-inline: 6px;
185
+ }
171
186
  .mx-auto {
172
187
  margin-inline: auto;
173
188
  }
189
+ .my-\[8px\] {
190
+ margin-block: 8px;
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
  }
@@ -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
  }
@@ -449,6 +491,12 @@
449
491
  .max-w-\[165px\] {
450
492
  max-width: 165px;
451
493
  }
494
+ .max-w-\[220px\] {
495
+ max-width: 220px;
496
+ }
497
+ .max-w-full {
498
+ max-width: 100%;
499
+ }
452
500
  .min-w-\[75px\] {
453
501
  min-width: 75px;
454
502
  }
@@ -470,6 +518,9 @@
470
518
  --tw-translate-y: -10px;
471
519
  translate: var(--tw-translate-x) var(--tw-translate-y);
472
520
  }
521
+ .rotate-0 {
522
+ rotate: 0deg;
523
+ }
473
524
  .rotate-180 {
474
525
  rotate: 180deg;
475
526
  }
@@ -479,6 +530,9 @@
479
530
  .cursor-default {
480
531
  cursor: default;
481
532
  }
533
+ .cursor-not-allowed {
534
+ cursor: not-allowed;
535
+ }
482
536
  .cursor-pointer {
483
537
  cursor: pointer;
484
538
  }
@@ -491,12 +545,21 @@
491
545
  .grid-cols-2 {
492
546
  grid-template-columns: repeat(2, minmax(0, 1fr));
493
547
  }
548
+ .grid-cols-3 {
549
+ grid-template-columns: repeat(3, minmax(0, 1fr));
550
+ }
551
+ .grid-cols-4 {
552
+ grid-template-columns: repeat(4, minmax(0, 1fr));
553
+ }
494
554
  .grid-cols-\[0\.8fr_auto_26\%_1fr\] {
495
555
  grid-template-columns: 0.8fr auto 26% 1fr;
496
556
  }
497
557
  .grid-cols-\[1\.5fr_1fr_auto\] {
498
558
  grid-template-columns: 1.5fr 1fr auto;
499
559
  }
560
+ .grid-cols-\[25\%_48\%_27\%\] {
561
+ grid-template-columns: 25% 48% 27%;
562
+ }
500
563
  .grid-cols-\[26px_auto_26\%_1fr\] {
501
564
  grid-template-columns: 26px auto 26% 1fr;
502
565
  }
@@ -524,6 +587,9 @@
524
587
  .items-start {
525
588
  align-items: flex-start;
526
589
  }
590
+ .items-stretch {
591
+ align-items: stretch;
592
+ }
527
593
  .justify-between {
528
594
  justify-content: space-between;
529
595
  }
@@ -566,6 +632,12 @@
566
632
  .gap-\[14px\] {
567
633
  gap: 14px;
568
634
  }
635
+ .gap-\[16px\] {
636
+ gap: 16px;
637
+ }
638
+ .gap-\[20px\] {
639
+ gap: 20px;
640
+ }
569
641
  .gap-x-\[2\%\] {
570
642
  -moz-column-gap: 2%;
571
643
  column-gap: 2%;
@@ -574,12 +646,20 @@
574
646
  -moz-column-gap: 8px;
575
647
  column-gap: 8px;
576
648
  }
649
+ .truncate {
650
+ overflow: hidden;
651
+ text-overflow: ellipsis;
652
+ white-space: nowrap;
653
+ }
577
654
  .overflow-hidden {
578
655
  overflow: hidden;
579
656
  }
580
657
  .overflow-y-hidden {
581
658
  overflow-y: hidden;
582
659
  }
660
+ .rounded-\[4px\] {
661
+ border-radius: 4px;
662
+ }
583
663
  .rounded-\[8px\] {
584
664
  border-radius: 8px;
585
665
  }
@@ -592,6 +672,9 @@
592
672
  .rounded-\[15px\] {
593
673
  border-radius: 15px;
594
674
  }
675
+ .rounded-\[16px\] {
676
+ border-radius: 16px;
677
+ }
595
678
  .rounded-\[18px\] {
596
679
  border-radius: 18px;
597
680
  }
@@ -635,6 +718,10 @@
635
718
  border-top-style: var(--tw-border-style);
636
719
  border-top-width: 8px;
637
720
  }
721
+ .border-r {
722
+ border-right-style: var(--tw-border-style);
723
+ border-right-width: 1px;
724
+ }
638
725
  .border-r-8 {
639
726
  border-right-style: var(--tw-border-style);
640
727
  border-right-width: 8px;
@@ -663,6 +750,10 @@
663
750
  border-bottom-style: var(--tw-border-style);
664
751
  border-bottom-width: 8px;
665
752
  }
753
+ .border-l {
754
+ border-left-style: var(--tw-border-style);
755
+ border-left-width: 1px;
756
+ }
666
757
  .border-l-8 {
667
758
  border-left-style: var(--tw-border-style);
668
759
  border-left-width: 8px;
@@ -679,6 +770,9 @@
679
770
  --tw-border-style: none;
680
771
  border-style: none;
681
772
  }
773
+ .border-\[\#363c48\] {
774
+ border-color: #363c48;
775
+ }
682
776
  .border-\[\#ccc\] {
683
777
  border-color: #ccc;
684
778
  }
@@ -697,9 +791,24 @@
697
791
  .border-l-transparent {
698
792
  border-left-color: transparent;
699
793
  }
794
+ .bg-\[\#0C1421\] {
795
+ background-color: #0C1421;
796
+ }
797
+ .bg-\[\#2d374d\] {
798
+ background-color: #2d374d;
799
+ }
800
+ .bg-\[\#222b3d\] {
801
+ background-color: #222b3d;
802
+ }
700
803
  .bg-\[\#E6E6E6\] {
701
804
  background-color: #E6E6E6;
702
805
  }
806
+ .bg-\[\#FF5C60\] {
807
+ background-color: #FF5C60;
808
+ }
809
+ .bg-\[\#FF8F45\] {
810
+ background-color: #FF8F45;
811
+ }
703
812
  .bg-\[\#FFF2F2\] {
704
813
  background-color: #FFF2F2;
705
814
  }
@@ -718,6 +827,9 @@
718
827
  .bg-\[lightgray\] {
719
828
  background-color: lightgray;
720
829
  }
830
+ .bg-transparent {
831
+ background-color: transparent;
832
+ }
721
833
  .bg-\[length\:200\%_200\%\] {
722
834
  background-size: 200% 200%;
723
835
  }
@@ -740,6 +852,9 @@
740
852
  .p-\[10px_15px\] {
741
853
  padding: 10px 15px;
742
854
  }
855
+ .p-\[14px\] {
856
+ padding: 14px;
857
+ }
743
858
  .p-\[15px\] {
744
859
  padding: 15px;
745
860
  }
@@ -773,9 +888,18 @@
773
888
  .px-\[15px\] {
774
889
  padding-inline: 15px;
775
890
  }
891
+ .px-\[16px\] {
892
+ padding-inline: 16px;
893
+ }
776
894
  .px-\[20px\] {
777
895
  padding-inline: 20px;
778
896
  }
897
+ .px-\[22px\] {
898
+ padding-inline: 22px;
899
+ }
900
+ .py-\[2px\] {
901
+ padding-block: 2px;
902
+ }
779
903
  .py-\[4px\] {
780
904
  padding-block: 4px;
781
905
  }
@@ -788,6 +912,9 @@
788
912
  .py-\[8px\] {
789
913
  padding-block: 8px;
790
914
  }
915
+ .py-\[9px\] {
916
+ padding-block: 9px;
917
+ }
791
918
  .py-\[10px\] {
792
919
  padding-block: 10px;
793
920
  }
@@ -803,6 +930,9 @@
803
930
  .pt-\[10px\] {
804
931
  padding-top: 10px;
805
932
  }
933
+ .pt-\[14px\] {
934
+ padding-top: 14px;
935
+ }
806
936
  .pt-\[20px\] {
807
937
  padding-top: 20px;
808
938
  }
@@ -818,6 +948,9 @@
818
948
  .pt-\[50px\] {
819
949
  padding-top: 50px;
820
950
  }
951
+ .pr-\[10px\] {
952
+ padding-right: 10px;
953
+ }
821
954
  .pr-\[15px\] {
822
955
  padding-right: 15px;
823
956
  }
@@ -827,6 +960,9 @@
827
960
  .pr-\[22px\] {
828
961
  padding-right: 22px;
829
962
  }
963
+ .pb-\[6px\] {
964
+ padding-bottom: 6px;
965
+ }
830
966
  .pb-\[7px\] {
831
967
  padding-bottom: 7px;
832
968
  }
@@ -845,6 +981,9 @@
845
981
  .pl-\[6px\] {
846
982
  padding-left: 6px;
847
983
  }
984
+ .pl-\[22px\] {
985
+ padding-left: 22px;
986
+ }
848
987
  .text-center {
849
988
  text-align: center;
850
989
  }
@@ -860,9 +999,6 @@
860
999
  .text-right {
861
1000
  text-align: right;
862
1001
  }
863
- .text-\[9px\] {
864
- font-size: 9px;
865
- }
866
1002
  .text-\[10px\] {
867
1003
  font-size: 10px;
868
1004
  }
@@ -884,6 +1020,9 @@
884
1020
  .text-\[14px\] {
885
1021
  font-size: 14px;
886
1022
  }
1023
+ .text-\[16px\] {
1024
+ font-size: 16px;
1025
+ }
887
1026
  .text-\[17\.33px\] {
888
1027
  font-size: 17.33px;
889
1028
  }
@@ -896,6 +1035,15 @@
896
1035
  .text-\[22px\] {
897
1036
  font-size: 22px;
898
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
+ }
899
1047
  .text-\[42px\] {
900
1048
  font-size: 42px;
901
1049
  }
@@ -903,6 +1051,10 @@
903
1051
  --tw-leading: 1.3;
904
1052
  line-height: 1.3;
905
1053
  }
1054
+ .leading-\[14px\] {
1055
+ --tw-leading: 14px;
1056
+ line-height: 14px;
1057
+ }
906
1058
  .leading-\[20px\] {
907
1059
  --tw-leading: 20px;
908
1060
  line-height: 20px;
@@ -923,6 +1075,10 @@
923
1075
  --tw-leading: 1;
924
1076
  line-height: 1;
925
1077
  }
1078
+ .font-\[9px\] {
1079
+ --tw-font-weight: 9px;
1080
+ font-weight: 9px;
1081
+ }
926
1082
  .font-\[14px\] {
927
1083
  --tw-font-weight: 14px;
928
1084
  font-weight: 14px;
@@ -944,12 +1100,27 @@
944
1100
  .whitespace-nowrap {
945
1101
  white-space: nowrap;
946
1102
  }
1103
+ .text-\[\#1a1a1a\] {
1104
+ color: #1a1a1a;
1105
+ }
1106
+ .text-\[\#4a4a4a\] {
1107
+ color: #4a4a4a;
1108
+ }
947
1109
  .text-\[\#9f9f9f\] {
948
1110
  color: #9f9f9f;
949
1111
  }
1112
+ .text-\[\#666\] {
1113
+ color: #666;
1114
+ }
1115
+ .text-\[\#272727\] {
1116
+ color: #272727;
1117
+ }
950
1118
  .text-\[\#464647\] {
951
1119
  color: #464647;
952
1120
  }
1121
+ .text-\[\#FF8F45\] {
1122
+ color: #FF8F45;
1123
+ }
953
1124
  .text-\[\#c0c0c0\] {
954
1125
  color: #c0c0c0;
955
1126
  }
@@ -968,6 +1139,9 @@
968
1139
  .text-\[red\] {
969
1140
  color: red;
970
1141
  }
1142
+ .text-\[white\] {
1143
+ color: white;
1144
+ }
971
1145
  .capitalize {
972
1146
  text-transform: capitalize;
973
1147
  }
@@ -987,9 +1161,16 @@
987
1161
  .opacity-0 {
988
1162
  opacity: 0%;
989
1163
  }
1164
+ .opacity-50 {
1165
+ opacity: 50%;
1166
+ }
990
1167
  .opacity-100 {
991
1168
  opacity: 100%;
992
1169
  }
1170
+ .outline {
1171
+ outline-style: var(--tw-outline-style);
1172
+ outline-width: 1px;
1173
+ }
993
1174
  .grayscale {
994
1175
  --tw-grayscale: grayscale(100%);
995
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,);
@@ -1017,6 +1198,10 @@
1017
1198
  transition-timing-function: var(--tw-ease, ease);
1018
1199
  transition-duration: var(--tw-duration, 0s);
1019
1200
  }
1201
+ .duration-200 {
1202
+ --tw-duration: 200ms;
1203
+ transition-duration: 200ms;
1204
+ }
1020
1205
  .duration-300 {
1021
1206
  --tw-duration: 300ms;
1022
1207
  transition-duration: 300ms;
@@ -1025,6 +1210,11 @@
1025
1210
  --tw-outline-style: none;
1026
1211
  outline-style: none;
1027
1212
  }
1213
+ .select-none {
1214
+ -webkit-user-select: none;
1215
+ -moz-user-select: none;
1216
+ user-select: none;
1217
+ }
1028
1218
  .group-hover\:block {
1029
1219
  &:is(:where(.group):hover *) {
1030
1220
  @media (hover: hover) {
@@ -1164,6 +1354,19 @@
1164
1354
  .hide-scrollbar::-webkit-scrollbar {
1165
1355
  display: none;
1166
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
+ }
1167
1370
  .hide-scrollbar {
1168
1371
  -ms-overflow-style: none;
1169
1372
  scrollbar-width: none;
@@ -1236,6 +1439,11 @@
1236
1439
  syntax: "*";
1237
1440
  inherits: false;
1238
1441
  }
1442
+ @property --tw-outline-style {
1443
+ syntax: "*";
1444
+ inherits: false;
1445
+ initial-value: solid;
1446
+ }
1239
1447
  @property --tw-blur {
1240
1448
  syntax: "*";
1241
1449
  inherits: false;
@@ -1327,6 +1535,7 @@
1327
1535
  --tw-numeric-figure: initial;
1328
1536
  --tw-numeric-spacing: initial;
1329
1537
  --tw-numeric-fraction: initial;
1538
+ --tw-outline-style: solid;
1330
1539
  --tw-blur: initial;
1331
1540
  --tw-brightness: initial;
1332
1541
  --tw-contrast: initial;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- declare const FeatureServiceUiMobile: ({ serviceItem, showTopLabel, colors, isSoldOut, cityOrigin, cityDestination, renderIcon, viewersConfig, isFeatureDropDownExpand, onToggleExpand, ticketQuantity, onIncreaseTicketQuantity, onDecreaseTicketQuantity, onBookButtonPress, selectedTimeSlot, onTimeSlotChange, isTimeDropdownOpen, onTimeDropdownToggle, }: {
2
+ declare const FeatureServiceUiMobile: ({ serviceItem, showTopLabel, colors, isSoldOut, cityOrigin, cityDestination, renderIcon, viewersConfig, isFeatureDropDownExpand, onToggleExpand, ticketQuantity, onIncreaseTicketQuantity, onDecreaseTicketQuantity, onBookButtonPress, selectedTimeSlot, onTimeSlotChange, isTimeDropdownOpen, onTimeDropdownToggle, wowDealData, }: {
3
3
  serviceItem: any;
4
4
  showTopLabel: any;
5
5
  colors: any;
@@ -18,5 +18,6 @@ declare const FeatureServiceUiMobile: ({ serviceItem, showTopLabel, colors, isSo
18
18
  onTimeSlotChange: any;
19
19
  isTimeDropdownOpen: any;
20
20
  onTimeDropdownToggle: any;
21
+ wowDealData?: any;
21
22
  }) => React.JSX.Element;
22
23
  export default FeatureServiceUiMobile;