@qite/tide-components 1.0.9 → 1.0.10

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 (75) hide show
  1. package/build/build-cjs/index.js +290 -280
  2. package/build/build-cjs/src/search-results/types.d.ts +12 -0
  3. package/build/build-esm/index.js +290 -280
  4. package/build/build-esm/src/search-results/types.d.ts +12 -0
  5. package/package.json +2 -2
  6. package/styles/abstracts/_mixins.scss +74 -74
  7. package/styles/abstracts/_variables.scss +57 -57
  8. package/styles/base/_fonts.scss +2 -2
  9. package/styles/base/_normalize.scss +227 -227
  10. package/styles/base/_typography.scss +35 -35
  11. package/styles/booking-joker-variables.scss +596 -596
  12. package/styles/booking-product-variables.scss +330 -330
  13. package/styles/booking-product.scss +438 -438
  14. package/styles/booking-qsm-variables.scss +501 -501
  15. package/styles/booking-qsm.scss +52 -52
  16. package/styles/booking-search-results-variables.scss +734 -734
  17. package/styles/booking-search-results.scss +53 -53
  18. package/styles/booking-wizard-variables.scss +603 -603
  19. package/styles/booking-wizard.scss +61 -61
  20. package/styles/components/_accordion.scss +67 -67
  21. package/styles/components/_animations.scss +39 -39
  22. package/styles/components/_base.scss +107 -107
  23. package/styles/components/_booking.scss +906 -906
  24. package/styles/components/_breadcrumb.scss +92 -92
  25. package/styles/components/_button.scss +238 -238
  26. package/styles/components/_checkbox.scss +230 -230
  27. package/styles/components/_contact.scss +255 -255
  28. package/styles/components/_content.scss +336 -336
  29. package/styles/components/_cta.scss +238 -238
  30. package/styles/components/_date-list.scss +41 -41
  31. package/styles/components/_date-range-picker.scss +223 -223
  32. package/styles/components/_decrement-increment.scss +35 -35
  33. package/styles/components/_dropdown.scss +77 -77
  34. package/styles/components/_error.scss +50 -50
  35. package/styles/components/_faq.scss +30 -30
  36. package/styles/components/_flight-option.scss +1432 -1432
  37. package/styles/components/_flyin.scss +830 -830
  38. package/styles/components/_footer.scss +135 -135
  39. package/styles/components/_form.scss +1693 -1693
  40. package/styles/components/_gallery.scss +317 -317
  41. package/styles/components/_header.scss +113 -113
  42. package/styles/components/_image-with-text.scss +206 -206
  43. package/styles/components/_img-slider.scss +175 -175
  44. package/styles/components/_info-message.scss +75 -75
  45. package/styles/components/_input.scss +35 -35
  46. package/styles/components/_list.scss +185 -185
  47. package/styles/components/_loader.scss +152 -152
  48. package/styles/components/_login.scss +140 -140
  49. package/styles/components/_map-view.scss +1100 -1100
  50. package/styles/components/_mixins.scss +579 -579
  51. package/styles/components/_navbar.scss +765 -765
  52. package/styles/components/_passenger-picker.scss +306 -306
  53. package/styles/components/_phone-input.scss +8 -8
  54. package/styles/components/_placeholders.scss +165 -165
  55. package/styles/components/_pricing-summary.scss +163 -163
  56. package/styles/components/_qsm.scss +17 -17
  57. package/styles/components/_radiobutton.scss +170 -170
  58. package/styles/components/_search.scss +2197 -2197
  59. package/styles/components/_select-wrapper.scss +81 -81
  60. package/styles/components/_slider.scss +128 -128
  61. package/styles/components/_spinner.scss +29 -29
  62. package/styles/components/_step-indicators.scss +187 -187
  63. package/styles/components/_table.scss +81 -81
  64. package/styles/components/_tide-form.scss +578 -578
  65. package/styles/components/_tree.scss +648 -648
  66. package/styles/components/_typeahead.scss +275 -275
  67. package/styles/components/_variables.scss +89 -89
  68. package/styles/content-blocks-variables.scss +543 -543
  69. package/styles/content-blocks.scss +66 -66
  70. package/styles/font.scss +2 -2
  71. package/styles/qsm/_calendar.scss +274 -274
  72. package/styles/qsm/_qsm.scss +1097 -1097
  73. package/styles/search.scss +1200 -1200
  74. package/styles/tide-form-variables.scss +275 -275
  75. package/styles/tide-form.scss +56 -56
@@ -1,66 +1,66 @@
1
- body {
2
- margin: 0;
3
- }
4
- #tide-content {
5
- @import './components/mixins';
6
- @import './components/placeholders';
7
- @import './components/base';
8
- @import './components/form';
9
- @import './components/button';
10
- @import './components/cta';
11
-
12
- @import './components/checkbox';
13
- @import './components/radiobutton';
14
- @import './components/tree';
15
- @import './components/input';
16
- @import './components/radiobutton';
17
- @import './components/content';
18
- @import './components/navbar';
19
- @import './components/header';
20
- @import './components/contact';
21
- @import './components/img-slider';
22
- @import './components/image-with-text';
23
- @import './components/breadcrumb';
24
- @import './components/gallery';
25
- @import './components/faq';
26
- @import './components/login';
27
- @import './components/accordion';
28
- @import './components/footer';
29
- @import './components/error';
30
- @import './components/map-view';
31
-
32
- @import './qsm/qsm';
33
-
34
- @extend %reset;
35
- @include body;
36
- @extend %scrollbar-thin;
37
-
38
- %scrollbar-none {
39
- &::-webkit-scrollbar {
40
- width: 0px;
41
- height: 0px;
42
- }
43
-
44
- &::-webkit-scrollbar-track {
45
- padding: 0;
46
- background: transparent;
47
- }
48
- }
49
-
50
- %scrollbar-thin {
51
- &::-webkit-scrollbar {
52
- width: 8px;
53
- height: 8px;
54
- }
55
-
56
- &::-webkit-scrollbar-track {
57
- padding: 2px;
58
- background: transparent;
59
- }
60
-
61
- &::-webkit-scrollbar-thumb {
62
- border-radius: 4px;
63
- background-color: #cbcbcb;
64
- }
65
- }
66
- }
1
+ body {
2
+ margin: 0;
3
+ }
4
+ #tide-content {
5
+ @import './components/mixins';
6
+ @import './components/placeholders';
7
+ @import './components/base';
8
+ @import './components/form';
9
+ @import './components/button';
10
+ @import './components/cta';
11
+
12
+ @import './components/checkbox';
13
+ @import './components/radiobutton';
14
+ @import './components/tree';
15
+ @import './components/input';
16
+ @import './components/radiobutton';
17
+ @import './components/content';
18
+ @import './components/navbar';
19
+ @import './components/header';
20
+ @import './components/contact';
21
+ @import './components/img-slider';
22
+ @import './components/image-with-text';
23
+ @import './components/breadcrumb';
24
+ @import './components/gallery';
25
+ @import './components/faq';
26
+ @import './components/login';
27
+ @import './components/accordion';
28
+ @import './components/footer';
29
+ @import './components/error';
30
+ @import './components/map-view';
31
+
32
+ @import './qsm/qsm';
33
+
34
+ @extend %reset;
35
+ @include body;
36
+ @extend %scrollbar-thin;
37
+
38
+ %scrollbar-none {
39
+ &::-webkit-scrollbar {
40
+ width: 0px;
41
+ height: 0px;
42
+ }
43
+
44
+ &::-webkit-scrollbar-track {
45
+ padding: 0;
46
+ background: transparent;
47
+ }
48
+ }
49
+
50
+ %scrollbar-thin {
51
+ &::-webkit-scrollbar {
52
+ width: 8px;
53
+ height: 8px;
54
+ }
55
+
56
+ &::-webkit-scrollbar-track {
57
+ padding: 2px;
58
+ background: transparent;
59
+ }
60
+
61
+ &::-webkit-scrollbar-thumb {
62
+ border-radius: 4px;
63
+ background-color: #cbcbcb;
64
+ }
65
+ }
66
+ }
package/styles/font.scss CHANGED
@@ -1,2 +1,2 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
2
- @import url('https://use.typekit.net/kyz2klm.css');
1
+ @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
2
+ @import url('https://use.typekit.net/kyz2klm.css');
@@ -1,274 +1,274 @@
1
- // @use './abstracts/variables' as variables;
2
- @use '../components/mixins' as mixins;
3
-
4
- .date-range-picker {
5
- display: flex;
6
- flex-direction: column;
7
- gap: 2rem;
8
- width: 52rem;
9
- padding: 2.5rem;
10
- padding-bottom: 6.5rem;
11
- position: absolute;
12
- top: 3.5rem;
13
- left: 0;
14
- z-index: 22;
15
-
16
- background-color: var(tide-booking-white);
17
- border-bottom: 4px solid var(tide-booking-primary-color);
18
-
19
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
20
-
21
- &--align-right {
22
- right: 0;
23
- left: auto;
24
- }
25
-
26
- @include media-xl {
27
- max-width: 240%;
28
- }
29
-
30
- @media (max-width: 1347px) {
31
- max-width: 200%;
32
- }
33
-
34
- @include mixins.media-lg {
35
- width: 40rem;
36
- }
37
-
38
- @media (max-width: 1028px) {
39
- width: 30rem;
40
- }
41
-
42
- @include mixins.media-md {
43
- max-width: 100%;
44
- }
45
-
46
- @include mixins.media-sm {
47
- width: 100%;
48
- top: 12rem;
49
- padding-bottom: 7rem;
50
- box-shadow: none;
51
- }
52
-
53
- &__actions {
54
- position: absolute;
55
- bottom: 2.5rem;
56
- left: 2.5rem;
57
-
58
- display: flex;
59
- gap: 0.5rem;
60
-
61
- @include mixins.media-sm {
62
- display: none;
63
- }
64
-
65
- &-button {
66
- @extend %cta;
67
-
68
- &--disabled {
69
- opacity: 50%;
70
- cursor: not-allowed;
71
- pointer-events: none;
72
- }
73
-
74
- // &--clear {
75
- // background-color: variables.$white;
76
- // color: variables.$secondary-color;
77
- // border: 2px solid variables.$secondary-color--light;
78
-
79
- // &:hover {
80
- // background: variables.$secondary-color--extralight;
81
- // border: 2px solid variables.$secondary-color--light;
82
- // }
83
- // }
84
- }
85
- }
86
-
87
- &__months {
88
- display: flex;
89
- gap: 2rem;
90
- width: 100%;
91
-
92
- @include mixins.media-md {
93
- flex-direction: column;
94
- gap: 1rem;
95
- }
96
- }
97
-
98
- &__month {
99
- width: 100%;
100
- max-width: 100%;
101
- }
102
-
103
- &-flex-days {
104
- display: flex;
105
- gap: 1rem;
106
- width: 100%;
107
- flex-wrap: wrap;
108
-
109
- &__tag {
110
- padding: 0.75rem 1rem;
111
- border-radius: 0.5rem;
112
- border: 2px solid var(--tide-booking-color-primary-extra-fade);
113
-
114
- font-size: 16px;
115
- font-weight: 400;
116
- color: var(--tide-booking-color-primary);
117
-
118
- cursor: pointer;
119
- transition: all 0.2s;
120
-
121
- // &:hover {
122
- // background: variables.$secondary-color;
123
- // color: variables.$white;
124
- // border: 2px solid variables.$secondary-color;
125
- // }
126
-
127
- // &--active {
128
- // background: variables.$secondary-color--extralight;
129
- // border: 2px solid variables.$secondary-color;
130
- // color: variables.$secondary-color;
131
- // }
132
- }
133
- }
134
-
135
- &__flexible-range {
136
- background-color: #fff9de;
137
- }
138
- }
139
-
140
- .calendar {
141
- width: 100%;
142
- font-family: inherit;
143
-
144
- &__header {
145
- display: flex;
146
- flex-direction: column;
147
- align-items: center;
148
-
149
- margin-bottom: 1rem;
150
-
151
- .calendar__pager {
152
- display: flex;
153
- justify-content: center;
154
- align-items: center;
155
-
156
- width: 100%;
157
- margin-bottom: 1.25rem;
158
-
159
- position: relative;
160
-
161
- &-icon {
162
- position: absolute;
163
- top: 50%;
164
- left: 0;
165
-
166
- fill: var(--tide-booking-color-primary);
167
- cursor: pointer;
168
- transition: all 0.2s;
169
- transform: translateY(-50%);
170
-
171
- &--right {
172
- right: 0;
173
- left: auto;
174
- transform: rotate(180deg);
175
- }
176
- }
177
-
178
- .calendar__current-month {
179
- font-weight: 700;
180
- color: var(--tide-booking-color-primary);
181
- }
182
- }
183
-
184
- .calendar__day-labels {
185
- display: flex;
186
- width: 100%;
187
-
188
- padding: 1rem;
189
- border-radius: 0.25rem;
190
- background: var(--tide-booking-gray-background-light);
191
-
192
- .calendar__day-label {
193
- flex: 1;
194
- text-align: center;
195
-
196
- font-size: 16px;
197
- font-weight: 400;
198
- color: var(--tide-booking-color-primary);
199
-
200
- &:nth-last-child(2),
201
- &:last-child {
202
- font-weight: bold;
203
- }
204
- }
205
- }
206
- }
207
-
208
- &__body {
209
- display: flex;
210
- flex-direction: column;
211
- gap: 0.25rem;
212
- }
213
-
214
- &__week {
215
- display: flex;
216
- }
217
-
218
- &__day {
219
- flex: 1;
220
- aspect-ratio: 1 / 1;
221
-
222
- display: flex;
223
- justify-content: center;
224
- align-items: center;
225
-
226
- font-size: 16px;
227
-
228
- cursor: pointer;
229
- transition: all 0.2s;
230
-
231
- &--outside-month {
232
- color: #d3d3d3;
233
- }
234
-
235
- &--disabled {
236
- color: #ccc;
237
- cursor: not-allowed;
238
- }
239
-
240
- &--range {
241
- background-color: #fff9de;
242
- }
243
-
244
- &--selected {
245
- background-color: #ffde40;
246
-
247
- &:first-child {
248
- border-top-left-radius: 3px;
249
- border-bottom-left-radius: 3px;
250
- }
251
-
252
- &:last-child {
253
- border-top-right-radius: 3px;
254
- border-bottom-right-radius: 3px;
255
- }
256
- }
257
-
258
- &:hover:not(.calendar__day--disabled) {
259
- background-color: #f3f3f3;
260
- }
261
- }
262
- }
263
-
264
- .single-date-picker {
265
- &__wrapper {
266
- position: absolute;
267
- z-index: 22; // was 10
268
- padding: 1rem;
269
- width: 100%;
270
- background: var(--tide-booking-white);
271
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
272
- border-radius: 3px;
273
- }
274
- }
1
+ // @use './abstracts/variables' as variables;
2
+ @use '../components/mixins' as mixins;
3
+
4
+ .date-range-picker {
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: 2rem;
8
+ width: 52rem;
9
+ padding: 2.5rem;
10
+ padding-bottom: 6.5rem;
11
+ position: absolute;
12
+ top: 3.5rem;
13
+ left: 0;
14
+ z-index: 22;
15
+
16
+ background-color: var(tide-booking-white);
17
+ border-bottom: 4px solid var(tide-booking-primary-color);
18
+
19
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
20
+
21
+ &--align-right {
22
+ right: 0;
23
+ left: auto;
24
+ }
25
+
26
+ @include media-xl {
27
+ max-width: 240%;
28
+ }
29
+
30
+ @media (max-width: 1347px) {
31
+ max-width: 200%;
32
+ }
33
+
34
+ @include mixins.media-lg {
35
+ width: 40rem;
36
+ }
37
+
38
+ @media (max-width: 1028px) {
39
+ width: 30rem;
40
+ }
41
+
42
+ @include mixins.media-md {
43
+ max-width: 100%;
44
+ }
45
+
46
+ @include mixins.media-sm {
47
+ width: 100%;
48
+ top: 12rem;
49
+ padding-bottom: 7rem;
50
+ box-shadow: none;
51
+ }
52
+
53
+ &__actions {
54
+ position: absolute;
55
+ bottom: 2.5rem;
56
+ left: 2.5rem;
57
+
58
+ display: flex;
59
+ gap: 0.5rem;
60
+
61
+ @include mixins.media-sm {
62
+ display: none;
63
+ }
64
+
65
+ &-button {
66
+ @extend %cta;
67
+
68
+ &--disabled {
69
+ opacity: 50%;
70
+ cursor: not-allowed;
71
+ pointer-events: none;
72
+ }
73
+
74
+ // &--clear {
75
+ // background-color: variables.$white;
76
+ // color: variables.$secondary-color;
77
+ // border: 2px solid variables.$secondary-color--light;
78
+
79
+ // &:hover {
80
+ // background: variables.$secondary-color--extralight;
81
+ // border: 2px solid variables.$secondary-color--light;
82
+ // }
83
+ // }
84
+ }
85
+ }
86
+
87
+ &__months {
88
+ display: flex;
89
+ gap: 2rem;
90
+ width: 100%;
91
+
92
+ @include mixins.media-md {
93
+ flex-direction: column;
94
+ gap: 1rem;
95
+ }
96
+ }
97
+
98
+ &__month {
99
+ width: 100%;
100
+ max-width: 100%;
101
+ }
102
+
103
+ &-flex-days {
104
+ display: flex;
105
+ gap: 1rem;
106
+ width: 100%;
107
+ flex-wrap: wrap;
108
+
109
+ &__tag {
110
+ padding: 0.75rem 1rem;
111
+ border-radius: 0.5rem;
112
+ border: 2px solid var(--tide-booking-color-primary-extra-fade);
113
+
114
+ font-size: 16px;
115
+ font-weight: 400;
116
+ color: var(--tide-booking-color-primary);
117
+
118
+ cursor: pointer;
119
+ transition: all 0.2s;
120
+
121
+ // &:hover {
122
+ // background: variables.$secondary-color;
123
+ // color: variables.$white;
124
+ // border: 2px solid variables.$secondary-color;
125
+ // }
126
+
127
+ // &--active {
128
+ // background: variables.$secondary-color--extralight;
129
+ // border: 2px solid variables.$secondary-color;
130
+ // color: variables.$secondary-color;
131
+ // }
132
+ }
133
+ }
134
+
135
+ &__flexible-range {
136
+ background-color: #fff9de;
137
+ }
138
+ }
139
+
140
+ .calendar {
141
+ width: 100%;
142
+ font-family: inherit;
143
+
144
+ &__header {
145
+ display: flex;
146
+ flex-direction: column;
147
+ align-items: center;
148
+
149
+ margin-bottom: 1rem;
150
+
151
+ .calendar__pager {
152
+ display: flex;
153
+ justify-content: center;
154
+ align-items: center;
155
+
156
+ width: 100%;
157
+ margin-bottom: 1.25rem;
158
+
159
+ position: relative;
160
+
161
+ &-icon {
162
+ position: absolute;
163
+ top: 50%;
164
+ left: 0;
165
+
166
+ fill: var(--tide-booking-color-primary);
167
+ cursor: pointer;
168
+ transition: all 0.2s;
169
+ transform: translateY(-50%);
170
+
171
+ &--right {
172
+ right: 0;
173
+ left: auto;
174
+ transform: rotate(180deg);
175
+ }
176
+ }
177
+
178
+ .calendar__current-month {
179
+ font-weight: 700;
180
+ color: var(--tide-booking-color-primary);
181
+ }
182
+ }
183
+
184
+ .calendar__day-labels {
185
+ display: flex;
186
+ width: 100%;
187
+
188
+ padding: 1rem;
189
+ border-radius: 0.25rem;
190
+ background: var(--tide-booking-gray-background-light);
191
+
192
+ .calendar__day-label {
193
+ flex: 1;
194
+ text-align: center;
195
+
196
+ font-size: 16px;
197
+ font-weight: 400;
198
+ color: var(--tide-booking-color-primary);
199
+
200
+ &:nth-last-child(2),
201
+ &:last-child {
202
+ font-weight: bold;
203
+ }
204
+ }
205
+ }
206
+ }
207
+
208
+ &__body {
209
+ display: flex;
210
+ flex-direction: column;
211
+ gap: 0.25rem;
212
+ }
213
+
214
+ &__week {
215
+ display: flex;
216
+ }
217
+
218
+ &__day {
219
+ flex: 1;
220
+ aspect-ratio: 1 / 1;
221
+
222
+ display: flex;
223
+ justify-content: center;
224
+ align-items: center;
225
+
226
+ font-size: 16px;
227
+
228
+ cursor: pointer;
229
+ transition: all 0.2s;
230
+
231
+ &--outside-month {
232
+ color: #d3d3d3;
233
+ }
234
+
235
+ &--disabled {
236
+ color: #ccc;
237
+ cursor: not-allowed;
238
+ }
239
+
240
+ &--range {
241
+ background-color: #fff9de;
242
+ }
243
+
244
+ &--selected {
245
+ background-color: #ffde40;
246
+
247
+ &:first-child {
248
+ border-top-left-radius: 3px;
249
+ border-bottom-left-radius: 3px;
250
+ }
251
+
252
+ &:last-child {
253
+ border-top-right-radius: 3px;
254
+ border-bottom-right-radius: 3px;
255
+ }
256
+ }
257
+
258
+ &:hover:not(.calendar__day--disabled) {
259
+ background-color: #f3f3f3;
260
+ }
261
+ }
262
+ }
263
+
264
+ .single-date-picker {
265
+ &__wrapper {
266
+ position: absolute;
267
+ z-index: 22; // was 10
268
+ padding: 1rem;
269
+ width: 100%;
270
+ background: var(--tide-booking-white);
271
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
272
+ border-radius: 3px;
273
+ }
274
+ }