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

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 +2386 -1305
  2. package/build/build-cjs/src/booking-wizard/features/booking/selectors.d.ts +1 -0
  3. package/build/build-cjs/src/booking-wizard/features/travelers-form/validate-form.d.ts +2 -1
  4. package/build/build-cjs/src/booking-wizard/types.d.ts +29 -1
  5. package/build/build-cjs/src/search-results/components/flight/flight-selection/independent-flight-option.d.ts +2 -0
  6. package/build/build-cjs/src/search-results/components/itinerary/index.d.ts +1 -0
  7. package/build/build-cjs/src/search-results/components/itinerary/itinerary-utils.d.ts +1 -0
  8. package/build/build-cjs/src/search-results/types.d.ts +8 -0
  9. package/build/build-cjs/src/search-results/utils/booked-entry-utils.d.ts +20 -0
  10. package/build/build-cjs/src/search-results/utils/traject-utils.d.ts +7 -0
  11. package/build/build-cjs/src/shared/booking/travelers-form.d.ts +13 -3
  12. package/build/build-esm/index.js +2390 -1309
  13. package/build/build-esm/src/booking-wizard/features/booking/selectors.d.ts +1 -0
  14. package/build/build-esm/src/booking-wizard/features/travelers-form/validate-form.d.ts +2 -1
  15. package/build/build-esm/src/booking-wizard/types.d.ts +29 -1
  16. package/build/build-esm/src/search-results/components/flight/flight-selection/independent-flight-option.d.ts +2 -0
  17. package/build/build-esm/src/search-results/components/itinerary/index.d.ts +1 -0
  18. package/build/build-esm/src/search-results/components/itinerary/itinerary-utils.d.ts +1 -0
  19. package/build/build-esm/src/search-results/types.d.ts +8 -0
  20. package/build/build-esm/src/search-results/utils/booked-entry-utils.d.ts +20 -0
  21. package/build/build-esm/src/search-results/utils/traject-utils.d.ts +7 -0
  22. package/build/build-esm/src/shared/booking/travelers-form.d.ts +13 -3
  23. package/package.json +2 -2
  24. package/styles/abstracts/_mixins.scss +74 -74
  25. package/styles/abstracts/_variables.scss +57 -57
  26. package/styles/base/_fonts.scss +2 -2
  27. package/styles/base/_normalize.scss +227 -227
  28. package/styles/base/_typography.scss +35 -35
  29. package/styles/booking-joker-variables.scss +596 -596
  30. package/styles/booking-product-variables.scss +330 -330
  31. package/styles/booking-product.scss +438 -438
  32. package/styles/booking-qsm-variables.scss +501 -501
  33. package/styles/booking-qsm.scss +52 -52
  34. package/styles/booking-search-results-variables.scss +734 -734
  35. package/styles/booking-search-results.scss +53 -53
  36. package/styles/booking-wizard-variables.scss +603 -603
  37. package/styles/booking-wizard.scss +61 -61
  38. package/styles/components/_accordion.scss +67 -67
  39. package/styles/components/_animations.scss +39 -39
  40. package/styles/components/_base.scss +107 -107
  41. package/styles/components/_booking.scss +906 -906
  42. package/styles/components/_breadcrumb.scss +92 -92
  43. package/styles/components/_button.scss +238 -238
  44. package/styles/components/_checkbox.scss +230 -230
  45. package/styles/components/_contact.scss +255 -255
  46. package/styles/components/_content.scss +336 -336
  47. package/styles/components/_cta.scss +238 -238
  48. package/styles/components/_date-list.scss +41 -41
  49. package/styles/components/_date-range-picker.scss +223 -223
  50. package/styles/components/_decrement-increment.scss +35 -35
  51. package/styles/components/_dropdown.scss +77 -77
  52. package/styles/components/_error.scss +50 -50
  53. package/styles/components/_faq.scss +30 -30
  54. package/styles/components/_flight-option.scss +1432 -1432
  55. package/styles/components/_flyin.scss +830 -830
  56. package/styles/components/_footer.scss +135 -135
  57. package/styles/components/_form.scss +1704 -1693
  58. package/styles/components/_gallery.scss +317 -317
  59. package/styles/components/_header.scss +113 -113
  60. package/styles/components/_image-with-text.scss +206 -206
  61. package/styles/components/_img-slider.scss +175 -175
  62. package/styles/components/_info-message.scss +75 -75
  63. package/styles/components/_input.scss +35 -35
  64. package/styles/components/_list.scss +185 -185
  65. package/styles/components/_loader.scss +152 -152
  66. package/styles/components/_login.scss +140 -140
  67. package/styles/components/_map-view.scss +1100 -1100
  68. package/styles/components/_mixins.scss +579 -579
  69. package/styles/components/_navbar.scss +765 -765
  70. package/styles/components/_passenger-picker.scss +306 -306
  71. package/styles/components/_phone-input.scss +8 -8
  72. package/styles/components/_placeholders.scss +165 -165
  73. package/styles/components/_pricing-summary.scss +163 -163
  74. package/styles/components/_qsm.scss +17 -17
  75. package/styles/components/_radiobutton.scss +170 -170
  76. package/styles/components/_search.scss +2197 -2197
  77. package/styles/components/_select-wrapper.scss +81 -81
  78. package/styles/components/_slider.scss +120 -128
  79. package/styles/components/_spinner.scss +29 -29
  80. package/styles/components/_step-indicators.scss +187 -187
  81. package/styles/components/_table.scss +81 -81
  82. package/styles/components/_tide-form.scss +578 -578
  83. package/styles/components/_tree.scss +648 -648
  84. package/styles/components/_typeahead.scss +275 -275
  85. package/styles/components/_variables.scss +89 -89
  86. package/styles/content-blocks-variables.scss +543 -543
  87. package/styles/content-blocks.scss +66 -66
  88. package/styles/font.scss +2 -2
  89. package/styles/qsm/_calendar.scss +274 -274
  90. package/styles/qsm/_qsm.scss +1097 -1097
  91. package/styles/search.scss +1200 -1200
  92. package/styles/tide-form-variables.scss +275 -275
  93. package/styles/tide-form.scss +56 -56
@@ -1,113 +1,113 @@
1
- @use '../components/mixins' as mixins;
2
-
3
- .header {
4
- background: var(--tide-booking-header-background);
5
- border: var(--tide-booking-header-border);
6
- border-radius: var(--tide-booking-header-border-radius);
7
- box-shadow: var(--tide-booking-header-box-shadow);
8
- padding: 224px 20px;
9
- padding-top: 60px;
10
- margin-bottom: 40px;
11
- position: relative;
12
- display: flex;
13
- justify-content: center;
14
- overflow: hidden;
15
- min-height: 400px;
16
-
17
- @include mixins.media-md {
18
- margin-bottom: 60px;
19
- min-height: 600px;
20
- }
21
-
22
- &--small {
23
- padding: 160px 20px;
24
-
25
- @include mixins.media-md {
26
- min-height: 400px;
27
- }
28
- }
29
-
30
- &::before {
31
- content: ' ';
32
- position: absolute;
33
- inset: 0;
34
- width: 100%;
35
- height: 100%;
36
- top: 50%;
37
- left: 50%;
38
- transform: translate(-50%, -50%);
39
- background: var(--tide-booking-header-overlay-background);
40
- z-index: 1;
41
- }
42
-
43
- &__image,
44
- &__video {
45
- position: absolute;
46
- inset: 0;
47
- width: 100%;
48
- height: 100%;
49
- object-fit: cover;
50
- object-position: center;
51
- display: block;
52
- }
53
-
54
- &__container {
55
- @include mixins.container-wide();
56
- display: flex;
57
- align-items: center;
58
- justify-content: center;
59
- gap: 20px;
60
- }
61
-
62
- &__content {
63
- position: relative;
64
- z-index: 2;
65
- display: flex;
66
- flex-direction: column;
67
- align-items: center;
68
- gap: 20px;
69
- }
70
-
71
- &__title {
72
- color: var(--tide-booking-header-title-color);
73
- font-family: var(--tide-booking-header-title-font-family);
74
- font-weight: var(--tide-booking-header-title-font-weight);
75
- line-height: var(--tide-booking-header-title-line-height);
76
- text-align: var(--tide-booking-header-title-text-align);
77
- margin: 0;
78
- }
79
-
80
- &__description {
81
- color: var(--tide-booking-header-description-color);
82
- font-family: var(--tide-booking-header-description-font-family);
83
- font-weight: var(--tide-booking-header-description-font-weight);
84
- line-height: var(--tide-booking-header-description-line-height);
85
- text-align: var(--tide-booking-header-description-text-align);
86
- margin: 0;
87
- max-width: 600px;
88
- }
89
-
90
- &__btn {
91
- margin: 0 auto;
92
- margin-top: 20px;
93
- width: auto;
94
- }
95
-
96
- &__slider {
97
- .slider {
98
- &__viewport {
99
- position: absolute;
100
- left: 0px;
101
- top: 0px;
102
- border-top-left-radius: 0px;
103
- border-top-right-radius: 0px;
104
- }
105
-
106
- &__container {
107
- padding: 0px;
108
- max-width: 100%;
109
- position: inherit;
110
- }
111
- }
112
- }
113
- }
1
+ @use '../components/mixins' as mixins;
2
+
3
+ .header {
4
+ background: var(--tide-booking-header-background);
5
+ border: var(--tide-booking-header-border);
6
+ border-radius: var(--tide-booking-header-border-radius);
7
+ box-shadow: var(--tide-booking-header-box-shadow);
8
+ padding: 224px 20px;
9
+ padding-top: 60px;
10
+ margin-bottom: 40px;
11
+ position: relative;
12
+ display: flex;
13
+ justify-content: center;
14
+ overflow: hidden;
15
+ min-height: 400px;
16
+
17
+ @include mixins.media-md {
18
+ margin-bottom: 60px;
19
+ min-height: 600px;
20
+ }
21
+
22
+ &--small {
23
+ padding: 160px 20px;
24
+
25
+ @include mixins.media-md {
26
+ min-height: 400px;
27
+ }
28
+ }
29
+
30
+ &::before {
31
+ content: ' ';
32
+ position: absolute;
33
+ inset: 0;
34
+ width: 100%;
35
+ height: 100%;
36
+ top: 50%;
37
+ left: 50%;
38
+ transform: translate(-50%, -50%);
39
+ background: var(--tide-booking-header-overlay-background);
40
+ z-index: 1;
41
+ }
42
+
43
+ &__image,
44
+ &__video {
45
+ position: absolute;
46
+ inset: 0;
47
+ width: 100%;
48
+ height: 100%;
49
+ object-fit: cover;
50
+ object-position: center;
51
+ display: block;
52
+ }
53
+
54
+ &__container {
55
+ @include mixins.container-wide();
56
+ display: flex;
57
+ align-items: center;
58
+ justify-content: center;
59
+ gap: 20px;
60
+ }
61
+
62
+ &__content {
63
+ position: relative;
64
+ z-index: 2;
65
+ display: flex;
66
+ flex-direction: column;
67
+ align-items: center;
68
+ gap: 20px;
69
+ }
70
+
71
+ &__title {
72
+ color: var(--tide-booking-header-title-color);
73
+ font-family: var(--tide-booking-header-title-font-family);
74
+ font-weight: var(--tide-booking-header-title-font-weight);
75
+ line-height: var(--tide-booking-header-title-line-height);
76
+ text-align: var(--tide-booking-header-title-text-align);
77
+ margin: 0;
78
+ }
79
+
80
+ &__description {
81
+ color: var(--tide-booking-header-description-color);
82
+ font-family: var(--tide-booking-header-description-font-family);
83
+ font-weight: var(--tide-booking-header-description-font-weight);
84
+ line-height: var(--tide-booking-header-description-line-height);
85
+ text-align: var(--tide-booking-header-description-text-align);
86
+ margin: 0;
87
+ max-width: 600px;
88
+ }
89
+
90
+ &__btn {
91
+ margin: 0 auto;
92
+ margin-top: 20px;
93
+ width: auto;
94
+ }
95
+
96
+ &__slider {
97
+ .slider {
98
+ &__viewport {
99
+ position: absolute;
100
+ left: 0px;
101
+ top: 0px;
102
+ border-top-left-radius: 0px;
103
+ border-top-right-radius: 0px;
104
+ }
105
+
106
+ &__container {
107
+ padding: 0px;
108
+ max-width: 100%;
109
+ position: inherit;
110
+ }
111
+ }
112
+ }
113
+ }
@@ -1,206 +1,206 @@
1
- @use '../components/mixins' as mixins;
2
-
3
- .image-with-text {
4
- margin-bottom: 60px;
5
-
6
- &--background {
7
- background: var(--tide-booking-image-with-text-background);
8
- padding: 60px 0px;
9
- }
10
-
11
- &__container {
12
- @include mixins.container-medium();
13
- }
14
-
15
- &__title {
16
- color: var(--tide-booking-image-with-text-card-title-color);
17
- font-family: var(--tide-booking-image-with-text-card-title-font-family);
18
- font-weight: var(--tide-booking-image-with-text-card-title-font-weight);
19
- line-height: var(--tide-booking-image-with-text-card-title-line-height);
20
- margin: 0;
21
-
22
- &__row {
23
- display: flex;
24
- align-items: center;
25
- gap: 20px;
26
- margin-bottom: 30px;
27
- }
28
- }
29
-
30
- &__card {
31
- display: grid;
32
- grid-template-rows: repeat(1, 1fr);
33
- gap: 30px;
34
- background: var(--tide-booking-image-with-text-card-background);
35
- border: var(--tide-booking-image-with-text-card-border);
36
- border-radius: var(--tide-booking-image-with-text-card-border-radius);
37
- box-shadow: var(--tide-booking-image-with-text-card-box-shadow);
38
- padding: 20px;
39
- overflow: hidden;
40
-
41
- @include mixins.media-md {
42
- display: grid;
43
- grid-template-areas: 'a b';
44
- grid-template-columns: 489px minmax(0, 1fr);
45
- align-items: stretch;
46
- padding: 30px;
47
- }
48
-
49
- &--reverse {
50
- @include mixins.media-md {
51
- grid-template-areas: 'b a';
52
- grid-template-columns: minmax(0, 1fr) 489px;
53
- }
54
- }
55
-
56
- &__wrapper {
57
- display: flex;
58
- flex-direction: column;
59
- gap: 30px;
60
- }
61
-
62
- &__image {
63
- position: absolute;
64
- inset: 0;
65
- width: 100%;
66
- height: 100%;
67
- object-fit: cover;
68
- object-position: center;
69
- display: block;
70
-
71
- &__wrapper {
72
- position: relative;
73
- overflow: hidden;
74
-
75
- border-radius: var(--tide-booking-image-with-text-card-image-border-radius);
76
- height: 250px;
77
-
78
- @include mixins.media-md {
79
- grid-area: a;
80
- height: 100%;
81
- }
82
- }
83
- }
84
-
85
- &__content {
86
- display: flex;
87
- flex-direction: column;
88
-
89
- @include mixins.media-md {
90
- grid-area: b;
91
- padding: 30px 0;
92
- }
93
- }
94
-
95
- &__image__wrapper,
96
- &__content {
97
- min-height: 0;
98
- }
99
-
100
- &__title {
101
- color: var(--tide-booking-image-with-text-card-heading-color);
102
- font-family: var(--tide-booking-image-with-text-card-heading-font-family);
103
- font-weight: var(--tide-booking-image-with-text-card-heading-font-weight);
104
- line-height: var(--tide-booking-image-with-text-card-heading-line-height);
105
- margin: 0;
106
- margin-bottom: 15px;
107
- }
108
-
109
- &__description {
110
- margin-bottom: 15px;
111
-
112
- &__title {
113
- color: var(--tide-booking-image-with-text-card-description-title-color);
114
- font-family: var(--tide-booking-image-with-text-card-description-title-font-family);
115
- font-weight: var(--tide-booking-image-with-text-card-description-title-font-weight);
116
- font-size: 18px;
117
- line-height: var(--tide-booking-image-with-text-card-description-title-line-height);
118
- margin: 0;
119
- }
120
-
121
- &__text {
122
- color: var(--tide-booking-image-with-text-card-description-color);
123
- font-family: var(--tide-booking-image-with-text-card-description-font-family);
124
- font-size: 16px;
125
- font-weight: var(--tide-booking-image-with-text-card-description-font-weight);
126
- line-height: var(--tide-booking-image-with-text-card-description-line-height);
127
- margin: 0;
128
- }
129
- }
130
-
131
- &__btn {
132
- display: flex;
133
- justify-content: flex-end;
134
- margin-top: 15px;
135
-
136
- .cta {
137
- width: 100%;
138
-
139
- @include mixins.media-sm {
140
- min-width: 200px;
141
- max-width: 200px;
142
- }
143
- }
144
- }
145
-
146
- &--no-card {
147
- padding: 0px;
148
- box-shadow: none;
149
- border: none;
150
- overflow: visible;
151
-
152
- &.image-with-text__card--reverse {
153
- .image-with-text__card__content {
154
- @include mixins.media-md {
155
- padding: 50px 30px;
156
- padding-right: 0px;
157
- }
158
- }
159
- }
160
-
161
- .image-with-text__card__content {
162
- @include mixins.media-md {
163
- padding: 50px 30px;
164
- padding-left: 0px;
165
- }
166
- }
167
-
168
- .image-with-text__card__image {
169
- &__wrapper {
170
- border-radius: 16px;
171
- box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
172
- }
173
- }
174
- }
175
-
176
- &--full-img {
177
- padding: 0px;
178
- border: none;
179
-
180
- &.image-with-text__card--reverse {
181
- .image-with-text__card__content {
182
- @include mixins.media-md {
183
- padding: 50px 30px;
184
- padding-right: 0px;
185
- }
186
- }
187
- }
188
-
189
- .image-with-text__card__content {
190
- padding: 20px;
191
- padding-top: 0px;
192
-
193
- @include mixins.media-md {
194
- padding: 50px 30px;
195
- padding-left: 0px;
196
- }
197
- }
198
-
199
- .image-with-text__card__image {
200
- &__wrapper {
201
- border-radius: 0px;
202
- }
203
- }
204
- }
205
- }
206
- }
1
+ @use '../components/mixins' as mixins;
2
+
3
+ .image-with-text {
4
+ margin-bottom: 60px;
5
+
6
+ &--background {
7
+ background: var(--tide-booking-image-with-text-background);
8
+ padding: 60px 0px;
9
+ }
10
+
11
+ &__container {
12
+ @include mixins.container-medium();
13
+ }
14
+
15
+ &__title {
16
+ color: var(--tide-booking-image-with-text-card-title-color);
17
+ font-family: var(--tide-booking-image-with-text-card-title-font-family);
18
+ font-weight: var(--tide-booking-image-with-text-card-title-font-weight);
19
+ line-height: var(--tide-booking-image-with-text-card-title-line-height);
20
+ margin: 0;
21
+
22
+ &__row {
23
+ display: flex;
24
+ align-items: center;
25
+ gap: 20px;
26
+ margin-bottom: 30px;
27
+ }
28
+ }
29
+
30
+ &__card {
31
+ display: grid;
32
+ grid-template-rows: repeat(1, 1fr);
33
+ gap: 30px;
34
+ background: var(--tide-booking-image-with-text-card-background);
35
+ border: var(--tide-booking-image-with-text-card-border);
36
+ border-radius: var(--tide-booking-image-with-text-card-border-radius);
37
+ box-shadow: var(--tide-booking-image-with-text-card-box-shadow);
38
+ padding: 20px;
39
+ overflow: hidden;
40
+
41
+ @include mixins.media-md {
42
+ display: grid;
43
+ grid-template-areas: 'a b';
44
+ grid-template-columns: 489px minmax(0, 1fr);
45
+ align-items: stretch;
46
+ padding: 30px;
47
+ }
48
+
49
+ &--reverse {
50
+ @include mixins.media-md {
51
+ grid-template-areas: 'b a';
52
+ grid-template-columns: minmax(0, 1fr) 489px;
53
+ }
54
+ }
55
+
56
+ &__wrapper {
57
+ display: flex;
58
+ flex-direction: column;
59
+ gap: 30px;
60
+ }
61
+
62
+ &__image {
63
+ position: absolute;
64
+ inset: 0;
65
+ width: 100%;
66
+ height: 100%;
67
+ object-fit: cover;
68
+ object-position: center;
69
+ display: block;
70
+
71
+ &__wrapper {
72
+ position: relative;
73
+ overflow: hidden;
74
+
75
+ border-radius: var(--tide-booking-image-with-text-card-image-border-radius);
76
+ height: 250px;
77
+
78
+ @include mixins.media-md {
79
+ grid-area: a;
80
+ height: 100%;
81
+ }
82
+ }
83
+ }
84
+
85
+ &__content {
86
+ display: flex;
87
+ flex-direction: column;
88
+
89
+ @include mixins.media-md {
90
+ grid-area: b;
91
+ padding: 30px 0;
92
+ }
93
+ }
94
+
95
+ &__image__wrapper,
96
+ &__content {
97
+ min-height: 0;
98
+ }
99
+
100
+ &__title {
101
+ color: var(--tide-booking-image-with-text-card-heading-color);
102
+ font-family: var(--tide-booking-image-with-text-card-heading-font-family);
103
+ font-weight: var(--tide-booking-image-with-text-card-heading-font-weight);
104
+ line-height: var(--tide-booking-image-with-text-card-heading-line-height);
105
+ margin: 0;
106
+ margin-bottom: 15px;
107
+ }
108
+
109
+ &__description {
110
+ margin-bottom: 15px;
111
+
112
+ &__title {
113
+ color: var(--tide-booking-image-with-text-card-description-title-color);
114
+ font-family: var(--tide-booking-image-with-text-card-description-title-font-family);
115
+ font-weight: var(--tide-booking-image-with-text-card-description-title-font-weight);
116
+ font-size: 18px;
117
+ line-height: var(--tide-booking-image-with-text-card-description-title-line-height);
118
+ margin: 0;
119
+ }
120
+
121
+ &__text {
122
+ color: var(--tide-booking-image-with-text-card-description-color);
123
+ font-family: var(--tide-booking-image-with-text-card-description-font-family);
124
+ font-size: 16px;
125
+ font-weight: var(--tide-booking-image-with-text-card-description-font-weight);
126
+ line-height: var(--tide-booking-image-with-text-card-description-line-height);
127
+ margin: 0;
128
+ }
129
+ }
130
+
131
+ &__btn {
132
+ display: flex;
133
+ justify-content: flex-end;
134
+ margin-top: 15px;
135
+
136
+ .cta {
137
+ width: 100%;
138
+
139
+ @include mixins.media-sm {
140
+ min-width: 200px;
141
+ max-width: 200px;
142
+ }
143
+ }
144
+ }
145
+
146
+ &--no-card {
147
+ padding: 0px;
148
+ box-shadow: none;
149
+ border: none;
150
+ overflow: visible;
151
+
152
+ &.image-with-text__card--reverse {
153
+ .image-with-text__card__content {
154
+ @include mixins.media-md {
155
+ padding: 50px 30px;
156
+ padding-right: 0px;
157
+ }
158
+ }
159
+ }
160
+
161
+ .image-with-text__card__content {
162
+ @include mixins.media-md {
163
+ padding: 50px 30px;
164
+ padding-left: 0px;
165
+ }
166
+ }
167
+
168
+ .image-with-text__card__image {
169
+ &__wrapper {
170
+ border-radius: 16px;
171
+ box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
172
+ }
173
+ }
174
+ }
175
+
176
+ &--full-img {
177
+ padding: 0px;
178
+ border: none;
179
+
180
+ &.image-with-text__card--reverse {
181
+ .image-with-text__card__content {
182
+ @include mixins.media-md {
183
+ padding: 50px 30px;
184
+ padding-right: 0px;
185
+ }
186
+ }
187
+ }
188
+
189
+ .image-with-text__card__content {
190
+ padding: 20px;
191
+ padding-top: 0px;
192
+
193
+ @include mixins.media-md {
194
+ padding: 50px 30px;
195
+ padding-left: 0px;
196
+ }
197
+ }
198
+
199
+ .image-with-text__card__image {
200
+ &__wrapper {
201
+ border-radius: 0px;
202
+ }
203
+ }
204
+ }
205
+ }
206
+ }