@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.
- package/build/build-cjs/index.js +290 -280
- package/build/build-cjs/src/search-results/types.d.ts +12 -0
- package/build/build-esm/index.js +290 -280
- package/build/build-esm/src/search-results/types.d.ts +12 -0
- package/package.json +2 -2
- package/styles/abstracts/_mixins.scss +74 -74
- package/styles/abstracts/_variables.scss +57 -57
- package/styles/base/_fonts.scss +2 -2
- package/styles/base/_normalize.scss +227 -227
- package/styles/base/_typography.scss +35 -35
- package/styles/booking-joker-variables.scss +596 -596
- package/styles/booking-product-variables.scss +330 -330
- package/styles/booking-product.scss +438 -438
- package/styles/booking-qsm-variables.scss +501 -501
- package/styles/booking-qsm.scss +52 -52
- package/styles/booking-search-results-variables.scss +734 -734
- package/styles/booking-search-results.scss +53 -53
- package/styles/booking-wizard-variables.scss +603 -603
- package/styles/booking-wizard.scss +61 -61
- package/styles/components/_accordion.scss +67 -67
- package/styles/components/_animations.scss +39 -39
- package/styles/components/_base.scss +107 -107
- package/styles/components/_booking.scss +906 -906
- package/styles/components/_breadcrumb.scss +92 -92
- package/styles/components/_button.scss +238 -238
- package/styles/components/_checkbox.scss +230 -230
- package/styles/components/_contact.scss +255 -255
- package/styles/components/_content.scss +336 -336
- package/styles/components/_cta.scss +238 -238
- package/styles/components/_date-list.scss +41 -41
- package/styles/components/_date-range-picker.scss +223 -223
- package/styles/components/_decrement-increment.scss +35 -35
- package/styles/components/_dropdown.scss +77 -77
- package/styles/components/_error.scss +50 -50
- package/styles/components/_faq.scss +30 -30
- package/styles/components/_flight-option.scss +1432 -1432
- package/styles/components/_flyin.scss +830 -830
- package/styles/components/_footer.scss +135 -135
- package/styles/components/_form.scss +1693 -1693
- package/styles/components/_gallery.scss +317 -317
- package/styles/components/_header.scss +113 -113
- package/styles/components/_image-with-text.scss +206 -206
- package/styles/components/_img-slider.scss +175 -175
- package/styles/components/_info-message.scss +75 -75
- package/styles/components/_input.scss +35 -35
- package/styles/components/_list.scss +185 -185
- package/styles/components/_loader.scss +152 -152
- package/styles/components/_login.scss +140 -140
- package/styles/components/_map-view.scss +1100 -1100
- package/styles/components/_mixins.scss +579 -579
- package/styles/components/_navbar.scss +765 -765
- package/styles/components/_passenger-picker.scss +306 -306
- package/styles/components/_phone-input.scss +8 -8
- package/styles/components/_placeholders.scss +165 -165
- package/styles/components/_pricing-summary.scss +163 -163
- package/styles/components/_qsm.scss +17 -17
- package/styles/components/_radiobutton.scss +170 -170
- package/styles/components/_search.scss +2197 -2197
- package/styles/components/_select-wrapper.scss +81 -81
- package/styles/components/_slider.scss +128 -128
- package/styles/components/_spinner.scss +29 -29
- package/styles/components/_step-indicators.scss +187 -187
- package/styles/components/_table.scss +81 -81
- package/styles/components/_tide-form.scss +578 -578
- package/styles/components/_tree.scss +648 -648
- package/styles/components/_typeahead.scss +275 -275
- package/styles/components/_variables.scss +89 -89
- package/styles/content-blocks-variables.scss +543 -543
- package/styles/content-blocks.scss +66 -66
- package/styles/font.scss +2 -2
- package/styles/qsm/_calendar.scss +274 -274
- package/styles/qsm/_qsm.scss +1097 -1097
- package/styles/search.scss +1200 -1200
- package/styles/tide-form-variables.scss +275 -275
- package/styles/tide-form.scss +56 -56
|
@@ -50,6 +50,18 @@ export interface SearchResultsConfiguration {
|
|
|
50
50
|
* node's remaining results in the fly-in.
|
|
51
51
|
*/
|
|
52
52
|
hideShowMoreResults?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* From the website portal configuration. When true a traject day's activity suggestions are
|
|
55
|
+
* only searched after the traveller asks for them; when false they load automatically once
|
|
56
|
+
* the trip has resolved.
|
|
57
|
+
*/
|
|
58
|
+
loadDayActivitiesOnDemand?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* From the website portal configuration. When true a traject hotel's card row is filled up
|
|
61
|
+
* with non-preferred hotels found in the area (API or internal Tide); when false the row only
|
|
62
|
+
* holds the hotels configured on the node.
|
|
63
|
+
*/
|
|
64
|
+
showNonPreferredHotels?: boolean;
|
|
53
65
|
generatePaymentUrl?: boolean;
|
|
54
66
|
entryStatus?: number;
|
|
55
67
|
customEntryStatusId?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qite/tide-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "React components for Tide (booking, product availability, form, ...)",
|
|
5
5
|
"main": "build/build-cjs/index.js",
|
|
6
6
|
"types": "build/build-cjs/src/index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@jsonurl/jsonurl": "^1.1.4",
|
|
38
38
|
"@popperjs/core": "^2.10.2",
|
|
39
|
-
"@qite/tide-client": "^2.0.
|
|
39
|
+
"@qite/tide-client": "^2.0.18",
|
|
40
40
|
"@reduxjs/toolkit": "^2.8.2",
|
|
41
41
|
"@rollup/plugin-commonjs": "^19.0.1",
|
|
42
42
|
"@rollup/plugin-json": "^4.1.0",
|
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
@use '../abstracts/variables' as variables;
|
|
2
|
-
// MEDIA QUERIES
|
|
3
|
-
@mixin media-xs {
|
|
4
|
-
@media only screen and (max-width: variables.$screen-xs) {
|
|
5
|
-
@content;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin media-sm {
|
|
10
|
-
@media only screen and (max-width: variables.$screen-sm) {
|
|
11
|
-
@content;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@mixin media-md {
|
|
16
|
-
@media only screen and (max-width: variables.$screen-md) {
|
|
17
|
-
@content;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@mixin media-lg {
|
|
22
|
-
@media only screen and (max-width: variables.$screen-lg) {
|
|
23
|
-
@content;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@mixin media-xgl {
|
|
28
|
-
@media only screen and (max-width: variables.$screen-xgl) {
|
|
29
|
-
@content;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@mixin media-xl {
|
|
34
|
-
@media only screen and (max-width: variables.$screen-xl) {
|
|
35
|
-
@content;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@mixin media-xxl {
|
|
40
|
-
@media only screen and (max-width: variables.$screen-xxl) {
|
|
41
|
-
@content;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@mixin media-xxxl {
|
|
46
|
-
@media only screen and (max-width: variables.$screen-xxl) {
|
|
47
|
-
@content;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@mixin make-container($padding-x: $container-padding-x) {
|
|
52
|
-
width: 100%;
|
|
53
|
-
max-width: 1496px;
|
|
54
|
-
margin-right: auto;
|
|
55
|
-
margin-left: auto;
|
|
56
|
-
|
|
57
|
-
@include media-xl {
|
|
58
|
-
padding: 0 $padding-x;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@mixin container() {
|
|
63
|
-
width: 100%;
|
|
64
|
-
padding: 0 15px;
|
|
65
|
-
margin: 0 auto;
|
|
66
|
-
|
|
67
|
-
@include media-sm {
|
|
68
|
-
padding: 0 30px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@include media-lg {
|
|
72
|
-
padding: 0 45px;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
1
|
+
@use '../abstracts/variables' as variables;
|
|
2
|
+
// MEDIA QUERIES
|
|
3
|
+
@mixin media-xs {
|
|
4
|
+
@media only screen and (max-width: variables.$screen-xs) {
|
|
5
|
+
@content;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin media-sm {
|
|
10
|
+
@media only screen and (max-width: variables.$screen-sm) {
|
|
11
|
+
@content;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@mixin media-md {
|
|
16
|
+
@media only screen and (max-width: variables.$screen-md) {
|
|
17
|
+
@content;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@mixin media-lg {
|
|
22
|
+
@media only screen and (max-width: variables.$screen-lg) {
|
|
23
|
+
@content;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@mixin media-xgl {
|
|
28
|
+
@media only screen and (max-width: variables.$screen-xgl) {
|
|
29
|
+
@content;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin media-xl {
|
|
34
|
+
@media only screen and (max-width: variables.$screen-xl) {
|
|
35
|
+
@content;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@mixin media-xxl {
|
|
40
|
+
@media only screen and (max-width: variables.$screen-xxl) {
|
|
41
|
+
@content;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@mixin media-xxxl {
|
|
46
|
+
@media only screen and (max-width: variables.$screen-xxl) {
|
|
47
|
+
@content;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@mixin make-container($padding-x: $container-padding-x) {
|
|
52
|
+
width: 100%;
|
|
53
|
+
max-width: 1496px;
|
|
54
|
+
margin-right: auto;
|
|
55
|
+
margin-left: auto;
|
|
56
|
+
|
|
57
|
+
@include media-xl {
|
|
58
|
+
padding: 0 $padding-x;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@mixin container() {
|
|
63
|
+
width: 100%;
|
|
64
|
+
padding: 0 15px;
|
|
65
|
+
margin: 0 auto;
|
|
66
|
+
|
|
67
|
+
@include media-sm {
|
|
68
|
+
padding: 0 30px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@include media-lg {
|
|
72
|
+
padding: 0 45px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
// COLORS
|
|
2
|
-
$primary-color: #25575c;
|
|
3
|
-
$primary-color--light: #32686d;
|
|
4
|
-
$secondary-color: #57abb2;
|
|
5
|
-
$secondary-color--light: #abd5d9;
|
|
6
|
-
$secondary-color--extralight: #e3f1f2;
|
|
7
|
-
|
|
8
|
-
$bg-light: #f4f9fa;
|
|
9
|
-
$text-color: #707070;
|
|
10
|
-
$text-color-black: #202124;
|
|
11
|
-
|
|
12
|
-
$white: #ffffff;
|
|
13
|
-
$gray: #c6c6c6;
|
|
14
|
-
$black: #000000;
|
|
15
|
-
$transparent: transparent;
|
|
16
|
-
|
|
17
|
-
// BUTTON COLORS XD
|
|
18
|
-
$purple-color--light: #dfcce8;
|
|
19
|
-
$purple-color--dark: #794e8c;
|
|
20
|
-
|
|
21
|
-
$yellow-color--light: #fff9de;
|
|
22
|
-
$yellow-color--dark: #b7990c;
|
|
23
|
-
|
|
24
|
-
$pink-color: #d81259;
|
|
25
|
-
|
|
26
|
-
$blue-color: #0e3e8d;
|
|
27
|
-
|
|
28
|
-
$yellow-color: #ffde40;
|
|
29
|
-
|
|
30
|
-
// MEDIA QUERIES
|
|
31
|
-
$screen-xs: 576px;
|
|
32
|
-
$screen-sm: 768px;
|
|
33
|
-
$screen-md: 992px;
|
|
34
|
-
$screen-lg: 1200px;
|
|
35
|
-
$screen-xl: 1440px;
|
|
36
|
-
$screen-xxl: 1700px;
|
|
37
|
-
$screen-xxxl: 1920px;
|
|
38
|
-
|
|
39
|
-
// Typography
|
|
40
|
-
$font-family-base: 'Public Sans', Arial, sans-serif;
|
|
41
|
-
$font-family-heading: 'Alfa Slab One', Arial, sans-serif;
|
|
42
|
-
$font-size-base: 16px;
|
|
43
|
-
$font-size-h1: 3.0625rem;
|
|
44
|
-
$font-size-h2: 2.5625rem;
|
|
45
|
-
$font-size-h3: 2.125rem;
|
|
46
|
-
$font-size-h4: 1.75rem;
|
|
47
|
-
$font-size-h5: 1.4375rem;
|
|
48
|
-
$font-size-h6: 1.1875rem;
|
|
49
|
-
$font-size-body: 1rem;
|
|
50
|
-
$font-size-body--small: 0.875rem;
|
|
51
|
-
$font-size-label: 0.75rem;
|
|
52
|
-
|
|
53
|
-
$line-height-base: 1.5;
|
|
54
|
-
$line-height-heading: 1.2;
|
|
55
|
-
|
|
56
|
-
$font-weight-normal: 400;
|
|
57
|
-
$font-weight-bold: 700;
|
|
1
|
+
// COLORS
|
|
2
|
+
$primary-color: #25575c;
|
|
3
|
+
$primary-color--light: #32686d;
|
|
4
|
+
$secondary-color: #57abb2;
|
|
5
|
+
$secondary-color--light: #abd5d9;
|
|
6
|
+
$secondary-color--extralight: #e3f1f2;
|
|
7
|
+
|
|
8
|
+
$bg-light: #f4f9fa;
|
|
9
|
+
$text-color: #707070;
|
|
10
|
+
$text-color-black: #202124;
|
|
11
|
+
|
|
12
|
+
$white: #ffffff;
|
|
13
|
+
$gray: #c6c6c6;
|
|
14
|
+
$black: #000000;
|
|
15
|
+
$transparent: transparent;
|
|
16
|
+
|
|
17
|
+
// BUTTON COLORS XD
|
|
18
|
+
$purple-color--light: #dfcce8;
|
|
19
|
+
$purple-color--dark: #794e8c;
|
|
20
|
+
|
|
21
|
+
$yellow-color--light: #fff9de;
|
|
22
|
+
$yellow-color--dark: #b7990c;
|
|
23
|
+
|
|
24
|
+
$pink-color: #d81259;
|
|
25
|
+
|
|
26
|
+
$blue-color: #0e3e8d;
|
|
27
|
+
|
|
28
|
+
$yellow-color: #ffde40;
|
|
29
|
+
|
|
30
|
+
// MEDIA QUERIES
|
|
31
|
+
$screen-xs: 576px;
|
|
32
|
+
$screen-sm: 768px;
|
|
33
|
+
$screen-md: 992px;
|
|
34
|
+
$screen-lg: 1200px;
|
|
35
|
+
$screen-xl: 1440px;
|
|
36
|
+
$screen-xxl: 1700px;
|
|
37
|
+
$screen-xxxl: 1920px;
|
|
38
|
+
|
|
39
|
+
// Typography
|
|
40
|
+
$font-family-base: 'Public Sans', Arial, sans-serif;
|
|
41
|
+
$font-family-heading: 'Alfa Slab One', Arial, sans-serif;
|
|
42
|
+
$font-size-base: 16px;
|
|
43
|
+
$font-size-h1: 3.0625rem;
|
|
44
|
+
$font-size-h2: 2.5625rem;
|
|
45
|
+
$font-size-h3: 2.125rem;
|
|
46
|
+
$font-size-h4: 1.75rem;
|
|
47
|
+
$font-size-h5: 1.4375rem;
|
|
48
|
+
$font-size-h6: 1.1875rem;
|
|
49
|
+
$font-size-body: 1rem;
|
|
50
|
+
$font-size-body--small: 0.875rem;
|
|
51
|
+
$font-size-label: 0.75rem;
|
|
52
|
+
|
|
53
|
+
$line-height-base: 1.5;
|
|
54
|
+
$line-height-heading: 1.2;
|
|
55
|
+
|
|
56
|
+
$font-weight-normal: 400;
|
|
57
|
+
$font-weight-bold: 700;
|
package/styles/base/_fonts.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// @import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
|
|
2
|
-
// @import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
|
|
1
|
+
// @import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
|
|
2
|
+
// @import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
|