@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.
Files changed (106) hide show
  1. package/build/build-cjs/index.js +3613 -2276
  2. package/build/build-cjs/src/booking-wizard/components/step-route.d.ts +2 -2
  3. package/build/build-cjs/src/booking-wizard/features/sidebar/sidebar-flight.d.ts +1 -0
  4. package/build/build-cjs/src/booking-wizard/features/sidebar/sidebar-util.d.ts +2 -1
  5. package/build/build-cjs/src/booking-wizard/features/sidebar/sidebar.d.ts +0 -31
  6. package/build/build-cjs/src/booking-wizard/features/travelers-form/travelers-form.d.ts +1 -2
  7. package/build/build-cjs/src/search-results/components/book-packaging-entry/index.d.ts +8 -0
  8. package/build/build-cjs/src/search-results/components/book-packaging-entry/wl-sidebar.d.ts +7 -0
  9. package/build/build-cjs/src/search-results/components/spinner/spinner.d.ts +4 -1
  10. package/build/build-cjs/src/search-results/store/search-results-slice.d.ts +7 -1
  11. package/build/build-cjs/src/search-results/types.d.ts +3 -0
  12. package/build/build-cjs/src/shared/booking/booking-panel.d.ts +13 -0
  13. package/build/build-cjs/src/shared/booking/shared-confirmation.d.ts +25 -0
  14. package/build/build-cjs/src/shared/booking/shared-sidebar.d.ts +34 -0
  15. package/build/build-cjs/src/shared/booking/step-indicators.d.ts +7 -0
  16. package/build/build-cjs/src/shared/booking/summary.d.ts +43 -0
  17. package/build/build-cjs/src/shared/booking/travelers-form.d.ts +93 -0
  18. package/build/build-cjs/src/shared/components/flyin/flyin.d.ts +2 -0
  19. package/build/build-cjs/src/shared/components/flyin/packaging-flights-flyin.d.ts +2 -0
  20. package/build/build-cjs/src/shared/utils/booking-summary.d.ts +1 -0
  21. package/build/build-cjs/src/shared/utils/localization-util.d.ts +7 -0
  22. package/build/build-esm/index.js +3572 -2247
  23. package/build/build-esm/src/booking-wizard/components/step-route.d.ts +2 -2
  24. package/build/build-esm/src/booking-wizard/features/sidebar/sidebar-flight.d.ts +1 -0
  25. package/build/build-esm/src/booking-wizard/features/sidebar/sidebar-util.d.ts +2 -1
  26. package/build/build-esm/src/booking-wizard/features/sidebar/sidebar.d.ts +0 -31
  27. package/build/build-esm/src/booking-wizard/features/travelers-form/travelers-form.d.ts +1 -2
  28. package/build/build-esm/src/search-results/components/book-packaging-entry/index.d.ts +8 -0
  29. package/build/build-esm/src/search-results/components/book-packaging-entry/wl-sidebar.d.ts +7 -0
  30. package/build/build-esm/src/search-results/components/spinner/spinner.d.ts +4 -1
  31. package/build/build-esm/src/search-results/store/search-results-slice.d.ts +7 -1
  32. package/build/build-esm/src/search-results/types.d.ts +3 -0
  33. package/build/build-esm/src/shared/booking/booking-panel.d.ts +13 -0
  34. package/build/build-esm/src/shared/booking/shared-confirmation.d.ts +25 -0
  35. package/build/build-esm/src/shared/booking/shared-sidebar.d.ts +34 -0
  36. package/build/build-esm/src/shared/booking/step-indicators.d.ts +7 -0
  37. package/build/build-esm/src/shared/booking/summary.d.ts +43 -0
  38. package/build/build-esm/src/shared/booking/travelers-form.d.ts +93 -0
  39. package/build/build-esm/src/shared/components/flyin/flyin.d.ts +2 -0
  40. package/build/build-esm/src/shared/components/flyin/packaging-flights-flyin.d.ts +2 -0
  41. package/build/build-esm/src/shared/utils/booking-summary.d.ts +1 -0
  42. package/build/build-esm/src/shared/utils/localization-util.d.ts +7 -0
  43. package/package.json +2 -2
  44. package/src/booking-wizard/components/step-indicator.tsx +10 -31
  45. package/src/booking-wizard/components/step-route.tsx +39 -14
  46. package/src/booking-wizard/features/confirmation/confirmation.tsx +11 -55
  47. package/src/booking-wizard/features/sidebar/index.tsx +10 -4
  48. package/src/booking-wizard/features/sidebar/sidebar-flight.tsx +2 -2
  49. package/src/booking-wizard/features/sidebar/sidebar-util.ts +1 -5
  50. package/src/booking-wizard/features/sidebar/sidebar.tsx +331 -326
  51. package/src/booking-wizard/features/summary/summary.tsx +1 -1
  52. package/src/booking-wizard/features/travelers-form/travelers-form.tsx +84 -1010
  53. package/src/search-results/components/book-packaging-entry/index.tsx +229 -0
  54. package/src/search-results/components/book-packaging-entry/wl-sidebar.tsx +162 -0
  55. package/src/search-results/components/excursions/day-by-day-excursions.tsx +6 -2
  56. package/src/search-results/components/excursions/excursion-results.tsx +1 -1
  57. package/src/search-results/components/flight/flight-selection/independent-flight-selection.tsx +12 -3
  58. package/src/search-results/components/group-tour/group-tour-card.tsx +1 -1
  59. package/src/search-results/components/group-tour/group-tour-results.tsx +1 -1
  60. package/src/search-results/components/hotel/hotel-accommodation-results.tsx +6 -3
  61. package/src/search-results/components/itinerary/full-itinerary.tsx +1 -1
  62. package/src/search-results/components/itinerary/index.tsx +13 -12
  63. package/src/search-results/components/search-results-container/flight-search-results.tsx +1 -1
  64. package/src/search-results/components/search-results-container/search-results-container.tsx +280 -217
  65. package/src/search-results/components/spinner/spinner.tsx +12 -4
  66. package/src/search-results/store/search-results-slice.ts +22 -2
  67. package/src/search-results/types.ts +4 -0
  68. package/src/shared/booking/booking-panel.tsx +25 -0
  69. package/src/shared/booking/shared-confirmation.tsx +105 -0
  70. package/src/shared/booking/shared-sidebar.tsx +432 -0
  71. package/src/shared/booking/step-indicators.tsx +30 -0
  72. package/src/shared/booking/summary.tsx +380 -0
  73. package/src/shared/booking/travelers-form.tsx +870 -0
  74. package/src/shared/components/flyin/accommodation-flyin.tsx +3 -4
  75. package/src/shared/components/flyin/flights-flyin.tsx +1 -1
  76. package/src/shared/components/flyin/flyin.tsx +16 -9
  77. package/src/shared/components/flyin/group-tour-flyin.tsx +3 -4
  78. package/src/shared/components/flyin/packaging-flights-flyin.tsx +11 -4
  79. package/src/shared/components/icon.tsx +13 -0
  80. package/src/shared/translations/ar-SA.json +7 -1
  81. package/src/shared/translations/da-DK.json +7 -1
  82. package/src/shared/translations/de-DE.json +7 -1
  83. package/src/shared/translations/en-GB.json +8 -2
  84. package/src/shared/translations/es-ES.json +7 -1
  85. package/src/shared/translations/fr-BE.json +7 -1
  86. package/src/shared/translations/fr-FR.json +7 -1
  87. package/src/shared/translations/is-IS.json +7 -1
  88. package/src/shared/translations/it-IT.json +7 -1
  89. package/src/shared/translations/ja-JP.json +7 -1
  90. package/src/shared/translations/nl-BE.json +7 -1
  91. package/src/shared/translations/nl-NL.json +7 -1
  92. package/src/shared/translations/no-NO.json +7 -1
  93. package/src/shared/translations/pl-PL.json +7 -1
  94. package/src/shared/translations/pt-PT.json +7 -1
  95. package/src/shared/translations/sv-SE.json +7 -1
  96. package/src/shared/utils/booking-summary.tsx +46 -0
  97. package/src/shared/utils/localization-util.ts +8 -0
  98. package/src/shared/utils/tide-api-utils.ts +2 -2
  99. package/styles/components/_dropdown.scss +5 -0
  100. package/styles/components/_flyin.scss +43 -0
  101. package/styles/components/_loader.scss +82 -0
  102. package/styles/components/_search.scss +14 -2
  103. package/styles/content-blocks-variables.scss +14 -14
  104. /package/build/build-cjs/src/{booking-wizard/components → shared/booking}/product-card.d.ts +0 -0
  105. /package/build/build-esm/src/{booking-wizard/components → shared/booking}/product-card.d.ts +0 -0
  106. /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: 100vh;
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: 40px;
72
- --tide-booking-h1-sm: 56px;
73
- --tide-booking-h1-xl: 56px;
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: 32px;
77
- --tide-booking-h2-sm: 40px;
78
- --tide-booking-h2-xl: 40px;
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: 24px;
82
- --tide-booking-h3-sm: 32px;
83
- --tide-booking-h3-xl: 32px;
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: 18px;
87
- --tide-booking-h4-sm: 20px;
88
- --tide-booking-h4-xl: 20px;
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: 18px;
92
- --tide-booking-h5-xl: 20px;
91
+ --tide-booking-h5: 16px;
92
+ --tide-booking-h5-xl: 18px;
93
93
 
94
94
  //h6
95
95
  --tide-booking-h6: 16px;