@qite/tide-components 1.0.10 → 1.0.12

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 (81) hide show
  1. package/build/build-cjs/index.js +753 -480
  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 +8 -1
  5. package/build/build-cjs/src/shared/booking/travelers-form.d.ts +8 -3
  6. package/build/build-esm/index.js +755 -482
  7. package/build/build-esm/src/booking-wizard/features/booking/selectors.d.ts +1 -0
  8. package/build/build-esm/src/booking-wizard/features/travelers-form/validate-form.d.ts +2 -1
  9. package/build/build-esm/src/booking-wizard/types.d.ts +8 -1
  10. package/build/build-esm/src/shared/booking/travelers-form.d.ts +8 -3
  11. package/package.json +2 -2
  12. package/styles/abstracts/_mixins.scss +74 -74
  13. package/styles/abstracts/_variables.scss +57 -57
  14. package/styles/base/_fonts.scss +2 -2
  15. package/styles/base/_normalize.scss +227 -227
  16. package/styles/base/_typography.scss +35 -35
  17. package/styles/booking-joker-variables.scss +596 -596
  18. package/styles/booking-product-variables.scss +330 -330
  19. package/styles/booking-product.scss +438 -438
  20. package/styles/booking-qsm-variables.scss +501 -501
  21. package/styles/booking-qsm.scss +52 -52
  22. package/styles/booking-search-results-variables.scss +734 -734
  23. package/styles/booking-search-results.scss +53 -53
  24. package/styles/booking-wizard-variables.scss +603 -603
  25. package/styles/booking-wizard.scss +61 -61
  26. package/styles/components/_accordion.scss +67 -67
  27. package/styles/components/_animations.scss +39 -39
  28. package/styles/components/_base.scss +107 -107
  29. package/styles/components/_booking.scss +906 -906
  30. package/styles/components/_breadcrumb.scss +92 -92
  31. package/styles/components/_button.scss +238 -238
  32. package/styles/components/_checkbox.scss +230 -230
  33. package/styles/components/_contact.scss +255 -255
  34. package/styles/components/_content.scss +336 -336
  35. package/styles/components/_cta.scss +238 -238
  36. package/styles/components/_date-list.scss +41 -41
  37. package/styles/components/_date-range-picker.scss +223 -223
  38. package/styles/components/_decrement-increment.scss +35 -35
  39. package/styles/components/_dropdown.scss +77 -77
  40. package/styles/components/_error.scss +50 -50
  41. package/styles/components/_faq.scss +30 -30
  42. package/styles/components/_flight-option.scss +1432 -1432
  43. package/styles/components/_flyin.scss +830 -830
  44. package/styles/components/_footer.scss +135 -135
  45. package/styles/components/_form.scss +1704 -1693
  46. package/styles/components/_gallery.scss +317 -317
  47. package/styles/components/_header.scss +113 -113
  48. package/styles/components/_image-with-text.scss +206 -206
  49. package/styles/components/_img-slider.scss +175 -175
  50. package/styles/components/_info-message.scss +75 -75
  51. package/styles/components/_input.scss +35 -35
  52. package/styles/components/_list.scss +185 -185
  53. package/styles/components/_loader.scss +152 -152
  54. package/styles/components/_login.scss +140 -140
  55. package/styles/components/_map-view.scss +1100 -1100
  56. package/styles/components/_mixins.scss +579 -579
  57. package/styles/components/_navbar.scss +765 -765
  58. package/styles/components/_passenger-picker.scss +306 -306
  59. package/styles/components/_phone-input.scss +8 -8
  60. package/styles/components/_placeholders.scss +165 -165
  61. package/styles/components/_pricing-summary.scss +163 -163
  62. package/styles/components/_qsm.scss +17 -17
  63. package/styles/components/_radiobutton.scss +170 -170
  64. package/styles/components/_search.scss +2197 -2197
  65. package/styles/components/_select-wrapper.scss +81 -81
  66. package/styles/components/_slider.scss +128 -128
  67. package/styles/components/_spinner.scss +29 -29
  68. package/styles/components/_step-indicators.scss +187 -187
  69. package/styles/components/_table.scss +81 -81
  70. package/styles/components/_tide-form.scss +578 -578
  71. package/styles/components/_tree.scss +648 -648
  72. package/styles/components/_typeahead.scss +275 -275
  73. package/styles/components/_variables.scss +89 -89
  74. package/styles/content-blocks-variables.scss +543 -543
  75. package/styles/content-blocks.scss +66 -66
  76. package/styles/font.scss +2 -2
  77. package/styles/qsm/_calendar.scss +274 -274
  78. package/styles/qsm/_qsm.scss +1097 -1097
  79. package/styles/search.scss +1200 -1200
  80. package/styles/tide-form-variables.scss +275 -275
  81. package/styles/tide-form.scss +56 -56
@@ -1,175 +1,175 @@
1
- @use '../components/mixins' as mixins;
2
-
3
- .slider {
4
- margin-bottom: 60px;
5
-
6
- &__container {
7
- @include mixins.container-wide();
8
- position: relative;
9
- }
10
-
11
- &__viewport {
12
- overflow: hidden;
13
- border: var(--tide-booking-slider-border);
14
- border-radius: var(--tide-booking-slider-border-radius);
15
- box-shadow: var(--tide-booking-slider-box-shadow);
16
- background: var(--tide-booking-slider-background);
17
- position: relative;
18
-
19
- touch-action: pan-y;
20
-
21
- &::after {
22
- content: '';
23
- position: absolute;
24
- inset: 0;
25
- pointer-events: none;
26
- background: var(--tide-booking-slider-overlay-background);
27
- height: 100%;
28
- width: 100%;
29
- top: 0px;
30
- left: 0px;
31
-
32
- will-change: opacity;
33
- }
34
- }
35
-
36
- &__track {
37
- display: flex;
38
- transition: transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
39
- will-change: transform;
40
- transform: translate3d(0, 0, 0);
41
- backface-visibility: hidden;
42
- }
43
-
44
- &__slide {
45
- flex: 0 0 100%;
46
- position: relative;
47
- user-select: none;
48
- }
49
-
50
- &__img {
51
- width: 100%;
52
- height: 400px;
53
- object-fit: cover;
54
- display: block;
55
- pointer-events: none;
56
-
57
- transform: translateZ(0);
58
-
59
- @include mixins.media-md {
60
- height: 800px;
61
- }
62
- }
63
-
64
- &__empty {
65
- padding: 24px;
66
- border: 1px dashed #bbb;
67
- border-radius: 12px;
68
- text-align: center;
69
- }
70
-
71
- &__controls {
72
- display: flex;
73
- justify-content: space-between;
74
- gap: 12px;
75
- }
76
-
77
- &__btn {
78
- appearance: none;
79
- border: var(--tide-booking-slider-btn-border);
80
- border-radius: var(--tide-booking-slider-btn-border-radius);
81
- color: var(--tide-booking-slider-btn-color);
82
- background: var(--tide-booking-slider-btn-background);
83
- width: 48px;
84
- height: 48px;
85
- display: flex;
86
- align-items: center;
87
- justify-content: center;
88
-
89
- cursor: pointer;
90
- line-height: 1;
91
- position: absolute;
92
- top: 50%;
93
- transform: translateY(-50%);
94
- transition: all 150ms ease-in-out;
95
-
96
- &--prev {
97
- left: 35px;
98
- transform: translateY(-50%) rotate(180deg);
99
-
100
- @include mixins.media-sm {
101
- left: 60px;
102
- }
103
-
104
- @include mixins.media-lg {
105
- left: 75px;
106
- }
107
- }
108
-
109
- &--next {
110
- right: 35px;
111
-
112
- @include mixins.media-sm {
113
- right: 60px;
114
- }
115
-
116
- @include mixins.media-lg {
117
- right: 75px;
118
- }
119
- }
120
-
121
- &:hover {
122
- background: var(--tide-booking-slider-btn-hover-background);
123
- color: var(--tide-booking-slider-btn-hover-color);
124
- border: var(--tide-booking-slider-btn-hover-border);
125
- }
126
- }
127
-
128
- &__dots {
129
- display: flex;
130
- justify-content: center;
131
- gap: 8px;
132
- position: absolute;
133
- bottom: 20px;
134
- left: 50%;
135
- transform: translateX(-50%);
136
-
137
- @include mixins.media-sm {
138
- bottom: 30px;
139
- }
140
- }
141
-
142
- &__dot {
143
- min-width: 12px;
144
- min-height: 12px;
145
- max-width: 12px;
146
- max-height: 12px;
147
- border-radius: 999px;
148
- border: 0;
149
- cursor: pointer;
150
- background: var(--tide-booking-slider-dot-background);
151
-
152
- &.is-active {
153
- background: var(--tide-booking-slider-dot-active-background);
154
- transform: scale(1.1);
155
- }
156
-
157
- &:focus-visible {
158
- outline: 2px solid currentColor;
159
- outline-offset: 2px;
160
- }
161
- }
162
-
163
- /* ---- MODIFIERS ---- */
164
- &--auto {
165
- .slider__controls {
166
- display: none;
167
- }
168
- }
169
-
170
- &--manual {
171
- .slider__controls {
172
- display: grid;
173
- }
174
- }
175
- }
1
+ @use '../components/mixins' as mixins;
2
+
3
+ .slider {
4
+ margin-bottom: 60px;
5
+
6
+ &__container {
7
+ @include mixins.container-wide();
8
+ position: relative;
9
+ }
10
+
11
+ &__viewport {
12
+ overflow: hidden;
13
+ border: var(--tide-booking-slider-border);
14
+ border-radius: var(--tide-booking-slider-border-radius);
15
+ box-shadow: var(--tide-booking-slider-box-shadow);
16
+ background: var(--tide-booking-slider-background);
17
+ position: relative;
18
+
19
+ touch-action: pan-y;
20
+
21
+ &::after {
22
+ content: '';
23
+ position: absolute;
24
+ inset: 0;
25
+ pointer-events: none;
26
+ background: var(--tide-booking-slider-overlay-background);
27
+ height: 100%;
28
+ width: 100%;
29
+ top: 0px;
30
+ left: 0px;
31
+
32
+ will-change: opacity;
33
+ }
34
+ }
35
+
36
+ &__track {
37
+ display: flex;
38
+ transition: transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
39
+ will-change: transform;
40
+ transform: translate3d(0, 0, 0);
41
+ backface-visibility: hidden;
42
+ }
43
+
44
+ &__slide {
45
+ flex: 0 0 100%;
46
+ position: relative;
47
+ user-select: none;
48
+ }
49
+
50
+ &__img {
51
+ width: 100%;
52
+ height: 400px;
53
+ object-fit: cover;
54
+ display: block;
55
+ pointer-events: none;
56
+
57
+ transform: translateZ(0);
58
+
59
+ @include mixins.media-md {
60
+ height: 800px;
61
+ }
62
+ }
63
+
64
+ &__empty {
65
+ padding: 24px;
66
+ border: 1px dashed #bbb;
67
+ border-radius: 12px;
68
+ text-align: center;
69
+ }
70
+
71
+ &__controls {
72
+ display: flex;
73
+ justify-content: space-between;
74
+ gap: 12px;
75
+ }
76
+
77
+ &__btn {
78
+ appearance: none;
79
+ border: var(--tide-booking-slider-btn-border);
80
+ border-radius: var(--tide-booking-slider-btn-border-radius);
81
+ color: var(--tide-booking-slider-btn-color);
82
+ background: var(--tide-booking-slider-btn-background);
83
+ width: 48px;
84
+ height: 48px;
85
+ display: flex;
86
+ align-items: center;
87
+ justify-content: center;
88
+
89
+ cursor: pointer;
90
+ line-height: 1;
91
+ position: absolute;
92
+ top: 50%;
93
+ transform: translateY(-50%);
94
+ transition: all 150ms ease-in-out;
95
+
96
+ &--prev {
97
+ left: 35px;
98
+ transform: translateY(-50%) rotate(180deg);
99
+
100
+ @include mixins.media-sm {
101
+ left: 60px;
102
+ }
103
+
104
+ @include mixins.media-lg {
105
+ left: 75px;
106
+ }
107
+ }
108
+
109
+ &--next {
110
+ right: 35px;
111
+
112
+ @include mixins.media-sm {
113
+ right: 60px;
114
+ }
115
+
116
+ @include mixins.media-lg {
117
+ right: 75px;
118
+ }
119
+ }
120
+
121
+ &:hover {
122
+ background: var(--tide-booking-slider-btn-hover-background);
123
+ color: var(--tide-booking-slider-btn-hover-color);
124
+ border: var(--tide-booking-slider-btn-hover-border);
125
+ }
126
+ }
127
+
128
+ &__dots {
129
+ display: flex;
130
+ justify-content: center;
131
+ gap: 8px;
132
+ position: absolute;
133
+ bottom: 20px;
134
+ left: 50%;
135
+ transform: translateX(-50%);
136
+
137
+ @include mixins.media-sm {
138
+ bottom: 30px;
139
+ }
140
+ }
141
+
142
+ &__dot {
143
+ min-width: 12px;
144
+ min-height: 12px;
145
+ max-width: 12px;
146
+ max-height: 12px;
147
+ border-radius: 999px;
148
+ border: 0;
149
+ cursor: pointer;
150
+ background: var(--tide-booking-slider-dot-background);
151
+
152
+ &.is-active {
153
+ background: var(--tide-booking-slider-dot-active-background);
154
+ transform: scale(1.1);
155
+ }
156
+
157
+ &:focus-visible {
158
+ outline: 2px solid currentColor;
159
+ outline-offset: 2px;
160
+ }
161
+ }
162
+
163
+ /* ---- MODIFIERS ---- */
164
+ &--auto {
165
+ .slider__controls {
166
+ display: none;
167
+ }
168
+ }
169
+
170
+ &--manual {
171
+ .slider__controls {
172
+ display: grid;
173
+ }
174
+ }
175
+ }
@@ -1,75 +1,75 @@
1
- .info-message {
2
- display: flex;
3
-
4
- &__copy {
5
- padding-left: 15px;
6
- @include column;
7
- }
8
-
9
- p:last-child {
10
- margin-bottom: 0;
11
- }
12
-
13
- &--error {
14
- color: var(--tide-booking-invalid);
15
- }
16
-
17
- .icon {
18
- width: 20px;
19
- height: 20px;
20
- flex-shrink: 0;
21
- margin-top: -15px * 0.2;
22
- }
23
-
24
- &__voucher {
25
- margin-top: 15px;
26
-
27
- &__input {
28
- min-height: 45px;
29
- }
30
-
31
- &__valid {
32
- display: flex;
33
- align-items: center;
34
- gap: 10px;
35
- }
36
-
37
- &__list {
38
- display: flex;
39
- align-items: center;
40
- gap: 5px;
41
- }
42
- }
43
- }
44
-
45
- .booking .info-message {
46
- &__copy {
47
- padding-left: 0;
48
-
49
- p {
50
- font-size: 16px;
51
- line-height: 1.6;
52
- }
53
-
54
- .checkbox {
55
- font-size: 16px;
56
- line-height: 1.6;
57
-
58
- &__label {
59
- align-items: flex-start;
60
- }
61
- }
62
- }
63
-
64
- .checkbox + .checkbox {
65
- margin-top: 10px;
66
-
67
- @include media-xl {
68
- margin-top: 5px;
69
- }
70
- }
71
-
72
- .icon--ui-tooltip {
73
- display: none;
74
- }
75
- }
1
+ .info-message {
2
+ display: flex;
3
+
4
+ &__copy {
5
+ padding-left: 15px;
6
+ @include column;
7
+ }
8
+
9
+ p:last-child {
10
+ margin-bottom: 0;
11
+ }
12
+
13
+ &--error {
14
+ color: var(--tide-booking-invalid);
15
+ }
16
+
17
+ .icon {
18
+ width: 20px;
19
+ height: 20px;
20
+ flex-shrink: 0;
21
+ margin-top: -15px * 0.2;
22
+ }
23
+
24
+ &__voucher {
25
+ margin-top: 15px;
26
+
27
+ &__input {
28
+ min-height: 45px;
29
+ }
30
+
31
+ &__valid {
32
+ display: flex;
33
+ align-items: center;
34
+ gap: 10px;
35
+ }
36
+
37
+ &__list {
38
+ display: flex;
39
+ align-items: center;
40
+ gap: 5px;
41
+ }
42
+ }
43
+ }
44
+
45
+ .booking .info-message {
46
+ &__copy {
47
+ padding-left: 0;
48
+
49
+ p {
50
+ font-size: 16px;
51
+ line-height: 1.6;
52
+ }
53
+
54
+ .checkbox {
55
+ font-size: 16px;
56
+ line-height: 1.6;
57
+
58
+ &__label {
59
+ align-items: flex-start;
60
+ }
61
+ }
62
+ }
63
+
64
+ .checkbox + .checkbox {
65
+ margin-top: 10px;
66
+
67
+ @include media-xl {
68
+ margin-top: 5px;
69
+ }
70
+ }
71
+
72
+ .icon--ui-tooltip {
73
+ display: none;
74
+ }
75
+ }
@@ -1,35 +1,35 @@
1
- input::-webkit-outer-spin-button,
2
- input::-webkit-inner-spin-button {
3
- -webkit-appearance: none;
4
- margin: 0;
5
- }
6
-
7
- input[type='number'] {
8
- -moz-appearance: textfield;
9
- }
10
-
11
- input::-webkit-calendar-picker-indicator {
12
- display: none;
13
- }
14
-
15
- input[type='date']::-webkit-input-placeholder {
16
- visibility: hidden !important;
17
- }
18
-
19
- input[type='search']::-webkit-search-cancel-button,
20
- input[type='search']::-webkit-search-decoration {
21
- -webkit-appearance: none;
22
- appearance: none;
23
- }
24
-
25
- input[type='search']::-ms-clear {
26
- display: none;
27
- }
28
-
29
- input,
30
- select,
31
- textarea {
32
- appearance: none;
33
- -moz-appearance: none;
34
- -webkit-appearance: none;
35
- }
1
+ input::-webkit-outer-spin-button,
2
+ input::-webkit-inner-spin-button {
3
+ -webkit-appearance: none;
4
+ margin: 0;
5
+ }
6
+
7
+ input[type='number'] {
8
+ -moz-appearance: textfield;
9
+ }
10
+
11
+ input::-webkit-calendar-picker-indicator {
12
+ display: none;
13
+ }
14
+
15
+ input[type='date']::-webkit-input-placeholder {
16
+ visibility: hidden !important;
17
+ }
18
+
19
+ input[type='search']::-webkit-search-cancel-button,
20
+ input[type='search']::-webkit-search-decoration {
21
+ -webkit-appearance: none;
22
+ appearance: none;
23
+ }
24
+
25
+ input[type='search']::-ms-clear {
26
+ display: none;
27
+ }
28
+
29
+ input,
30
+ select,
31
+ textarea {
32
+ appearance: none;
33
+ -moz-appearance: none;
34
+ -webkit-appearance: none;
35
+ }