@qite/tide-components 1.0.13-preview.0 → 1.0.14

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 (93) hide show
  1. package/build/build-cjs/index.js +1664 -2414
  2. package/build/build-cjs/src/booking-wizard/features/booking/selectors.d.ts +1 -1
  3. package/build/build-cjs/src/booking-wizard/features/travelers-form/validate-form.d.ts +2 -2
  4. package/build/build-cjs/src/booking-wizard/types.d.ts +3 -23
  5. package/build/build-cjs/src/search-results/components/flight/flight-selection/independent-flight-option.d.ts +0 -2
  6. package/build/build-cjs/src/search-results/components/itinerary/index.d.ts +0 -1
  7. package/build/build-cjs/src/search-results/components/itinerary/itinerary-utils.d.ts +0 -1
  8. package/build/build-cjs/src/search-results/types.d.ts +0 -8
  9. package/build/build-cjs/src/search-results/utils/traject-utils.d.ts +0 -7
  10. package/build/build-cjs/src/shared/booking/travelers-form.d.ts +8 -13
  11. package/build/build-esm/index.js +1666 -2416
  12. package/build/build-esm/src/booking-wizard/features/booking/selectors.d.ts +1 -1
  13. package/build/build-esm/src/booking-wizard/features/travelers-form/validate-form.d.ts +2 -2
  14. package/build/build-esm/src/booking-wizard/types.d.ts +3 -23
  15. package/build/build-esm/src/search-results/components/flight/flight-selection/independent-flight-option.d.ts +0 -2
  16. package/build/build-esm/src/search-results/components/itinerary/index.d.ts +0 -1
  17. package/build/build-esm/src/search-results/components/itinerary/itinerary-utils.d.ts +0 -1
  18. package/build/build-esm/src/search-results/types.d.ts +0 -8
  19. package/build/build-esm/src/search-results/utils/traject-utils.d.ts +0 -7
  20. package/build/build-esm/src/shared/booking/travelers-form.d.ts +8 -13
  21. package/package.json +2 -2
  22. package/styles/abstracts/_mixins.scss +74 -74
  23. package/styles/abstracts/_variables.scss +57 -57
  24. package/styles/base/_fonts.scss +2 -2
  25. package/styles/base/_normalize.scss +227 -227
  26. package/styles/base/_typography.scss +35 -35
  27. package/styles/booking-joker-variables.scss +596 -596
  28. package/styles/booking-product-variables.scss +330 -330
  29. package/styles/booking-product.scss +438 -438
  30. package/styles/booking-qsm-variables.scss +501 -501
  31. package/styles/booking-qsm.scss +52 -52
  32. package/styles/booking-search-results-variables.scss +734 -734
  33. package/styles/booking-search-results.scss +53 -53
  34. package/styles/booking-wizard-variables.scss +603 -603
  35. package/styles/booking-wizard.scss +61 -61
  36. package/styles/components/_accordion.scss +67 -67
  37. package/styles/components/_animations.scss +39 -39
  38. package/styles/components/_base.scss +107 -107
  39. package/styles/components/_booking.scss +906 -906
  40. package/styles/components/_breadcrumb.scss +92 -92
  41. package/styles/components/_button.scss +238 -238
  42. package/styles/components/_checkbox.scss +230 -230
  43. package/styles/components/_contact.scss +255 -255
  44. package/styles/components/_content.scss +336 -336
  45. package/styles/components/_cta.scss +238 -238
  46. package/styles/components/_date-list.scss +41 -41
  47. package/styles/components/_date-range-picker.scss +223 -223
  48. package/styles/components/_decrement-increment.scss +35 -35
  49. package/styles/components/_dropdown.scss +77 -77
  50. package/styles/components/_error.scss +50 -50
  51. package/styles/components/_faq.scss +30 -30
  52. package/styles/components/_flight-option.scss +1444 -1432
  53. package/styles/components/_flyin.scss +830 -830
  54. package/styles/components/_footer.scss +135 -135
  55. package/styles/components/_form.scss +1704 -1704
  56. package/styles/components/_gallery.scss +317 -317
  57. package/styles/components/_header.scss +113 -113
  58. package/styles/components/_image-with-text.scss +206 -206
  59. package/styles/components/_img-slider.scss +175 -175
  60. package/styles/components/_info-message.scss +75 -75
  61. package/styles/components/_input.scss +35 -35
  62. package/styles/components/_list.scss +185 -185
  63. package/styles/components/_loader.scss +152 -152
  64. package/styles/components/_login.scss +140 -140
  65. package/styles/components/_map-view.scss +1100 -1100
  66. package/styles/components/_mixins.scss +579 -579
  67. package/styles/components/_navbar.scss +765 -765
  68. package/styles/components/_passenger-picker.scss +306 -306
  69. package/styles/components/_phone-input.scss +8 -8
  70. package/styles/components/_placeholders.scss +165 -165
  71. package/styles/components/_pricing-summary.scss +163 -163
  72. package/styles/components/_qsm.scss +17 -17
  73. package/styles/components/_radiobutton.scss +170 -170
  74. package/styles/components/_search.scss +2197 -2197
  75. package/styles/components/_select-wrapper.scss +81 -81
  76. package/styles/components/_slider.scss +120 -120
  77. package/styles/components/_spinner.scss +29 -29
  78. package/styles/components/_step-indicators.scss +187 -187
  79. package/styles/components/_table.scss +81 -81
  80. package/styles/components/_tide-form.scss +578 -578
  81. package/styles/components/_tree.scss +648 -648
  82. package/styles/components/_typeahead.scss +275 -275
  83. package/styles/components/_variables.scss +89 -89
  84. package/styles/content-blocks-variables.scss +543 -543
  85. package/styles/content-blocks.scss +66 -66
  86. package/styles/font.scss +2 -2
  87. package/styles/qsm/_calendar.scss +274 -274
  88. package/styles/qsm/_qsm.scss +1097 -1097
  89. package/styles/search.scss +1200 -1200
  90. package/styles/tide-form-variables.scss +275 -275
  91. package/styles/tide-form.scss +56 -56
  92. package/build/build-cjs/src/search-results/utils/booked-entry-utils.d.ts +0 -20
  93. package/build/build-esm/src/search-results/utils/booked-entry-utils.d.ts +0 -20
@@ -1,275 +1,275 @@
1
- .typeahead {
2
- position: relative;
3
- width: 100%;
4
- @include column;
5
- z-index: 97;
6
-
7
- &__trigger {
8
- position: relative;
9
- width: 100%;
10
- @include flex--centerY;
11
-
12
- &:focus,
13
- &:active {
14
- .form__input {
15
- border: var(--tide-booking-form-typeahead-agent-border-hover);
16
- }
17
-
18
- svg {
19
- fill: var(--tide-booking-form-typeahead-agent-icon-color-hover);
20
- }
21
- }
22
-
23
- &--icon {
24
- .icon {
25
- width: 18px;
26
- height: 24px;
27
- position: absolute;
28
- left: 15px;
29
-
30
- fill: var(--tide-booking-form-typeahead-agent-icon-color);
31
-
32
- @include media-md {
33
- display: flex;
34
- }
35
- }
36
-
37
- .form__input {
38
- padding-top: 0;
39
- padding-left: 15px * 3;
40
-
41
- @include media-md {
42
- }
43
- }
44
- }
45
- }
46
-
47
- &__options {
48
- width: 100%;
49
- max-height: 25vh;
50
- @include column;
51
- border-radius: var(--tide-booking-form-typeahead-agent-options-border-radius);
52
- backdrop-filter: blur(30px);
53
- background-color: var(--tide-booking-form-typeahead-agent-options-background);
54
- box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
55
- border: var(--tide-booking-form-typeahead-agent-options-border);
56
- overflow-y: auto;
57
- // position: absolute;
58
- // top: 45px;
59
- @extend %scrollbar-thin;
60
-
61
- @include media-sm {
62
- max-height: 35vh !important;
63
- }
64
-
65
- @include media-md {
66
- max-height: 350px !important;
67
- }
68
-
69
- @include media-xl {
70
- max-height: 400px !important;
71
- }
72
-
73
- @include media-xxl {
74
- max-height: 500px !important;
75
- }
76
- }
77
-
78
- &__options-body {
79
- @extend %reset;
80
- width: 100%;
81
- @include column;
82
- }
83
-
84
- &__options-actions {
85
- @extend %reset;
86
- position: sticky;
87
- width: 100%;
88
- bottom: 0;
89
- padding: 0 15px * 0.7 15px * 0.7 15px * 0.7;
90
- margin-top: auto;
91
- // background-color: yellow;
92
- }
93
-
94
- &__option {
95
- @extend %reset;
96
- width: 100%;
97
- @include column;
98
- flex-shrink: 0;
99
- color: var(--tide-booking-form-typeahead-agent-options-color);
100
- transition-duration: 0.2s;
101
- transition-property: color, background-color;
102
- transition-timing-function: ease-out;
103
-
104
- &:hover,
105
- &:focus,
106
- &:active {
107
- // background-color: yellow;
108
- }
109
- }
110
-
111
- .typeahead__option + .typeahead__option {
112
- border-top: var(--tide-booking-form-typeahead-agent-options-border);
113
- }
114
-
115
- &__option-description {
116
- display: flex;
117
- flex-flow: row wrap;
118
- font-size: 14px;
119
- white-space: pre-wrap;
120
- }
121
-
122
- &__option-header {
123
- display: flex;
124
- }
125
-
126
- &__option-heading {
127
- @include lineclamp($lineclamp-amount: 2);
128
- line-height: 1.4;
129
- white-space: pre-wrap;
130
- }
131
-
132
- &__option-highlight {
133
- font-style: normal;
134
- font-weight: var(--tide-booking-form-typeahead-agent-options-font-weight-highlight);
135
- color: var(--tide-booking-form-typeahead-agent-options-color-highlight);
136
- margin-right: 5px;
137
- @extend %transition-easing;
138
- }
139
-
140
- &__option-label {
141
- margin-top: 15px * 0.3;
142
- margin-left: 15px * 0.7;
143
- font-size: 14px;
144
- font-style: italic;
145
- line-height: 1;
146
- @include lineclamp();
147
- }
148
-
149
- &__option-heading + &__option-label {
150
- flex-shrink: 0;
151
- }
152
-
153
- &__option--icon {
154
- position: relative;
155
- padding: 10px 15px 10px 45px;
156
- font-size: 16px;
157
-
158
- &:hover,
159
- &:focus,
160
- &:active {
161
- .typeahead__option-highlight {
162
- // color: yellow;
163
- }
164
- }
165
- }
166
-
167
- &__option--icon + &__option {
168
- padding-bottom: 15px;
169
- border-top: 0;
170
- }
171
-
172
- &__region {
173
- @extend %reset;
174
- width: 100%;
175
-
176
- & + & {
177
- // border-top: 1.5px solid yellow;
178
- }
179
- }
180
-
181
- &--active {
182
- .typeahead__options {
183
- display: flex;
184
- }
185
- }
186
- }
187
-
188
- .booking__panel .typeahead__options {
189
- // border: 0.1rem solid yellow;
190
- }
191
-
192
- .qsm--inline .typeahead__trigger--icon .form__input {
193
- padding-top: 1.6rem;
194
- }
195
-
196
- .qsm--inline .typeahead--active .typeahead__options {
197
- display: flex;
198
- }
199
-
200
- .qsm--inline .typeahead {
201
- @include media-sm {
202
- z-index: initial;
203
- }
204
-
205
- &__options {
206
- max-height: 60vh;
207
- backdrop-filter: none;
208
- background-color: transparent;
209
- box-shadow: none;
210
- border: none;
211
- overflow-y: auto;
212
-
213
- @include media-sm {
214
- min-height: auto;
215
- backdrop-filter: none;
216
- background-color: transparent;
217
- box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
218
- }
219
- }
220
-
221
- &__trigger {
222
- .typeahead__trigger {
223
- margin-bottom: 1.5rem;
224
- }
225
- }
226
-
227
- .qsm__panel {
228
- &--active {
229
- width: 100%;
230
- height: 100%;
231
- top: 0;
232
- left: 0;
233
- max-height: 100%;
234
- padding: 1.5rem;
235
- display: flex;
236
- backdrop-filter: blur(1rem);
237
- background-color: rgba(255, 255, 255, 0.8);
238
- box-sizing: border-box;
239
- pointer-events: initial;
240
- z-index: 9999999999999999;
241
-
242
- @media (max-width: 767px) {
243
- transform: none !important;
244
- }
245
-
246
- @include media-sm {
247
- height: auto;
248
- max-height: 60vh;
249
- padding: 0;
250
- }
251
- }
252
-
253
- .form__input {
254
- padding-top: 0;
255
- }
256
- }
257
- }
258
-
259
- /*.section--home-qsm {
260
- .typeahead__options {
261
- position: absolute;
262
- transform: translateY(-100%);
263
- display: none;
264
- }
265
- }*/
266
-
267
- .typeahead__option .link {
268
- &:hover,
269
- &:focus,
270
- &:active {
271
- .typeahead__option-highlight {
272
- // color: yellow;
273
- }
274
- }
275
- }
1
+ .typeahead {
2
+ position: relative;
3
+ width: 100%;
4
+ @include column;
5
+ z-index: 97;
6
+
7
+ &__trigger {
8
+ position: relative;
9
+ width: 100%;
10
+ @include flex--centerY;
11
+
12
+ &:focus,
13
+ &:active {
14
+ .form__input {
15
+ border: var(--tide-booking-form-typeahead-agent-border-hover);
16
+ }
17
+
18
+ svg {
19
+ fill: var(--tide-booking-form-typeahead-agent-icon-color-hover);
20
+ }
21
+ }
22
+
23
+ &--icon {
24
+ .icon {
25
+ width: 18px;
26
+ height: 24px;
27
+ position: absolute;
28
+ left: 15px;
29
+
30
+ fill: var(--tide-booking-form-typeahead-agent-icon-color);
31
+
32
+ @include media-md {
33
+ display: flex;
34
+ }
35
+ }
36
+
37
+ .form__input {
38
+ padding-top: 0;
39
+ padding-left: 15px * 3;
40
+
41
+ @include media-md {
42
+ }
43
+ }
44
+ }
45
+ }
46
+
47
+ &__options {
48
+ width: 100%;
49
+ max-height: 25vh;
50
+ @include column;
51
+ border-radius: var(--tide-booking-form-typeahead-agent-options-border-radius);
52
+ backdrop-filter: blur(30px);
53
+ background-color: var(--tide-booking-form-typeahead-agent-options-background);
54
+ box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
55
+ border: var(--tide-booking-form-typeahead-agent-options-border);
56
+ overflow-y: auto;
57
+ // position: absolute;
58
+ // top: 45px;
59
+ @extend %scrollbar-thin;
60
+
61
+ @include media-sm {
62
+ max-height: 35vh !important;
63
+ }
64
+
65
+ @include media-md {
66
+ max-height: 350px !important;
67
+ }
68
+
69
+ @include media-xl {
70
+ max-height: 400px !important;
71
+ }
72
+
73
+ @include media-xxl {
74
+ max-height: 500px !important;
75
+ }
76
+ }
77
+
78
+ &__options-body {
79
+ @extend %reset;
80
+ width: 100%;
81
+ @include column;
82
+ }
83
+
84
+ &__options-actions {
85
+ @extend %reset;
86
+ position: sticky;
87
+ width: 100%;
88
+ bottom: 0;
89
+ padding: 0 15px * 0.7 15px * 0.7 15px * 0.7;
90
+ margin-top: auto;
91
+ // background-color: yellow;
92
+ }
93
+
94
+ &__option {
95
+ @extend %reset;
96
+ width: 100%;
97
+ @include column;
98
+ flex-shrink: 0;
99
+ color: var(--tide-booking-form-typeahead-agent-options-color);
100
+ transition-duration: 0.2s;
101
+ transition-property: color, background-color;
102
+ transition-timing-function: ease-out;
103
+
104
+ &:hover,
105
+ &:focus,
106
+ &:active {
107
+ // background-color: yellow;
108
+ }
109
+ }
110
+
111
+ .typeahead__option + .typeahead__option {
112
+ border-top: var(--tide-booking-form-typeahead-agent-options-border);
113
+ }
114
+
115
+ &__option-description {
116
+ display: flex;
117
+ flex-flow: row wrap;
118
+ font-size: 14px;
119
+ white-space: pre-wrap;
120
+ }
121
+
122
+ &__option-header {
123
+ display: flex;
124
+ }
125
+
126
+ &__option-heading {
127
+ @include lineclamp($lineclamp-amount: 2);
128
+ line-height: 1.4;
129
+ white-space: pre-wrap;
130
+ }
131
+
132
+ &__option-highlight {
133
+ font-style: normal;
134
+ font-weight: var(--tide-booking-form-typeahead-agent-options-font-weight-highlight);
135
+ color: var(--tide-booking-form-typeahead-agent-options-color-highlight);
136
+ margin-right: 5px;
137
+ @extend %transition-easing;
138
+ }
139
+
140
+ &__option-label {
141
+ margin-top: 15px * 0.3;
142
+ margin-left: 15px * 0.7;
143
+ font-size: 14px;
144
+ font-style: italic;
145
+ line-height: 1;
146
+ @include lineclamp();
147
+ }
148
+
149
+ &__option-heading + &__option-label {
150
+ flex-shrink: 0;
151
+ }
152
+
153
+ &__option--icon {
154
+ position: relative;
155
+ padding: 10px 15px 10px 45px;
156
+ font-size: 16px;
157
+
158
+ &:hover,
159
+ &:focus,
160
+ &:active {
161
+ .typeahead__option-highlight {
162
+ // color: yellow;
163
+ }
164
+ }
165
+ }
166
+
167
+ &__option--icon + &__option {
168
+ padding-bottom: 15px;
169
+ border-top: 0;
170
+ }
171
+
172
+ &__region {
173
+ @extend %reset;
174
+ width: 100%;
175
+
176
+ & + & {
177
+ // border-top: 1.5px solid yellow;
178
+ }
179
+ }
180
+
181
+ &--active {
182
+ .typeahead__options {
183
+ display: flex;
184
+ }
185
+ }
186
+ }
187
+
188
+ .booking__panel .typeahead__options {
189
+ // border: 0.1rem solid yellow;
190
+ }
191
+
192
+ .qsm--inline .typeahead__trigger--icon .form__input {
193
+ padding-top: 1.6rem;
194
+ }
195
+
196
+ .qsm--inline .typeahead--active .typeahead__options {
197
+ display: flex;
198
+ }
199
+
200
+ .qsm--inline .typeahead {
201
+ @include media-sm {
202
+ z-index: initial;
203
+ }
204
+
205
+ &__options {
206
+ max-height: 60vh;
207
+ backdrop-filter: none;
208
+ background-color: transparent;
209
+ box-shadow: none;
210
+ border: none;
211
+ overflow-y: auto;
212
+
213
+ @include media-sm {
214
+ min-height: auto;
215
+ backdrop-filter: none;
216
+ background-color: transparent;
217
+ box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
218
+ }
219
+ }
220
+
221
+ &__trigger {
222
+ .typeahead__trigger {
223
+ margin-bottom: 1.5rem;
224
+ }
225
+ }
226
+
227
+ .qsm__panel {
228
+ &--active {
229
+ width: 100%;
230
+ height: 100%;
231
+ top: 0;
232
+ left: 0;
233
+ max-height: 100%;
234
+ padding: 1.5rem;
235
+ display: flex;
236
+ backdrop-filter: blur(1rem);
237
+ background-color: rgba(255, 255, 255, 0.8);
238
+ box-sizing: border-box;
239
+ pointer-events: initial;
240
+ z-index: 9999999999999999;
241
+
242
+ @media (max-width: 767px) {
243
+ transform: none !important;
244
+ }
245
+
246
+ @include media-sm {
247
+ height: auto;
248
+ max-height: 60vh;
249
+ padding: 0;
250
+ }
251
+ }
252
+
253
+ .form__input {
254
+ padding-top: 0;
255
+ }
256
+ }
257
+ }
258
+
259
+ /*.section--home-qsm {
260
+ .typeahead__options {
261
+ position: absolute;
262
+ transform: translateY(-100%);
263
+ display: none;
264
+ }
265
+ }*/
266
+
267
+ .typeahead__option .link {
268
+ &:hover,
269
+ &:focus,
270
+ &:active {
271
+ .typeahead__option-highlight {
272
+ // color: yellow;
273
+ }
274
+ }
275
+ }