@qite/tide-booking-component 1.4.28 → 1.4.30
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/build/build-cjs/index.js +687 -2853
- package/build/build-cjs/qsm/store/qsm-slice.d.ts +0 -1
- package/build/build-cjs/search-results/store/search-results-slice.d.ts +6 -3
- package/build/build-cjs/search-results/types.d.ts +9 -12
- package/build/build-esm/index.js +683 -2656
- package/build/build-esm/qsm/store/qsm-slice.d.ts +0 -1
- package/build/build-esm/search-results/store/search-results-slice.d.ts +6 -3
- package/build/build-esm/search-results/types.d.ts +9 -12
- package/package.json +2 -3
- package/src/booking-product/components/dates.tsx +9 -4
- package/src/qsm/components/QSMContainer/qsm-container.tsx +63 -2
- package/src/qsm/components/item-picker/index.tsx +1 -13
- package/src/qsm/components/search-input-group/index.tsx +17 -8
- package/src/qsm/store/qsm-slice.ts +0 -1
- package/src/search-results/components/hotel/hotel-accommodation-results.tsx +78 -83
- package/src/search-results/components/hotel/hotel-card.tsx +54 -24
- package/src/search-results/components/icon.tsx +13 -0
- package/src/search-results/components/item-picker/index.tsx +5 -7
- package/src/search-results/components/search-results-container/search-results-container.tsx +72 -117
- package/src/search-results/components/tab-views/index.tsx +22 -3
- package/src/search-results/features/flights/flight-search-results-self-contained.tsx +0 -13
- package/src/search-results/features/hotels/hotel-flight-search-results-self-contained.tsx +1 -8
- package/src/search-results/features/hotels/hotel-search-results-self-contained.tsx +1 -14
- package/src/search-results/features/roundtrips/roundtrip-search-results-self-contained.tsx +1 -9
- package/src/search-results/store/search-results-slice.ts +11 -4
- package/src/search-results/types.ts +11 -16
- package/styles/components/_form.scss +51 -2
- package/styles/components/_passenger-picker.scss +3 -2
- package/styles/components/_qsm.scss +1 -1
- package/styles/qsm/_qsm.scss +67 -6
|
@@ -1111,11 +1111,60 @@
|
|
|
1111
1111
|
}
|
|
1112
1112
|
|
|
1113
1113
|
.form__group-input:nth-child(1) .form__input {
|
|
1114
|
-
border-radius: 5px
|
|
1114
|
+
border-radius: 5px;
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
1117
1117
|
.form__group-input:nth-child(2) .form__input {
|
|
1118
|
-
border-radius:
|
|
1118
|
+
border-radius: 5px;
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
&--datepicker {
|
|
1123
|
+
@include column;
|
|
1124
|
+
align-items: center;
|
|
1125
|
+
gap: 10px;
|
|
1126
|
+
margin-bottom: 0px;
|
|
1127
|
+
position: relative;
|
|
1128
|
+
|
|
1129
|
+
@include media-sm {
|
|
1130
|
+
flex-direction: row;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.form__group-input {
|
|
1134
|
+
width: 100%;
|
|
1135
|
+
|
|
1136
|
+
@include media-sm {
|
|
1137
|
+
width: 50%;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
// &:nth-child(1),
|
|
1141
|
+
// &:nth-child(2) {
|
|
1142
|
+
// .form__input {
|
|
1143
|
+
// border-radius: 5px;
|
|
1144
|
+
// border-right: 1.5px solid var(--tide-booking-gray-background-light);
|
|
1145
|
+
// border-left: 1.5px solid var(--tide-booking-gray-background-light);
|
|
1146
|
+
// }
|
|
1147
|
+
// }
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
.qsm__panel {
|
|
1151
|
+
display: flex;
|
|
1152
|
+
background-color: rgba(255, 255, 255, 0.97);
|
|
1153
|
+
z-index: 98;
|
|
1154
|
+
visibility: hidden;
|
|
1155
|
+
opacity: 0;
|
|
1156
|
+
transition: all 0.3s ease-in-out;
|
|
1157
|
+
|
|
1158
|
+
&--active {
|
|
1159
|
+
visibility: visible;
|
|
1160
|
+
pointer-events: all;
|
|
1161
|
+
opacity: 1;
|
|
1162
|
+
width: 100vw;
|
|
1163
|
+
|
|
1164
|
+
@include media-sm {
|
|
1165
|
+
width: auto;
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1119
1168
|
}
|
|
1120
1169
|
}
|
|
1121
1170
|
|
|
@@ -208,7 +208,6 @@
|
|
|
208
208
|
gap: 5px;
|
|
209
209
|
|
|
210
210
|
@include mixins.media-sm {
|
|
211
|
-
width: 100%;
|
|
212
211
|
align-items: center;
|
|
213
212
|
flex-direction: row;
|
|
214
213
|
}
|
|
@@ -229,7 +228,6 @@
|
|
|
229
228
|
|
|
230
229
|
cursor: pointer;
|
|
231
230
|
text-align: left;
|
|
232
|
-
|
|
233
231
|
transition: all 0.5s;
|
|
234
232
|
|
|
235
233
|
&:hover {
|
|
@@ -267,6 +265,7 @@
|
|
|
267
265
|
bottom: auto;
|
|
268
266
|
|
|
269
267
|
width: 100%;
|
|
268
|
+
max-height: 250px;
|
|
270
269
|
margin: 0;
|
|
271
270
|
padding: 0;
|
|
272
271
|
|
|
@@ -275,6 +274,8 @@
|
|
|
275
274
|
border: var(--tide-booking-dropdown-menu-border);
|
|
276
275
|
border-radius: var(--tide-booking-dropdown-menu-border-radius);
|
|
277
276
|
box-shadow: var(--tide-booking-dropdown-menu-box-shadow);
|
|
277
|
+
overflow-y: auto;
|
|
278
|
+
@extend %scrollbar-thin;
|
|
278
279
|
|
|
279
280
|
li {
|
|
280
281
|
padding: 10px;
|
package/styles/qsm/_qsm.scss
CHANGED
|
@@ -48,6 +48,27 @@
|
|
|
48
48
|
z-index: 40; // was 9
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
&__panel {
|
|
52
|
+
@extend %reset;
|
|
53
|
+
position: fixed;
|
|
54
|
+
top: 0px;
|
|
55
|
+
left: 50%;
|
|
56
|
+
transform: translatex(-50%);
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
|
|
59
|
+
@include mixins.media-sm {
|
|
60
|
+
position: absolute;
|
|
61
|
+
border-radius: 5px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&__close {
|
|
66
|
+
position: absolute;
|
|
67
|
+
right: 15px;
|
|
68
|
+
top: 15px;
|
|
69
|
+
fill: var(--tide-booking-datepicker-close-color);
|
|
70
|
+
}
|
|
71
|
+
|
|
51
72
|
&__close-button {
|
|
52
73
|
position: absolute;
|
|
53
74
|
top: 2rem;
|
|
@@ -58,7 +79,7 @@
|
|
|
58
79
|
font-size: 20px;
|
|
59
80
|
text-decoration: underline;
|
|
60
81
|
cursor: pointer;
|
|
61
|
-
z-index: 20;
|
|
82
|
+
z-index: 20;
|
|
62
83
|
|
|
63
84
|
@include mixins.media-xl {
|
|
64
85
|
top: 2rem;
|
|
@@ -186,21 +207,21 @@
|
|
|
186
207
|
gap: 1rem;
|
|
187
208
|
|
|
188
209
|
@include mixins.media-md {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
align-items: center;
|
|
210
|
+
display: grid;
|
|
211
|
+
grid-template-columns: auto 1fr;
|
|
192
212
|
}
|
|
193
213
|
|
|
194
214
|
&__classgroup {
|
|
195
215
|
display: flex;
|
|
196
216
|
flex-direction: column;
|
|
197
217
|
gap: 1rem;
|
|
198
|
-
|
|
218
|
+
flex-wrap: wrap;
|
|
219
|
+
width: auto;
|
|
199
220
|
|
|
200
221
|
@include mixins.media-sm {
|
|
201
222
|
flex-direction: row;
|
|
202
223
|
align-items: center;
|
|
203
|
-
|
|
224
|
+
justify-content: flex-end;
|
|
204
225
|
}
|
|
205
226
|
}
|
|
206
227
|
|
|
@@ -211,6 +232,7 @@
|
|
|
211
232
|
@include mixins.media-sm {
|
|
212
233
|
flex-direction: row;
|
|
213
234
|
gap: 0rem;
|
|
235
|
+
margin-top: 10px;
|
|
214
236
|
}
|
|
215
237
|
}
|
|
216
238
|
}
|
|
@@ -1030,4 +1052,43 @@
|
|
|
1030
1052
|
// font-size: variables.$font-size-body;
|
|
1031
1053
|
// text-align: center;
|
|
1032
1054
|
// }
|
|
1055
|
+
|
|
1056
|
+
.qsm__input-group {
|
|
1057
|
+
.booking-product__dates {
|
|
1058
|
+
&-title {
|
|
1059
|
+
position: relative;
|
|
1060
|
+
z-index: 21;
|
|
1061
|
+
left: 0;
|
|
1062
|
+
top: 0rem;
|
|
1063
|
+
padding-bottom: 5px;
|
|
1064
|
+
font-size: var(--tide-booking-input-label-font-size);
|
|
1065
|
+
font-weight: var(--tide-booking-input-label-font-weight);
|
|
1066
|
+
color: var(--tide-booking-input-label-color);
|
|
1067
|
+
pointer-events: none;
|
|
1068
|
+
transition: all 0.2s ease;
|
|
1069
|
+
|
|
1070
|
+
svg {
|
|
1071
|
+
display: none;
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
.form__input {
|
|
1076
|
+
padding: 0px 10px;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
.form__label {
|
|
1080
|
+
display: none;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.qsm__pannel--mobile {
|
|
1085
|
+
top: 0;
|
|
1086
|
+
position: fixed;
|
|
1087
|
+
bottom: 0;
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
&:has(.qsm__panel--active) {
|
|
1092
|
+
z-index: 21;
|
|
1093
|
+
}
|
|
1033
1094
|
}
|