@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,81 +1,81 @@
1
- .select-wrapper {
2
- &__select {
3
- position: relative;
4
-
5
- &:after {
6
- content: '';
7
- position: absolute;
8
- width: 8px;
9
- height: 8px;
10
- right: 15px;
11
- top: 13px;
12
- display: inline-flex;
13
- border-left: 2px solid var(--tide-booking-room-options-dropdown-select-icon-color);
14
- border-bottom: 2px solid var(--tide-booking-room-options-dropdown-select-icon-color);
15
- transform: rotate(-45deg);
16
- pointer-events: none;
17
- }
18
- }
19
-
20
- select {
21
- width: 100%;
22
- height: 40px;
23
- padding: 0 40px 0 10px;
24
- border-radius: var(--tide-booking-room-options-dropdown-select-border-radius);
25
- border: var(--tide-booking-room-options-dropdown-select-border);
26
- font-family: var(--tide-booking-room-options-dropdown-select-font-family);
27
- appearance: none;
28
-
29
- &:focus {
30
- outline: none;
31
- border: --tide-booking-room-options-dropdown-select-border-focus;
32
- }
33
-
34
- &:hover {
35
- cursor: pointer;
36
- }
37
-
38
- option {
39
- appearance: none;
40
- display: flex;
41
- justify-content: space-between;
42
- gap: 20px;
43
-
44
- font-family: var(--tide-booking-room-options-dropdown-select-font-family);
45
- font-size: 16px;
46
- color: var(--tide-booking-room-options-dropdown-select-option-color);
47
- }
48
- }
49
-
50
- ::picker(select) {
51
- top: calc(anchor(bottom) + 1px);
52
- left: anchor(10%);
53
- }
54
- }
55
-
56
- .productcard--accommodation .select-wrapper {
57
- select {
58
- font-size: 14.5px;
59
-
60
- @include media-xs {
61
- font-size: 15.5px;
62
- }
63
- }
64
- }
65
-
66
- .tree .select-wrapper {
67
- width: 100%;
68
-
69
- // @include media-lg {
70
- // transform: translateY(-5px);
71
- // }
72
-
73
- // @include media-xl {
74
- // transform: translateY(-7px);
75
- // }
76
- }
77
-
78
- select {
79
- font-family: --tide-booking-font-body;
80
- font-size: 16px;
81
- }
1
+ .select-wrapper {
2
+ &__select {
3
+ position: relative;
4
+
5
+ &:after {
6
+ content: '';
7
+ position: absolute;
8
+ width: 8px;
9
+ height: 8px;
10
+ right: 15px;
11
+ top: 13px;
12
+ display: inline-flex;
13
+ border-left: 2px solid var(--tide-booking-room-options-dropdown-select-icon-color);
14
+ border-bottom: 2px solid var(--tide-booking-room-options-dropdown-select-icon-color);
15
+ transform: rotate(-45deg);
16
+ pointer-events: none;
17
+ }
18
+ }
19
+
20
+ select {
21
+ width: 100%;
22
+ height: 40px;
23
+ padding: 0 40px 0 10px;
24
+ border-radius: var(--tide-booking-room-options-dropdown-select-border-radius);
25
+ border: var(--tide-booking-room-options-dropdown-select-border);
26
+ font-family: var(--tide-booking-room-options-dropdown-select-font-family);
27
+ appearance: none;
28
+
29
+ &:focus {
30
+ outline: none;
31
+ border: --tide-booking-room-options-dropdown-select-border-focus;
32
+ }
33
+
34
+ &:hover {
35
+ cursor: pointer;
36
+ }
37
+
38
+ option {
39
+ appearance: none;
40
+ display: flex;
41
+ justify-content: space-between;
42
+ gap: 20px;
43
+
44
+ font-family: var(--tide-booking-room-options-dropdown-select-font-family);
45
+ font-size: 16px;
46
+ color: var(--tide-booking-room-options-dropdown-select-option-color);
47
+ }
48
+ }
49
+
50
+ ::picker(select) {
51
+ top: calc(anchor(bottom) + 1px);
52
+ left: anchor(10%);
53
+ }
54
+ }
55
+
56
+ .productcard--accommodation .select-wrapper {
57
+ select {
58
+ font-size: 14.5px;
59
+
60
+ @include media-xs {
61
+ font-size: 15.5px;
62
+ }
63
+ }
64
+ }
65
+
66
+ .tree .select-wrapper {
67
+ width: 100%;
68
+
69
+ // @include media-lg {
70
+ // transform: translateY(-5px);
71
+ // }
72
+
73
+ // @include media-xl {
74
+ // transform: translateY(-7px);
75
+ // }
76
+ }
77
+
78
+ select {
79
+ font-family: --tide-booking-font-body;
80
+ font-size: 16px;
81
+ }
@@ -1,128 +1,120 @@
1
- @use '../components/mixins' as mixins;
2
-
3
- .double-slider-box {
4
- background-color: transparent;
5
- border-radius: 10px;
6
- width: 100%;
7
- max-width: 97%;
8
- margin-left: 10px;
9
-
10
- // @include media-xs {
11
- // max-width: 342px;
12
- // }
13
- }
14
-
15
- .range-slider {
16
- position: relative;
17
- width: 100%;
18
- height: 3px;
19
- margin: 25px 0;
20
- background-color: var(--tide-booking-slider-range-background);
21
- border-radius: 5px;
22
-
23
- input {
24
- padding: 0rem;
25
- }
26
- }
27
-
28
- .slider-track {
29
- height: 100%;
30
- position: absolute;
31
- background-color: var(--tide-booking-slider-track-background);
32
- left: 0;
33
- right: 100%;
34
- border-radius: 5px;
35
- }
36
-
37
- .range-slider input[type='range'] {
38
- position: absolute;
39
- width: 100%;
40
- left: 0px;
41
- top: 0;
42
- transform: translateY(-47%);
43
- background: none;
44
- pointer-events: none;
45
- border: none;
46
- margin: 0px;
47
- appearance: none;
48
- height: 5px;
49
- }
50
-
51
- input[type='range']::-webkit-slider-thumb {
52
- height: 25px;
53
- width: 25px;
54
- border-radius: 50%;
55
- border: 3px solid var(--tide-booking-slider-thumb-border-color);
56
- background: var(--tide-booking-slider-thumb-background);
57
- pointer-events: auto;
58
- appearance: none;
59
- cursor: pointer;
60
- box-shadow: 0 1.25px 5.625px -1.25px rgba(0, 0, 0, 0.25);
61
- position: relative;
62
- z-index: 2; /* Ensure thumbs appear above the track */
63
- }
64
-
65
- input[type='range']::-moz-range-thumb {
66
- height: 25px;
67
- width: 25px;
68
- border-radius: 50%;
69
- border: 3px solid var(--tide-booking-slider-thumb-border-color);
70
- background: var(--tide-booking-slider-thumb-background);
71
- pointer-events: auto;
72
- cursor: pointer;
73
- box-shadow: 0 1.25px 5.625px -1.25px rgba(0, 0, 0, 0.25);
74
- position: relative;
75
- z-index: 2;
76
- }
77
-
78
- .input-box {
79
- display: flex;
80
- justify-content: space-between;
81
- width: 100%;
82
- }
83
-
84
- .min-box,
85
- .max-box {
86
- width: 50%;
87
- font-size: 16px;
88
- }
89
-
90
- .min-box {
91
- margin-right: 10px;
92
- }
93
-
94
- .max-box {
95
- text-align: right;
96
- }
97
-
98
- input[type='number'] {
99
- width: 40px;
100
- padding: 10px;
101
- border: 1px solid #ccc;
102
- border-radius: 5px;
103
- text-align: center;
104
- }
105
-
106
- .min-tooltip,
107
- .max-tooltip {
108
- position: absolute;
109
- bottom: -35px;
110
- font-size: 12px;
111
- color: #555;
112
- background-color: #fff;
113
- padding: 5px;
114
- border: 1px solid #ddd;
115
- border-radius: 5px;
116
- white-space: nowrap;
117
- z-index: 1;
118
- }
119
-
120
- .min-tooltip {
121
- left: 20px;
122
- transform: translateX(-50%);
123
- }
124
-
125
- .max-tooltip {
126
- right: 20px;
127
- transform: translateX(50%);
128
- }
1
+ @use '../components/mixins' as mixins;
2
+
3
+ .double-slider-box {
4
+ background-color: transparent;
5
+ border-radius: 10px;
6
+ width: 100%;
7
+ max-width: 97%;
8
+ margin-left: 10px;
9
+
10
+ // @include media-xs {
11
+ // max-width: 342px;
12
+ // }
13
+ }
14
+
15
+ .range-slider {
16
+ position: relative;
17
+ width: 100%;
18
+ height: 3px;
19
+ margin: 25px 0;
20
+ background-color: var(--tide-booking-slider-range-background);
21
+ border-radius: 5px;
22
+
23
+ input {
24
+ padding: 0rem;
25
+ }
26
+ }
27
+
28
+ .slider-track {
29
+ height: 100%;
30
+ position: absolute;
31
+ background-color: var(--tide-booking-slider-track-background);
32
+ left: 0;
33
+ right: 100%;
34
+ border-radius: 5px;
35
+ }
36
+
37
+ .range-slider input[type='range'] {
38
+ position: absolute;
39
+ width: 100%;
40
+ left: 0px;
41
+ top: 0;
42
+ transform: translateY(-47%);
43
+ background: none;
44
+ pointer-events: none;
45
+ border: none;
46
+ margin: 0px;
47
+ appearance: none;
48
+ height: 5px;
49
+ }
50
+
51
+ input[type='range']::-webkit-slider-thumb {
52
+ height: 25px;
53
+ width: 25px;
54
+ border-radius: 50%;
55
+ border: 3px solid var(--tide-booking-slider-thumb-border-color);
56
+ background: var(--tide-booking-slider-thumb-background);
57
+ pointer-events: auto;
58
+ appearance: none;
59
+ cursor: pointer;
60
+ box-shadow: 0 1.25px 5.625px -1.25px rgba(0, 0, 0, 0.25);
61
+ position: relative;
62
+ z-index: 2; /* Ensure thumbs appear above the track */
63
+ }
64
+
65
+ input[type='range']::-moz-range-thumb {
66
+ height: 25px;
67
+ width: 25px;
68
+ border-radius: 50%;
69
+ border: 3px solid var(--tide-booking-slider-thumb-border-color);
70
+ background: var(--tide-booking-slider-thumb-background);
71
+ pointer-events: auto;
72
+ cursor: pointer;
73
+ box-shadow: 0 1.25px 5.625px -1.25px rgba(0, 0, 0, 0.25);
74
+ position: relative;
75
+ z-index: 2;
76
+ }
77
+
78
+ .input-box {
79
+ display: flex;
80
+ justify-content: space-between;
81
+ width: 100%;
82
+ }
83
+
84
+ .min-box,
85
+ .max-box {
86
+ width: 50%;
87
+ font-size: 16px;
88
+ }
89
+
90
+ .min-box {
91
+ margin-right: 10px;
92
+ }
93
+
94
+ .max-box {
95
+ text-align: right;
96
+ }
97
+
98
+ .min-tooltip,
99
+ .max-tooltip {
100
+ position: absolute;
101
+ bottom: -35px;
102
+ font-size: 12px;
103
+ color: #555;
104
+ background-color: #fff;
105
+ padding: 5px;
106
+ border: 1px solid #ddd;
107
+ border-radius: 5px;
108
+ white-space: nowrap;
109
+ z-index: 1;
110
+ }
111
+
112
+ .min-tooltip {
113
+ left: 20px;
114
+ transform: translateX(-50%);
115
+ }
116
+
117
+ .max-tooltip {
118
+ right: 20px;
119
+ transform: translateX(50%);
120
+ }
@@ -1,29 +1,29 @@
1
- .spinner {
2
- position: absolute;
3
- width: 100%;
4
- height: 100%;
5
- top: 0;
6
- left: 0;
7
- @include flex--centerXY;
8
- display: none;
9
- background: rgba(255, 255, 255, 0.75);
10
-
11
- &__icon {
12
- width: 50px;
13
- height: 50px;
14
- @include flex--centerXY;
15
-
16
- .icon {
17
- position: static !important;
18
- width: 100% !important;
19
- height: 100% !important;
20
- top: initial !important;
21
- left: initial !important;
22
- animation: spinner 1.5s infinite ease-in-out both;
23
- }
24
- }
25
-
26
- &--active {
27
- display: flex;
28
- }
29
- }
1
+ .spinner {
2
+ position: absolute;
3
+ width: 100%;
4
+ height: 100%;
5
+ top: 0;
6
+ left: 0;
7
+ @include flex--centerXY;
8
+ display: none;
9
+ background: rgba(255, 255, 255, 0.75);
10
+
11
+ &__icon {
12
+ width: 50px;
13
+ height: 50px;
14
+ @include flex--centerXY;
15
+
16
+ .icon {
17
+ position: static !important;
18
+ width: 100% !important;
19
+ height: 100% !important;
20
+ top: initial !important;
21
+ left: initial !important;
22
+ animation: spinner 1.5s infinite ease-in-out both;
23
+ }
24
+ }
25
+
26
+ &--active {
27
+ display: flex;
28
+ }
29
+ }