@qite/tide-booking-component 1.4.109 → 1.4.111
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 +3613 -2276
- package/build/build-cjs/src/booking-wizard/components/step-route.d.ts +2 -2
- package/build/build-cjs/src/booking-wizard/features/sidebar/sidebar-flight.d.ts +1 -0
- package/build/build-cjs/src/booking-wizard/features/sidebar/sidebar-util.d.ts +2 -1
- package/build/build-cjs/src/booking-wizard/features/sidebar/sidebar.d.ts +0 -31
- package/build/build-cjs/src/booking-wizard/features/travelers-form/travelers-form.d.ts +1 -2
- package/build/build-cjs/src/search-results/components/book-packaging-entry/index.d.ts +8 -0
- package/build/build-cjs/src/search-results/components/book-packaging-entry/wl-sidebar.d.ts +7 -0
- package/build/build-cjs/src/search-results/components/spinner/spinner.d.ts +4 -1
- package/build/build-cjs/src/search-results/store/search-results-slice.d.ts +7 -1
- package/build/build-cjs/src/search-results/types.d.ts +3 -0
- package/build/build-cjs/src/shared/booking/booking-panel.d.ts +13 -0
- package/build/build-cjs/src/shared/booking/shared-confirmation.d.ts +25 -0
- package/build/build-cjs/src/shared/booking/shared-sidebar.d.ts +34 -0
- package/build/build-cjs/src/shared/booking/step-indicators.d.ts +7 -0
- package/build/build-cjs/src/shared/booking/summary.d.ts +43 -0
- package/build/build-cjs/src/shared/booking/travelers-form.d.ts +93 -0
- package/build/build-cjs/src/shared/components/flyin/flyin.d.ts +2 -0
- package/build/build-cjs/src/shared/components/flyin/packaging-flights-flyin.d.ts +2 -0
- package/build/build-cjs/src/shared/utils/booking-summary.d.ts +1 -0
- package/build/build-cjs/src/shared/utils/localization-util.d.ts +7 -0
- package/build/build-esm/index.js +3572 -2247
- package/build/build-esm/src/booking-wizard/components/step-route.d.ts +2 -2
- package/build/build-esm/src/booking-wizard/features/sidebar/sidebar-flight.d.ts +1 -0
- package/build/build-esm/src/booking-wizard/features/sidebar/sidebar-util.d.ts +2 -1
- package/build/build-esm/src/booking-wizard/features/sidebar/sidebar.d.ts +0 -31
- package/build/build-esm/src/booking-wizard/features/travelers-form/travelers-form.d.ts +1 -2
- package/build/build-esm/src/search-results/components/book-packaging-entry/index.d.ts +8 -0
- package/build/build-esm/src/search-results/components/book-packaging-entry/wl-sidebar.d.ts +7 -0
- package/build/build-esm/src/search-results/components/spinner/spinner.d.ts +4 -1
- package/build/build-esm/src/search-results/store/search-results-slice.d.ts +7 -1
- package/build/build-esm/src/search-results/types.d.ts +3 -0
- package/build/build-esm/src/shared/booking/booking-panel.d.ts +13 -0
- package/build/build-esm/src/shared/booking/shared-confirmation.d.ts +25 -0
- package/build/build-esm/src/shared/booking/shared-sidebar.d.ts +34 -0
- package/build/build-esm/src/shared/booking/step-indicators.d.ts +7 -0
- package/build/build-esm/src/shared/booking/summary.d.ts +43 -0
- package/build/build-esm/src/shared/booking/travelers-form.d.ts +93 -0
- package/build/build-esm/src/shared/components/flyin/flyin.d.ts +2 -0
- package/build/build-esm/src/shared/components/flyin/packaging-flights-flyin.d.ts +2 -0
- package/build/build-esm/src/shared/utils/booking-summary.d.ts +1 -0
- package/build/build-esm/src/shared/utils/localization-util.d.ts +7 -0
- package/package.json +2 -2
- package/src/booking-wizard/components/step-indicator.tsx +10 -31
- package/src/booking-wizard/components/step-route.tsx +39 -14
- package/src/booking-wizard/features/confirmation/confirmation.tsx +11 -55
- package/src/booking-wizard/features/sidebar/index.tsx +10 -4
- package/src/booking-wizard/features/sidebar/sidebar-flight.tsx +2 -2
- package/src/booking-wizard/features/sidebar/sidebar-util.ts +1 -5
- package/src/booking-wizard/features/sidebar/sidebar.tsx +331 -326
- package/src/booking-wizard/features/summary/summary.tsx +1 -1
- package/src/booking-wizard/features/travelers-form/travelers-form.tsx +84 -1010
- package/src/search-results/components/book-packaging-entry/index.tsx +229 -0
- package/src/search-results/components/book-packaging-entry/wl-sidebar.tsx +162 -0
- package/src/search-results/components/excursions/day-by-day-excursions.tsx +6 -2
- package/src/search-results/components/excursions/excursion-results.tsx +1 -1
- package/src/search-results/components/flight/flight-selection/independent-flight-selection.tsx +12 -3
- package/src/search-results/components/group-tour/group-tour-card.tsx +1 -1
- package/src/search-results/components/group-tour/group-tour-results.tsx +1 -1
- package/src/search-results/components/hotel/hotel-accommodation-results.tsx +6 -3
- package/src/search-results/components/itinerary/full-itinerary.tsx +1 -1
- package/src/search-results/components/itinerary/index.tsx +13 -12
- package/src/search-results/components/search-results-container/flight-search-results.tsx +1 -1
- package/src/search-results/components/search-results-container/search-results-container.tsx +280 -217
- package/src/search-results/components/spinner/spinner.tsx +12 -4
- package/src/search-results/store/search-results-slice.ts +22 -2
- package/src/search-results/types.ts +4 -0
- package/src/shared/booking/booking-panel.tsx +25 -0
- package/src/shared/booking/shared-confirmation.tsx +105 -0
- package/src/shared/booking/shared-sidebar.tsx +432 -0
- package/src/shared/booking/step-indicators.tsx +30 -0
- package/src/shared/booking/summary.tsx +380 -0
- package/src/shared/booking/travelers-form.tsx +870 -0
- package/src/shared/components/flyin/accommodation-flyin.tsx +3 -4
- package/src/shared/components/flyin/flights-flyin.tsx +1 -1
- package/src/shared/components/flyin/flyin.tsx +16 -9
- package/src/shared/components/flyin/group-tour-flyin.tsx +3 -4
- package/src/shared/components/flyin/packaging-flights-flyin.tsx +11 -4
- package/src/shared/components/icon.tsx +13 -0
- package/src/shared/translations/ar-SA.json +7 -1
- package/src/shared/translations/da-DK.json +7 -1
- package/src/shared/translations/de-DE.json +7 -1
- package/src/shared/translations/en-GB.json +8 -2
- package/src/shared/translations/es-ES.json +7 -1
- package/src/shared/translations/fr-BE.json +7 -1
- package/src/shared/translations/fr-FR.json +7 -1
- package/src/shared/translations/is-IS.json +7 -1
- package/src/shared/translations/it-IT.json +7 -1
- package/src/shared/translations/ja-JP.json +7 -1
- package/src/shared/translations/nl-BE.json +7 -1
- package/src/shared/translations/nl-NL.json +7 -1
- package/src/shared/translations/no-NO.json +7 -1
- package/src/shared/translations/pl-PL.json +7 -1
- package/src/shared/translations/pt-PT.json +7 -1
- package/src/shared/translations/sv-SE.json +7 -1
- package/src/shared/utils/booking-summary.tsx +46 -0
- package/src/shared/utils/localization-util.ts +8 -0
- package/src/shared/utils/tide-api-utils.ts +2 -2
- package/styles/components/_dropdown.scss +5 -0
- package/styles/components/_flyin.scss +43 -0
- package/styles/components/_loader.scss +82 -0
- package/styles/components/_search.scss +14 -2
- package/styles/content-blocks-variables.scss +14 -14
- /package/build/build-cjs/src/{booking-wizard/components → shared/booking}/product-card.d.ts +0 -0
- /package/build/build-esm/src/{booking-wizard/components → shared/booking}/product-card.d.ts +0 -0
- /package/src/{booking-wizard/components → shared/booking}/product-card.tsx +0 -0
|
@@ -52,6 +52,29 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
&--flight {
|
|
56
|
+
.flyin__panel {
|
|
57
|
+
@include mixins.media-sm {
|
|
58
|
+
width: 100%;
|
|
59
|
+
max-width: 1200px;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.flyin__content {
|
|
64
|
+
gap: 30px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.search__results__cards {
|
|
68
|
+
@include mixins.media-md {
|
|
69
|
+
grid-template-columns: repeat(1, 1fr);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@include mixins.media-lg {
|
|
73
|
+
grid-template-columns: repeat(1, 1fr);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
55
78
|
&__panel {
|
|
56
79
|
background: var(--tide-booking-gray-xlight);
|
|
57
80
|
height: 100%;
|
|
@@ -570,6 +593,26 @@
|
|
|
570
593
|
align-content: flex-start;
|
|
571
594
|
}
|
|
572
595
|
}
|
|
596
|
+
|
|
597
|
+
.cta--filter {
|
|
598
|
+
@include mixins.media-lg {
|
|
599
|
+
display: none;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.search__result {
|
|
604
|
+
&-row {
|
|
605
|
+
justify-content: flex-start;
|
|
606
|
+
gap: 15px;
|
|
607
|
+
flex-wrap: wrap;
|
|
608
|
+
|
|
609
|
+
&-filter {
|
|
610
|
+
@include mixins.media-xs {
|
|
611
|
+
margin-left: auto;
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
573
616
|
}
|
|
574
617
|
|
|
575
618
|
&__button {
|
|
@@ -35,6 +35,69 @@
|
|
|
35
35
|
width: 100%;
|
|
36
36
|
align-items: center;
|
|
37
37
|
}
|
|
38
|
+
|
|
39
|
+
&__container {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
align-items: center;
|
|
43
|
+
gap: 15px;
|
|
44
|
+
padding: 30px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__line {
|
|
48
|
+
width: 45px;
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: space-evenly;
|
|
51
|
+
|
|
52
|
+
&__text {
|
|
53
|
+
position: relative;
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
align-items: center;
|
|
57
|
+
text-transform: lowercase;
|
|
58
|
+
font-weight: 500;
|
|
59
|
+
font-size: 14px;
|
|
60
|
+
letter-spacing: 0.2px;
|
|
61
|
+
|
|
62
|
+
&::before,
|
|
63
|
+
&::after {
|
|
64
|
+
content: attr(data-text);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&::before {
|
|
68
|
+
color: var(--tide-booking-color-primary-light);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&::after {
|
|
72
|
+
color: var(--tide-booking-color-primary);
|
|
73
|
+
animation: text-animation 3.6s ease infinite;
|
|
74
|
+
position: absolute;
|
|
75
|
+
left: 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&__ball {
|
|
81
|
+
list-style: none;
|
|
82
|
+
width: 10px;
|
|
83
|
+
height: 10px;
|
|
84
|
+
border-radius: 50%;
|
|
85
|
+
background-color: var(--tide-booking-color-primary-light);
|
|
86
|
+
|
|
87
|
+
animation: bounce 2.1s ease-in-out infinite;
|
|
88
|
+
|
|
89
|
+
&--1 {
|
|
90
|
+
animation-delay: 0s;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&--2 {
|
|
94
|
+
animation-delay: 0.3s;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&--3 {
|
|
98
|
+
animation-delay: 0.6s;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
38
101
|
}
|
|
39
102
|
|
|
40
103
|
@keyframes spin {
|
|
@@ -68,3 +131,22 @@
|
|
|
68
131
|
text-shadow: 0.25em 0 0 var(--tide-booking-spinner-animation-color), 0.5em 0 0 var(--tide-booking-spinner-animation-color);
|
|
69
132
|
}
|
|
70
133
|
}
|
|
134
|
+
|
|
135
|
+
@keyframes bounce {
|
|
136
|
+
50% {
|
|
137
|
+
transform: translateY(-18px);
|
|
138
|
+
background-color: var(--tide-booking-color-primary);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@keyframes text-animation {
|
|
143
|
+
0% {
|
|
144
|
+
clip-path: inset(0 100% 0 0);
|
|
145
|
+
}
|
|
146
|
+
50% {
|
|
147
|
+
clip-path: inset(0);
|
|
148
|
+
}
|
|
149
|
+
100% {
|
|
150
|
+
clip-path: inset(0 0 0 100%);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
max-width: 360px;
|
|
44
44
|
width: 100%;
|
|
45
45
|
background-color: var(--tide-booking-search-filter-background);
|
|
46
|
-
border-radius: var(--tide-booking-search-filter-border-radius);
|
|
47
46
|
border: var(--tide-booking-search-filter-border);
|
|
48
47
|
height: 100%;
|
|
49
48
|
margin-bottom: 20px;
|
|
@@ -55,6 +54,7 @@
|
|
|
55
54
|
|
|
56
55
|
@include mixins.media-md {
|
|
57
56
|
grid-column: auto;
|
|
57
|
+
border-radius: var(--tide-booking-search-filter-border-radius);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
@include mixins.media-lg {
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
top: 0;
|
|
150
150
|
left: 0;
|
|
151
151
|
width: 100vw;
|
|
152
|
-
height:
|
|
152
|
+
height: 100dvh;
|
|
153
153
|
z-index: 100009;
|
|
154
154
|
|
|
155
155
|
// Initial hidden state
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
border-bottom-left-radius: 0px;
|
|
191
191
|
transform: translateX(0);
|
|
192
192
|
pointer-events: auto;
|
|
193
|
+
overflow-y: auto;
|
|
194
|
+
@extend %scrollbar-thin;
|
|
193
195
|
}
|
|
194
196
|
}
|
|
195
197
|
}
|
|
@@ -236,6 +238,11 @@
|
|
|
236
238
|
margin-bottom: 15px;
|
|
237
239
|
margin-top: 0;
|
|
238
240
|
padding-top: 15px;
|
|
241
|
+
padding-right: 60px;
|
|
242
|
+
|
|
243
|
+
@include mixins.media-lg {
|
|
244
|
+
padding-right: 15px;
|
|
245
|
+
}
|
|
239
246
|
}
|
|
240
247
|
|
|
241
248
|
&-link {
|
|
@@ -827,6 +834,11 @@
|
|
|
827
834
|
display: flex;
|
|
828
835
|
align-items: center;
|
|
829
836
|
padding-left: 15px;
|
|
837
|
+
gap: 10px;
|
|
838
|
+
|
|
839
|
+
svg {
|
|
840
|
+
fill: var(--tide-booking-gray-dark);
|
|
841
|
+
}
|
|
830
842
|
|
|
831
843
|
h3 {
|
|
832
844
|
display: flex;
|
|
@@ -68,28 +68,28 @@
|
|
|
68
68
|
--tide-booking-heading-color: var(--tide-booking-black);
|
|
69
69
|
|
|
70
70
|
//h1
|
|
71
|
-
--tide-booking-h1:
|
|
72
|
-
--tide-booking-h1-sm:
|
|
73
|
-
--tide-booking-h1-xl:
|
|
71
|
+
--tide-booking-h1: 32px;
|
|
72
|
+
--tide-booking-h1-sm: 40px;
|
|
73
|
+
--tide-booking-h1-xl: 40px;
|
|
74
74
|
|
|
75
75
|
//h2
|
|
76
|
-
--tide-booking-h2:
|
|
77
|
-
--tide-booking-h2-sm:
|
|
78
|
-
--tide-booking-h2-xl:
|
|
76
|
+
--tide-booking-h2: 24px;
|
|
77
|
+
--tide-booking-h2-sm: 32px;
|
|
78
|
+
--tide-booking-h2-xl: 32px;
|
|
79
79
|
|
|
80
80
|
//h3
|
|
81
|
-
--tide-booking-h3:
|
|
82
|
-
--tide-booking-h3-sm:
|
|
83
|
-
--tide-booking-h3-xl:
|
|
81
|
+
--tide-booking-h3: 18px;
|
|
82
|
+
--tide-booking-h3-sm: 24px;
|
|
83
|
+
--tide-booking-h3-xl: 24px;
|
|
84
84
|
|
|
85
85
|
//h4
|
|
86
|
-
--tide-booking-h4:
|
|
87
|
-
--tide-booking-h4-sm:
|
|
88
|
-
--tide-booking-h4-xl:
|
|
86
|
+
--tide-booking-h4: 16px;
|
|
87
|
+
--tide-booking-h4-sm: 18px;
|
|
88
|
+
--tide-booking-h4-xl: 18px;
|
|
89
89
|
|
|
90
90
|
//h5
|
|
91
|
-
--tide-booking-h5:
|
|
92
|
-
--tide-booking-h5-xl:
|
|
91
|
+
--tide-booking-h5: 16px;
|
|
92
|
+
--tide-booking-h5-xl: 18px;
|
|
93
93
|
|
|
94
94
|
//h6
|
|
95
95
|
--tide-booking-h6: 16px;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|