@qite/tide-booking-component 1.4.111 → 1.4.113

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 (38) hide show
  1. package/build/build-cjs/index.js +320 -269
  2. package/build/build-cjs/src/search-results/components/search-results-container/search-results-container.d.ts +4 -1
  3. package/build/build-cjs/src/search-results/index.d.ts +1 -0
  4. package/build/build-cjs/src/shared/booking/summary.d.ts +1 -0
  5. package/build/build-cjs/src/shared/booking/travelers-form.d.ts +3 -3
  6. package/build/build-esm/index.js +319 -269
  7. package/build/build-esm/src/search-results/components/search-results-container/search-results-container.d.ts +4 -1
  8. package/build/build-esm/src/search-results/index.d.ts +1 -0
  9. package/build/build-esm/src/shared/booking/summary.d.ts +1 -0
  10. package/build/build-esm/src/shared/booking/travelers-form.d.ts +3 -3
  11. package/package.json +2 -2
  12. package/src/search-results/components/book-packaging-entry/index.tsx +90 -73
  13. package/src/search-results/components/search-results-container/search-results-container.tsx +19 -11
  14. package/src/search-results/index.tsx +3 -2
  15. package/src/shared/booking/booking-panel.tsx +1 -1
  16. package/src/shared/booking/summary.tsx +4 -1
  17. package/src/shared/booking/travelers-form.tsx +21 -17
  18. package/src/shared/translations/ar-SA.json +3 -1
  19. package/src/shared/translations/da-DK.json +3 -1
  20. package/src/shared/translations/de-DE.json +3 -1
  21. package/src/shared/translations/en-GB.json +3 -1
  22. package/src/shared/translations/es-ES.json +3 -1
  23. package/src/shared/translations/fr-BE.json +3 -1
  24. package/src/shared/translations/fr-FR.json +3 -1
  25. package/src/shared/translations/is-IS.json +3 -1
  26. package/src/shared/translations/it-IT.json +3 -1
  27. package/src/shared/translations/ja-JP.json +3 -1
  28. package/src/shared/translations/nl-BE.json +3 -1
  29. package/src/shared/translations/nl-NL.json +3 -1
  30. package/src/shared/translations/no-NO.json +3 -1
  31. package/src/shared/translations/pl-PL.json +3 -1
  32. package/src/shared/translations/pt-PT.json +3 -1
  33. package/src/shared/translations/sv-SE.json +3 -1
  34. package/styles/components/_booking.scss +43 -15
  35. package/styles/components/_cta.scss +2 -2
  36. package/styles/components/_flight-option.scss +1 -1
  37. package/styles/components/_step-indicators.scss +41 -15
  38. package/styles/components/_tree.scss +2 -2
@@ -225,7 +225,9 @@
225
225
  "VOUCHER_VALIDATE": "Voucher valideren",
226
226
  "ADD_VOUCHER": "Voucher toevoegen",
227
227
  "VOUCHER_VALID": "Voucher is geldig",
228
- "VOUCHER_INVALID": "Voucher is ongeldig"
228
+ "VOUCHER_INVALID": "Voucher is ongeldig",
229
+ "REDIRECT": "Redirecten naar betalingsprovider...",
230
+ "PROCESS_BOOKING": "Even geduld, we verwerken je boeking"
229
231
  },
230
232
  "CONFIRMATION": {
231
233
  "TITLE_TEXT_OFFER": "Uw offerte met nummer {0} is aangevraagd",
@@ -225,7 +225,9 @@
225
225
  "VOUCHER_VALIDATE": "Valider verdikupong",
226
226
  "ADD_VOUCHER": "Legg til verdikupong",
227
227
  "VOUCHER_VALID": "Verdikupongen er gyldig",
228
- "VOUCHER_INVALID": "Verdikupongen er ugyldig"
228
+ "VOUCHER_INVALID": "Verdikupongen er ugyldig",
229
+ "REDIRECT": "Omdirigerer til betalingsleverandør...",
230
+ "PROCESS_BOOKING": "Vennligst vent, bestillingen din behandles"
229
231
  },
230
232
  "CONFIRMATION": {
231
233
  "TITLE_TEXT_OFFER": "Tilbudet ditt med nummer {0} er forespurt",
@@ -225,7 +225,9 @@
225
225
  "VOUCHER_VALIDATE": "Zweryfikuj voucher",
226
226
  "ADD_VOUCHER": "Dodaj voucher",
227
227
  "VOUCHER_VALID": "Voucher jest ważny",
228
- "VOUCHER_INVALID": "Voucher jest nieważny"
228
+ "VOUCHER_INVALID": "Voucher jest nieważny",
229
+ "REDIRECT": "Przekierowanie do dostawcy płatności...",
230
+ "PROCESS_BOOKING": "Proszę czekać, Twoja rezerwacja jest przetwarzana"
229
231
  },
230
232
  "CONFIRMATION": {
231
233
  "TITLE_TEXT_OFFER": "Twoja wycena o numerze {0} została wysłana",
@@ -225,7 +225,9 @@
225
225
  "VOUCHER_VALIDATE": "Validar voucher",
226
226
  "ADD_VOUCHER": "Adicionar voucher",
227
227
  "VOUCHER_VALID": "O voucher é válido",
228
- "VOUCHER_INVALID": "O voucher não é válido"
228
+ "VOUCHER_INVALID": "O voucher não é válido",
229
+ "REDIRECT": "Redirecionando para o provedor de pagamento...",
230
+ "PROCESS_BOOKING": "Por favor, aguarde, sua reserva está sendo processada"
229
231
  },
230
232
  "CONFIRMATION": {
231
233
  "TITLE_TEXT_OFFER": "O seu orçamento com o número {0} foi solicitado",
@@ -225,7 +225,9 @@
225
225
  "VOUCHER_VALIDATE": "Validera voucher",
226
226
  "ADD_VOUCHER": "Lägg till voucher",
227
227
  "VOUCHER_VALID": "Vouchern är giltig",
228
- "VOUCHER_INVALID": "Vouchern är ogiltig"
228
+ "VOUCHER_INVALID": "Vouchern är ogiltig",
229
+ "REDIRECT": "Omdirigerar till betalningsleverantör...",
230
+ "PROCESS_BOOKING": "Vänligen vänta, din bokning behandlas"
229
231
  },
230
232
  "CONFIRMATION": {
231
233
  "TITLE_TEXT_OFFER": "Din offert med nummer {0} har begärts",
@@ -44,31 +44,44 @@
44
44
 
45
45
  &__navigator {
46
46
  gap: 15px;
47
+ position: fixed;
48
+ bottom: 0;
49
+ left: 0;
50
+ background-color: var(--tide-booking-white);
51
+ // outline: 2px solid var(--tide-booking-bg);
52
+ z-index: 11;
53
+ width: 100%;
47
54
 
48
55
  @include row--xs;
49
56
  justify-content: flex-end;
50
- padding: 0 15px;
51
- padding-top: 30px;
52
- padding-bottom: 60px;
53
- // background-color: $gray-light;
57
+ align-items: center;
58
+ padding: 15px;
54
59
 
55
60
  @include media-lg {
56
- padding: 0 15px;
57
- padding-top: 50px;
61
+ position: relative;
62
+ padding: 30px 15px;
63
+ background: var(--tide-booking-transparent);
58
64
  }
59
65
 
60
66
  .cta--secondary {
61
67
  width: 100%;
68
+
62
69
  @include media-xs {
63
70
  width: auto;
64
71
  margin-right: auto;
65
72
  }
66
73
  }
74
+
75
+ button {
76
+ @include media-xs {
77
+ max-width: 150px;
78
+ }
79
+ }
67
80
  }
68
81
 
69
82
  &__panel {
70
- width: 1200px;
71
- max-width: 100%;
83
+ width: 100%;
84
+ max-width: 1200px;
72
85
  @include column;
73
86
  border-radius: 15px * 0.3;
74
87
 
@@ -79,6 +92,14 @@
79
92
  @include media-xl {
80
93
  padding-right: 40px;
81
94
  }
95
+
96
+ &__wrapper {
97
+ margin-bottom: 155px;
98
+
99
+ @include media-lg {
100
+ margin-bottom: 0px;
101
+ }
102
+ }
82
103
  }
83
104
 
84
105
  &__panel-heading {
@@ -141,6 +162,12 @@
141
162
  display: flex;
142
163
  align-items: center;
143
164
  background: var(--tide-booking-sidebar-header-background);
165
+
166
+ min-height: 80px;
167
+
168
+ @include media-xl {
169
+ min-height: 100px;
170
+ }
144
171
  }
145
172
 
146
173
  &__product-body {
@@ -221,8 +248,8 @@
221
248
  &__sidebar {
222
249
  position: fixed;
223
250
  width: calc(100% - 0px);
224
- max-height: calc(100vh - 90px);
225
- bottom: 0;
251
+ max-height: calc(100dvh - 90px);
252
+ bottom: 75px;
226
253
  right: 0;
227
254
  transform: translate3D(0, calc(100% - 80px), 0);
228
255
  margin-left: auto;
@@ -240,11 +267,10 @@
240
267
  @include media-lg {
241
268
  position: sticky;
242
269
  width: 400px;
243
- max-height: none;
270
+ height: calc(100vh - 86px);
244
271
  top: 40px;
245
272
  bottom: initial;
246
273
  transform: none;
247
- min-height: 93vh;
248
274
  }
249
275
 
250
276
  .booking__product-heading {
@@ -256,7 +282,6 @@
256
282
  &__sidebar-frame {
257
283
  border-radius: var(--tide-booking-sidebar-frame-radius);
258
284
  background-color: var(--tide-booking-sidebar-body-background);
259
- height: calc(100vh - 86px);
260
285
  }
261
286
 
262
287
  &__sidebar--active {
@@ -583,7 +608,7 @@
583
608
 
584
609
  &.booking-card__group--package {
585
610
  padding: 40px 10px 20px;
586
- margin-top: -25px;
611
+ // margin-top: -25px;
587
612
  margin-bottom: 15px;
588
613
  transition: all 0.4s ease;
589
614
 
@@ -608,6 +633,7 @@
608
633
 
609
634
  .tree {
610
635
  padding-bottom: 0;
636
+
611
637
  @include media-lg {
612
638
  padding-bottom: 7.5px;
613
639
  }
@@ -620,6 +646,7 @@
620
646
 
621
647
  tr:last-child .tree {
622
648
  padding-bottom: 7.5px;
649
+
623
650
  @include media-lg {
624
651
  // empty but transition inherited
625
652
  }
@@ -721,7 +748,7 @@
721
748
 
722
749
  &__tag {
723
750
  position: absolute;
724
- top: 0px;
751
+ top: 15px;
725
752
  left: 0;
726
753
  padding: 6px 5px 6px 10px;
727
754
  font-size: 14px;
@@ -851,6 +878,7 @@
851
878
  color: var(--tide-booking-invalid);
852
879
  }
853
880
  }
881
+
854
882
  .icon {
855
883
  width: 50px;
856
884
  height: 50px;
@@ -104,8 +104,8 @@
104
104
 
105
105
  &--filter {
106
106
  position: absolute;
107
- right: 15px;
108
- top: -70px;
107
+ right: 0px;
108
+ top: -55px;
109
109
  width: auto;
110
110
  display: flex;
111
111
  align-items: center;
@@ -1031,7 +1031,7 @@
1031
1031
  gap: 20px;
1032
1032
  background: #fff;
1033
1033
  height: 100%;
1034
- max-height: 97.3vh;
1034
+ max-height: 100dvh;
1035
1035
  width: calc(100vw - 40px);
1036
1036
  padding: 20px;
1037
1037
  box-shadow: 0px 0px 5px rgba(158, 158, 158, 0.447);
@@ -3,8 +3,8 @@
3
3
  width: 100%;
4
4
  max-width: 100%;
5
5
  display: flex;
6
- padding-bottom: 15px;
7
- margin-bottom: 20px;
6
+ // padding-bottom: 15px;
7
+ // margin-bottom: 20px;
8
8
  overflow: hidden;
9
9
 
10
10
  &__items {
@@ -12,7 +12,7 @@
12
12
  width: 100%;
13
13
  max-width: 100vw;
14
14
  padding-bottom: 15px;
15
- margin-bottom: 22.5px;
15
+ margin-bottom: 30px;
16
16
  display: flex;
17
17
  flex-grow: 0;
18
18
  justify-content: space-between;
@@ -24,8 +24,12 @@
24
24
  width: 95%;
25
25
  height: 0;
26
26
  left: 2.5%;
27
- top: 20px;
27
+ top: 15px;
28
28
  border-bottom: var(--tide-booking-step-indicators-line-trough);
29
+
30
+ @include media-xs {
31
+ top: 20px;
32
+ }
29
33
  }
30
34
  }
31
35
 
@@ -70,14 +74,21 @@
70
74
  &:before {
71
75
  content: '';
72
76
  position: absolute;
73
- width: 17px;
74
- height: 6px;
75
- margin-top: -5px;
76
- margin-left: -2px;
77
+ width: 11px;
78
+ height: 5px;
79
+ margin-top: -6px;
80
+ margin-left: 0px;
77
81
  border-left: 2px solid;
78
82
  border-bottom: 2px solid;
79
83
  border-color: var(--tide-booking-step-indicators-icon-check-color-active);
80
84
  transform: rotate(-45deg);
85
+
86
+ @include media-xs {
87
+ width: 17px;
88
+ height: 6px;
89
+ margin-top: -5px;
90
+ margin-left: -2px;
91
+ }
81
92
  }
82
93
  }
83
94
 
@@ -106,14 +117,21 @@
106
117
  &:before {
107
118
  content: '';
108
119
  position: absolute;
109
- width: 17px;
110
- height: 6px;
111
- margin-top: -5px;
112
- margin-left: -2px;
120
+ width: 11px;
121
+ height: 5px;
122
+ margin-top: -6px;
123
+ margin-left: 0px;
113
124
  border-left: 2px solid;
114
125
  border-bottom: 2px solid;
115
126
  border-color: var(--tide-booking-step-indicators-icon-check-color-completed);
116
127
  transform: rotate(-45deg);
128
+
129
+ @include media-xs {
130
+ width: 17px;
131
+ height: 6px;
132
+ margin-top: -5px;
133
+ margin-left: -2px;
134
+ }
117
135
  }
118
136
  }
119
137
  }
@@ -121,17 +139,23 @@
121
139
  &__icon {
122
140
  @extend %reset;
123
141
  position: relative;
124
- width: 40px;
125
- height: 40px;
142
+ width: 30px;
143
+ height: 30px;
126
144
  padding-top: 2px;
127
145
  @include flex--centerXY;
128
- flex: 0 0 40px;
146
+ flex: 0 0 30px;
129
147
  border-radius: var(--tide-booking-step-indicators-icon-border-radius);
130
148
  font-family: var(--tide-booking-step-indicators-icon-font-family);
131
149
  color: var(--tide-booking-step-indicators-icon-color);
132
150
  background-color: var(--tide-booking-step-indicators-icon-background);
133
151
  @extend %transition-easing;
134
152
  z-index: 1;
153
+
154
+ @include media-xs {
155
+ width: 40px;
156
+ height: 40px;
157
+ flex: 0 0 40px;
158
+ }
135
159
  }
136
160
 
137
161
  &__text {
@@ -144,6 +168,7 @@
144
168
  line-height: 1.2;
145
169
  text-overflow: ellipsis;
146
170
  overflow: hidden;
171
+ display: none;
147
172
 
148
173
  @include media-xs {
149
174
  font-size: 12px;
@@ -151,6 +176,7 @@
151
176
 
152
177
  @include media-sm {
153
178
  font-size: 14px;
179
+ display: block;
154
180
  }
155
181
 
156
182
  @include media-md {
@@ -348,11 +348,11 @@
348
348
  }
349
349
 
350
350
  .radiobutton {
351
- padding: 2.5px 0 0 28px;
351
+ padding: 2.5px 0 2.5px 28px;
352
352
  flex-grow: 1;
353
353
 
354
354
  @include media-lg {
355
- padding: 15px 0px 0 28px;
355
+ padding: 15px 0px 15px 28px;
356
356
  }
357
357
 
358
358
  &__input {