@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,187 +1,187 @@
1
- .step-indicators {
2
- @extend %reset;
3
- width: 100%;
4
- max-width: 100%;
5
- display: flex;
6
- // padding-bottom: 15px;
7
- // margin-bottom: 20px;
8
- overflow: hidden;
9
-
10
- &__items {
11
- position: relative;
12
- width: 100%;
13
- max-width: 100vw;
14
- padding-bottom: 15px;
15
- margin-bottom: 30px;
16
- display: flex;
17
- flex-grow: 0;
18
- justify-content: space-between;
19
- align-items: flex-start;
20
-
21
- &:before {
22
- content: '';
23
- position: absolute;
24
- width: 95%;
25
- height: 0;
26
- left: 2.5%;
27
- top: 15px;
28
- border-bottom: var(--tide-booking-step-indicators-line-trough);
29
-
30
- @include media-xs {
31
- top: 20px;
32
- }
33
- }
34
- }
35
-
36
- &__item {
37
- position: relative;
38
- padding-bottom: 1.05rem;
39
- @include column;
40
- align-items: center;
41
- text-align: center;
42
- text-decoration: none;
43
- color: inherit !important;
44
-
45
- &:first-child {
46
- align-items: flex-start;
47
- text-align: left;
48
- }
49
-
50
- &:last-child {
51
- align-items: flex-end;
52
- text-align: right;
53
- }
54
- }
55
-
56
- &__item--active {
57
- &:before {
58
- content: '';
59
- position: absolute;
60
- width: 200%;
61
- height: 1.5px;
62
- margin-top: 0.75px;
63
- top: 15px;
64
- left: 35px;
65
- }
66
-
67
- .step-indicators {
68
- &__icon {
69
- border: var(--tide-booking-step-indicators-icon-border-active);
70
- color: transparent;
71
- background-color: var(--tide-booking-step-indicators-icon-background-active);
72
- animation: pulse 7s infinite;
73
-
74
- &:before {
75
- content: '';
76
- position: absolute;
77
- width: 11px;
78
- height: 5px;
79
- margin-top: -6px;
80
- margin-left: 0px;
81
- border-left: 2px solid;
82
- border-bottom: 2px solid;
83
- border-color: var(--tide-booking-step-indicators-icon-check-color-active);
84
- transform: rotate(-45deg);
85
-
86
- @include media-xs {
87
- width: 17px;
88
- height: 6px;
89
- margin-top: -5px;
90
- margin-left: -2px;
91
- }
92
- }
93
- }
94
-
95
- &__text {
96
- color: var(--tide-booking-step-indicators-icon-color-text-active);
97
- }
98
- }
99
- }
100
-
101
- &__item--completed {
102
- &:before {
103
- content: '';
104
- position: absolute;
105
- width: 200%;
106
- height: 1.5px;
107
- margin-top: 0.75px;
108
- top: 15px;
109
- left: 35px;
110
- }
111
-
112
- .step-indicators__icon {
113
- border: var(--tide-booking-step-indicators-icon-color-completed);
114
- color: transparent;
115
- background-color: var(--tide-booking-step-indicators-icon-background-completed);
116
-
117
- &:before {
118
- content: '';
119
- position: absolute;
120
- width: 11px;
121
- height: 5px;
122
- margin-top: -6px;
123
- margin-left: 0px;
124
- border-left: 2px solid;
125
- border-bottom: 2px solid;
126
- border-color: var(--tide-booking-step-indicators-icon-check-color-completed);
127
- transform: rotate(-45deg);
128
-
129
- @include media-xs {
130
- width: 17px;
131
- height: 6px;
132
- margin-top: -5px;
133
- margin-left: -2px;
134
- }
135
- }
136
- }
137
- }
138
-
139
- &__icon {
140
- @extend %reset;
141
- position: relative;
142
- width: 30px;
143
- height: 30px;
144
- padding-top: 2px;
145
- @include flex--centerXY;
146
- flex: 0 0 30px;
147
- border-radius: var(--tide-booking-step-indicators-icon-border-radius);
148
- font-family: var(--tide-booking-step-indicators-icon-font-family);
149
- color: var(--tide-booking-step-indicators-icon-color);
150
- background-color: var(--tide-booking-step-indicators-icon-background);
151
- @extend %transition-easing;
152
- z-index: 1;
153
-
154
- @include media-xs {
155
- width: 40px;
156
- height: 40px;
157
- flex: 0 0 40px;
158
- }
159
- }
160
-
161
- &__text {
162
- position: absolute;
163
- max-width: 20vw;
164
- white-space: nowrap;
165
- top: 50px;
166
- font-family: var(--tide-booking-step-indicators-icon-font-family);
167
- font-size: 10px;
168
- line-height: 1.2;
169
- text-overflow: ellipsis;
170
- overflow: hidden;
171
- display: none;
172
-
173
- @include media-xs {
174
- font-size: 12px;
175
- }
176
-
177
- @include media-sm {
178
- font-size: 14px;
179
- display: block;
180
- }
181
-
182
- @include media-md {
183
- //font-size: 1.8rem;
184
- font-size: 16px;
185
- }
186
- }
187
- }
1
+ .step-indicators {
2
+ @extend %reset;
3
+ width: 100%;
4
+ max-width: 100%;
5
+ display: flex;
6
+ // padding-bottom: 15px;
7
+ // margin-bottom: 20px;
8
+ overflow: hidden;
9
+
10
+ &__items {
11
+ position: relative;
12
+ width: 100%;
13
+ max-width: 100vw;
14
+ padding-bottom: 15px;
15
+ margin-bottom: 30px;
16
+ display: flex;
17
+ flex-grow: 0;
18
+ justify-content: space-between;
19
+ align-items: flex-start;
20
+
21
+ &:before {
22
+ content: '';
23
+ position: absolute;
24
+ width: 95%;
25
+ height: 0;
26
+ left: 2.5%;
27
+ top: 15px;
28
+ border-bottom: var(--tide-booking-step-indicators-line-trough);
29
+
30
+ @include media-xs {
31
+ top: 20px;
32
+ }
33
+ }
34
+ }
35
+
36
+ &__item {
37
+ position: relative;
38
+ padding-bottom: 1.05rem;
39
+ @include column;
40
+ align-items: center;
41
+ text-align: center;
42
+ text-decoration: none;
43
+ color: inherit !important;
44
+
45
+ &:first-child {
46
+ align-items: flex-start;
47
+ text-align: left;
48
+ }
49
+
50
+ &:last-child {
51
+ align-items: flex-end;
52
+ text-align: right;
53
+ }
54
+ }
55
+
56
+ &__item--active {
57
+ &:before {
58
+ content: '';
59
+ position: absolute;
60
+ width: 200%;
61
+ height: 1.5px;
62
+ margin-top: 0.75px;
63
+ top: 15px;
64
+ left: 35px;
65
+ }
66
+
67
+ .step-indicators {
68
+ &__icon {
69
+ border: var(--tide-booking-step-indicators-icon-border-active);
70
+ color: transparent;
71
+ background-color: var(--tide-booking-step-indicators-icon-background-active);
72
+ animation: pulse 7s infinite;
73
+
74
+ &:before {
75
+ content: '';
76
+ position: absolute;
77
+ width: 11px;
78
+ height: 5px;
79
+ margin-top: -6px;
80
+ margin-left: 0px;
81
+ border-left: 2px solid;
82
+ border-bottom: 2px solid;
83
+ border-color: var(--tide-booking-step-indicators-icon-check-color-active);
84
+ transform: rotate(-45deg);
85
+
86
+ @include media-xs {
87
+ width: 17px;
88
+ height: 6px;
89
+ margin-top: -5px;
90
+ margin-left: -2px;
91
+ }
92
+ }
93
+ }
94
+
95
+ &__text {
96
+ color: var(--tide-booking-step-indicators-icon-color-text-active);
97
+ }
98
+ }
99
+ }
100
+
101
+ &__item--completed {
102
+ &:before {
103
+ content: '';
104
+ position: absolute;
105
+ width: 200%;
106
+ height: 1.5px;
107
+ margin-top: 0.75px;
108
+ top: 15px;
109
+ left: 35px;
110
+ }
111
+
112
+ .step-indicators__icon {
113
+ border: var(--tide-booking-step-indicators-icon-color-completed);
114
+ color: transparent;
115
+ background-color: var(--tide-booking-step-indicators-icon-background-completed);
116
+
117
+ &:before {
118
+ content: '';
119
+ position: absolute;
120
+ width: 11px;
121
+ height: 5px;
122
+ margin-top: -6px;
123
+ margin-left: 0px;
124
+ border-left: 2px solid;
125
+ border-bottom: 2px solid;
126
+ border-color: var(--tide-booking-step-indicators-icon-check-color-completed);
127
+ transform: rotate(-45deg);
128
+
129
+ @include media-xs {
130
+ width: 17px;
131
+ height: 6px;
132
+ margin-top: -5px;
133
+ margin-left: -2px;
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ &__icon {
140
+ @extend %reset;
141
+ position: relative;
142
+ width: 30px;
143
+ height: 30px;
144
+ padding-top: 2px;
145
+ @include flex--centerXY;
146
+ flex: 0 0 30px;
147
+ border-radius: var(--tide-booking-step-indicators-icon-border-radius);
148
+ font-family: var(--tide-booking-step-indicators-icon-font-family);
149
+ color: var(--tide-booking-step-indicators-icon-color);
150
+ background-color: var(--tide-booking-step-indicators-icon-background);
151
+ @extend %transition-easing;
152
+ z-index: 1;
153
+
154
+ @include media-xs {
155
+ width: 40px;
156
+ height: 40px;
157
+ flex: 0 0 40px;
158
+ }
159
+ }
160
+
161
+ &__text {
162
+ position: absolute;
163
+ max-width: 20vw;
164
+ white-space: nowrap;
165
+ top: 50px;
166
+ font-family: var(--tide-booking-step-indicators-icon-font-family);
167
+ font-size: 10px;
168
+ line-height: 1.2;
169
+ text-overflow: ellipsis;
170
+ overflow: hidden;
171
+ display: none;
172
+
173
+ @include media-xs {
174
+ font-size: 12px;
175
+ }
176
+
177
+ @include media-sm {
178
+ font-size: 14px;
179
+ display: block;
180
+ }
181
+
182
+ @include media-md {
183
+ //font-size: 1.8rem;
184
+ font-size: 16px;
185
+ }
186
+ }
187
+ }
@@ -1,81 +1,81 @@
1
- .table--striped {
2
- width: 100%;
3
- table-layout: fixed;
4
- border-collapse: collapse;
5
- border-radius: 0px;
6
- font-size: 13px;
7
- overflow: hidden;
8
-
9
- @include media-lg {
10
- font-size: 16px;
11
- }
12
-
13
- // tr {
14
- // & + tr {
15
- // transform: translateY(-10px);
16
- // }
17
- // }
18
-
19
- th,
20
- td {
21
- text-align: left;
22
- font-weight: 400;
23
- }
24
-
25
- td {
26
- padding: 15px * 0.7;
27
-
28
- &:first-child {
29
- border-radius: 15px * 0.3 15px * 0.3 0 0;
30
- }
31
-
32
- &:last-child {
33
- border-radius: 0 0 15px * 0.3 15px * 0.3;
34
- }
35
- }
36
-
37
- tbody {
38
- tr {
39
- border-radius: 15px * 0.3;
40
- }
41
-
42
- tr:nth-of-type(odd) {
43
- // background: fade-out($color-primary, 0.95);
44
- }
45
- }
46
- }
47
-
48
- .tree .tree__level .tree__level .table--striped tbody tr:last-child td {
49
- border-bottom: none;
50
- }
51
-
52
- .tree__body .table--striped {
53
- margin-top: 0;
54
- }
55
-
56
- .tree__body .tree__level td {
57
- padding: 0;
58
- }
59
-
60
- .tree__body .tree__level tbody tr + tr td {
61
- // border-top: 10px solid fade-out($black, 0.95);
62
- }
63
-
64
- .tree__level .tree__level .table--striped tr:nth-of-type(odd) {
65
- background: none;
66
- }
67
-
68
- .tree__level .tree__level .table--striped tbody tr:nth-of-type(odd) tbody {
69
- th,
70
- td {
71
- // border-bottom: 10px solid fade-out($black, 0.95);
72
- }
73
- }
74
-
75
- .booking .table--striped td {
76
- padding: 0;
77
- }
78
-
79
- .booking .table--striped tbody tr:nth-of-type(odd) {
80
- background-color: transparent;
81
- }
1
+ .table--striped {
2
+ width: 100%;
3
+ table-layout: fixed;
4
+ border-collapse: collapse;
5
+ border-radius: 0px;
6
+ font-size: 13px;
7
+ overflow: hidden;
8
+
9
+ @include media-lg {
10
+ font-size: 16px;
11
+ }
12
+
13
+ // tr {
14
+ // & + tr {
15
+ // transform: translateY(-10px);
16
+ // }
17
+ // }
18
+
19
+ th,
20
+ td {
21
+ text-align: left;
22
+ font-weight: 400;
23
+ }
24
+
25
+ td {
26
+ padding: 15px * 0.7;
27
+
28
+ &:first-child {
29
+ border-radius: 15px * 0.3 15px * 0.3 0 0;
30
+ }
31
+
32
+ &:last-child {
33
+ border-radius: 0 0 15px * 0.3 15px * 0.3;
34
+ }
35
+ }
36
+
37
+ tbody {
38
+ tr {
39
+ border-radius: 15px * 0.3;
40
+ }
41
+
42
+ tr:nth-of-type(odd) {
43
+ // background: fade-out($color-primary, 0.95);
44
+ }
45
+ }
46
+ }
47
+
48
+ .tree .tree__level .tree__level .table--striped tbody tr:last-child td {
49
+ border-bottom: none;
50
+ }
51
+
52
+ .tree__body .table--striped {
53
+ margin-top: 0;
54
+ }
55
+
56
+ .tree__body .tree__level td {
57
+ padding: 0;
58
+ }
59
+
60
+ .tree__body .tree__level tbody tr + tr td {
61
+ // border-top: 10px solid fade-out($black, 0.95);
62
+ }
63
+
64
+ .tree__level .tree__level .table--striped tr:nth-of-type(odd) {
65
+ background: none;
66
+ }
67
+
68
+ .tree__level .tree__level .table--striped tbody tr:nth-of-type(odd) tbody {
69
+ th,
70
+ td {
71
+ // border-bottom: 10px solid fade-out($black, 0.95);
72
+ }
73
+ }
74
+
75
+ .booking .table--striped td {
76
+ padding: 0;
77
+ }
78
+
79
+ .booking .table--striped tbody tr:nth-of-type(odd) {
80
+ background-color: transparent;
81
+ }