@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,185 +1,185 @@
1
- .list {
2
- display: flex;
3
- flex-direction: column;
4
-
5
- &--booking-summary {
6
- .list__item {
7
- margin: 5px 0;
8
- }
9
- }
10
-
11
- &--usps {
12
- li {
13
- position: relative;
14
- padding-left: 20px;
15
- list-style-type: none;
16
- @extend %transition-easing;
17
-
18
- @include media-xs {
19
- padding-left: 20px;
20
- }
21
-
22
- &:before {
23
- content: '';
24
- position: absolute;
25
- width: 18px;
26
- height: 6px;
27
- left: 0;
28
- top: 3px;
29
- transform: rotate(-45deg);
30
- // border-left: 0.2rem solid $color-primary;
31
- // border-bottom: 0.2rem solid $color-primary;
32
- @extend %transition-easing;
33
-
34
- @include media-xs {
35
- width: 22px;
36
- height: 8px;
37
- }
38
- }
39
- }
40
-
41
- .list {
42
- &__item {
43
- position: relative;
44
- padding-left: 20px;
45
- list-style-type: none;
46
- @extend %transition-easing;
47
- margin-right: 10px;
48
- font-weight: 400;
49
- line-height: 18px;
50
- font-size: 14px;
51
- font-weight: var(--tide-booking-room-options-usp-list-font-weight);
52
- color: var(--tide-booking-room-options-usp-list-color);
53
-
54
- @include media-xs {
55
- padding-left: 20px;
56
- font-size: 16px;
57
- line-height: 20px;
58
- }
59
-
60
- &:before {
61
- content: '';
62
- position: absolute;
63
- width: 12px;
64
- height: 6px;
65
- left: 0rem;
66
- top: 35%;
67
- transform: rotate(-45deg) translateY(-50%);
68
- border-left: 2px solid var(--tide-booking-room-options-usp-list-icon-color);
69
- border-bottom: 2px solid var(--tide-booking-room-options-usp-list-icon-color);
70
- @extend %transition-easing;
71
-
72
- @include media-xs {
73
- height: 8px;
74
- }
75
- }
76
- }
77
- }
78
- }
79
-
80
- &--inline {
81
- flex-direction: row;
82
- margin: 0;
83
- list-style-type: none;
84
-
85
- .list__item {
86
- & + .list__item {
87
- margin-bottom: 30px;
88
- }
89
- }
90
- }
91
-
92
- &--plain {
93
- list-style-type: none;
94
- margin: 0;
95
-
96
- li {
97
- font-size: 16px;
98
- line-height: 1.6;
99
- }
100
- }
101
-
102
- &--socials {
103
- svg {
104
- // fill: $color-primary;
105
- }
106
-
107
- .list__item {
108
- & + .list__item {
109
- margin-left: 15px * 2;
110
- }
111
- }
112
- }
113
-
114
- &--summary {
115
- margin-bottom: 30px;
116
- }
117
-
118
- &--two-column {
119
- margin-bottom: -15px;
120
- flex-flow: row wrap;
121
-
122
- .list__item {
123
- width: 100%;
124
- margin-bottom: 15px;
125
-
126
- @include media-xs {
127
- width: 50%;
128
- padding-right: 15px * 3;
129
- }
130
- }
131
-
132
- ul {
133
- width: 100%;
134
- padding: 0;
135
- margin: 0;
136
- margin-bottom: -15px;
137
- display: flex;
138
- flex-flow: row wrap;
139
- }
140
-
141
- li {
142
- width: 100%;
143
- margin-bottom: 15px;
144
-
145
- @include media-xs {
146
- width: 50%;
147
- padding-right: 15px * 3;
148
- }
149
- }
150
- }
151
-
152
- &--three-column {
153
- ul {
154
- width: 100%;
155
- padding: 0;
156
- margin: 0;
157
- margin-bottom: -15px;
158
- display: flex;
159
- flex-flow: row wrap;
160
- }
161
-
162
- li {
163
- width: 100%;
164
- margin-bottom: 15px;
165
-
166
- @include media-xs {
167
- width: 100%;
168
- padding-right: 0;
169
- }
170
-
171
- @include media-sm {
172
- width: 100%;
173
- }
174
-
175
- @include media-lg {
176
- width: 50%;
177
- padding-right: 15px * 3;
178
- }
179
-
180
- @include media-xxl {
181
- width: 33%;
182
- }
183
- }
184
- }
185
- }
1
+ .list {
2
+ display: flex;
3
+ flex-direction: column;
4
+
5
+ &--booking-summary {
6
+ .list__item {
7
+ margin: 5px 0;
8
+ }
9
+ }
10
+
11
+ &--usps {
12
+ li {
13
+ position: relative;
14
+ padding-left: 20px;
15
+ list-style-type: none;
16
+ @extend %transition-easing;
17
+
18
+ @include media-xs {
19
+ padding-left: 20px;
20
+ }
21
+
22
+ &:before {
23
+ content: '';
24
+ position: absolute;
25
+ width: 18px;
26
+ height: 6px;
27
+ left: 0;
28
+ top: 3px;
29
+ transform: rotate(-45deg);
30
+ // border-left: 0.2rem solid $color-primary;
31
+ // border-bottom: 0.2rem solid $color-primary;
32
+ @extend %transition-easing;
33
+
34
+ @include media-xs {
35
+ width: 22px;
36
+ height: 8px;
37
+ }
38
+ }
39
+ }
40
+
41
+ .list {
42
+ &__item {
43
+ position: relative;
44
+ padding-left: 20px;
45
+ list-style-type: none;
46
+ @extend %transition-easing;
47
+ margin-right: 10px;
48
+ font-weight: 400;
49
+ line-height: 18px;
50
+ font-size: 14px;
51
+ font-weight: var(--tide-booking-room-options-usp-list-font-weight);
52
+ color: var(--tide-booking-room-options-usp-list-color);
53
+
54
+ @include media-xs {
55
+ padding-left: 20px;
56
+ font-size: 16px;
57
+ line-height: 20px;
58
+ }
59
+
60
+ &:before {
61
+ content: '';
62
+ position: absolute;
63
+ width: 12px;
64
+ height: 6px;
65
+ left: 0rem;
66
+ top: 35%;
67
+ transform: rotate(-45deg) translateY(-50%);
68
+ border-left: 2px solid var(--tide-booking-room-options-usp-list-icon-color);
69
+ border-bottom: 2px solid var(--tide-booking-room-options-usp-list-icon-color);
70
+ @extend %transition-easing;
71
+
72
+ @include media-xs {
73
+ height: 8px;
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+
80
+ &--inline {
81
+ flex-direction: row;
82
+ margin: 0;
83
+ list-style-type: none;
84
+
85
+ .list__item {
86
+ & + .list__item {
87
+ margin-bottom: 30px;
88
+ }
89
+ }
90
+ }
91
+
92
+ &--plain {
93
+ list-style-type: none;
94
+ margin: 0;
95
+
96
+ li {
97
+ font-size: 16px;
98
+ line-height: 1.6;
99
+ }
100
+ }
101
+
102
+ &--socials {
103
+ svg {
104
+ // fill: $color-primary;
105
+ }
106
+
107
+ .list__item {
108
+ & + .list__item {
109
+ margin-left: 15px * 2;
110
+ }
111
+ }
112
+ }
113
+
114
+ &--summary {
115
+ margin-bottom: 30px;
116
+ }
117
+
118
+ &--two-column {
119
+ margin-bottom: -15px;
120
+ flex-flow: row wrap;
121
+
122
+ .list__item {
123
+ width: 100%;
124
+ margin-bottom: 15px;
125
+
126
+ @include media-xs {
127
+ width: 50%;
128
+ padding-right: 15px * 3;
129
+ }
130
+ }
131
+
132
+ ul {
133
+ width: 100%;
134
+ padding: 0;
135
+ margin: 0;
136
+ margin-bottom: -15px;
137
+ display: flex;
138
+ flex-flow: row wrap;
139
+ }
140
+
141
+ li {
142
+ width: 100%;
143
+ margin-bottom: 15px;
144
+
145
+ @include media-xs {
146
+ width: 50%;
147
+ padding-right: 15px * 3;
148
+ }
149
+ }
150
+ }
151
+
152
+ &--three-column {
153
+ ul {
154
+ width: 100%;
155
+ padding: 0;
156
+ margin: 0;
157
+ margin-bottom: -15px;
158
+ display: flex;
159
+ flex-flow: row wrap;
160
+ }
161
+
162
+ li {
163
+ width: 100%;
164
+ margin-bottom: 15px;
165
+
166
+ @include media-xs {
167
+ width: 100%;
168
+ padding-right: 0;
169
+ }
170
+
171
+ @include media-sm {
172
+ width: 100%;
173
+ }
174
+
175
+ @include media-lg {
176
+ width: 50%;
177
+ padding-right: 15px * 3;
178
+ }
179
+
180
+ @include media-xxl {
181
+ width: 33%;
182
+ }
183
+ }
184
+ }
185
+ }
@@ -1,152 +1,152 @@
1
- .loader {
2
- display: flex;
3
- justify-content: center;
4
- align-items: center;
5
- gap: 10px;
6
- z-index: 1;
7
-
8
- &__spinner {
9
- max-width: 50px;
10
- max-height: 50px;
11
- min-width: 50px;
12
- min-height: 50px;
13
- border: var(--tide-booking-spinner-border);
14
- border-top-color: var(--tide-booking-spinner-border-top-color);
15
- border-radius: 50%;
16
- border-radius: 50%;
17
- animation: spin 2s linear infinite;
18
-
19
- &--dots {
20
- width: auto;
21
- height: auto;
22
- border: none;
23
- border-radius: initial;
24
- animation: initial;
25
-
26
- &:after {
27
- content: ' .';
28
- font-size: 20px;
29
- animation: dots 1s steps(5, end) infinite;
30
- }
31
- }
32
- }
33
-
34
- &--centered {
35
- width: 100%;
36
- align-items: center;
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
- }
101
- }
102
-
103
- @keyframes spin {
104
- 0% {
105
- transform: rotate(0deg);
106
- }
107
-
108
- 100% {
109
- transform: rotate(360deg);
110
- }
111
- }
112
-
113
- @keyframes dots {
114
- 0%,
115
- 20% {
116
- color: rgba(0, 0, 0, 0);
117
- text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
118
- }
119
-
120
- 40% {
121
- color: var(--tide-booking-spinner-animation-color);
122
- text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
123
- }
124
-
125
- 60% {
126
- text-shadow: 0.25em 0 0 var(--tide-booking-spinner-animation-color), 0.5em 0 0 rgba(0, 0, 0, 0);
127
- }
128
-
129
- 80%,
130
- 100% {
131
- text-shadow: 0.25em 0 0 var(--tide-booking-spinner-animation-color), 0.5em 0 0 var(--tide-booking-spinner-animation-color);
132
- }
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
- }
1
+ .loader {
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ gap: 10px;
6
+ z-index: 1;
7
+
8
+ &__spinner {
9
+ max-width: 50px;
10
+ max-height: 50px;
11
+ min-width: 50px;
12
+ min-height: 50px;
13
+ border: var(--tide-booking-spinner-border);
14
+ border-top-color: var(--tide-booking-spinner-border-top-color);
15
+ border-radius: 50%;
16
+ border-radius: 50%;
17
+ animation: spin 2s linear infinite;
18
+
19
+ &--dots {
20
+ width: auto;
21
+ height: auto;
22
+ border: none;
23
+ border-radius: initial;
24
+ animation: initial;
25
+
26
+ &:after {
27
+ content: ' .';
28
+ font-size: 20px;
29
+ animation: dots 1s steps(5, end) infinite;
30
+ }
31
+ }
32
+ }
33
+
34
+ &--centered {
35
+ width: 100%;
36
+ align-items: center;
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
+ }
101
+ }
102
+
103
+ @keyframes spin {
104
+ 0% {
105
+ transform: rotate(0deg);
106
+ }
107
+
108
+ 100% {
109
+ transform: rotate(360deg);
110
+ }
111
+ }
112
+
113
+ @keyframes dots {
114
+ 0%,
115
+ 20% {
116
+ color: rgba(0, 0, 0, 0);
117
+ text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
118
+ }
119
+
120
+ 40% {
121
+ color: var(--tide-booking-spinner-animation-color);
122
+ text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
123
+ }
124
+
125
+ 60% {
126
+ text-shadow: 0.25em 0 0 var(--tide-booking-spinner-animation-color), 0.5em 0 0 rgba(0, 0, 0, 0);
127
+ }
128
+
129
+ 80%,
130
+ 100% {
131
+ text-shadow: 0.25em 0 0 var(--tide-booking-spinner-animation-color), 0.5em 0 0 var(--tide-booking-spinner-animation-color);
132
+ }
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
+ }