@qite/tide-components 1.0.13-preview.0 → 1.0.14

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 +1664 -2414
  2. package/build/build-cjs/src/booking-wizard/features/booking/selectors.d.ts +1 -1
  3. package/build/build-cjs/src/booking-wizard/features/travelers-form/validate-form.d.ts +2 -2
  4. package/build/build-cjs/src/booking-wizard/types.d.ts +3 -23
  5. package/build/build-cjs/src/search-results/components/flight/flight-selection/independent-flight-option.d.ts +0 -2
  6. package/build/build-cjs/src/search-results/components/itinerary/index.d.ts +0 -1
  7. package/build/build-cjs/src/search-results/components/itinerary/itinerary-utils.d.ts +0 -1
  8. package/build/build-cjs/src/search-results/types.d.ts +0 -8
  9. package/build/build-cjs/src/search-results/utils/traject-utils.d.ts +0 -7
  10. package/build/build-cjs/src/shared/booking/travelers-form.d.ts +8 -13
  11. package/build/build-esm/index.js +1666 -2416
  12. package/build/build-esm/src/booking-wizard/features/booking/selectors.d.ts +1 -1
  13. package/build/build-esm/src/booking-wizard/features/travelers-form/validate-form.d.ts +2 -2
  14. package/build/build-esm/src/booking-wizard/types.d.ts +3 -23
  15. package/build/build-esm/src/search-results/components/flight/flight-selection/independent-flight-option.d.ts +0 -2
  16. package/build/build-esm/src/search-results/components/itinerary/index.d.ts +0 -1
  17. package/build/build-esm/src/search-results/components/itinerary/itinerary-utils.d.ts +0 -1
  18. package/build/build-esm/src/search-results/types.d.ts +0 -8
  19. package/build/build-esm/src/search-results/utils/traject-utils.d.ts +0 -7
  20. package/build/build-esm/src/shared/booking/travelers-form.d.ts +8 -13
  21. package/package.json +2 -2
  22. package/styles/abstracts/_mixins.scss +74 -74
  23. package/styles/abstracts/_variables.scss +57 -57
  24. package/styles/base/_fonts.scss +2 -2
  25. package/styles/base/_normalize.scss +227 -227
  26. package/styles/base/_typography.scss +35 -35
  27. package/styles/booking-joker-variables.scss +596 -596
  28. package/styles/booking-product-variables.scss +330 -330
  29. package/styles/booking-product.scss +438 -438
  30. package/styles/booking-qsm-variables.scss +501 -501
  31. package/styles/booking-qsm.scss +52 -52
  32. package/styles/booking-search-results-variables.scss +734 -734
  33. package/styles/booking-search-results.scss +53 -53
  34. package/styles/booking-wizard-variables.scss +603 -603
  35. package/styles/booking-wizard.scss +61 -61
  36. package/styles/components/_accordion.scss +67 -67
  37. package/styles/components/_animations.scss +39 -39
  38. package/styles/components/_base.scss +107 -107
  39. package/styles/components/_booking.scss +906 -906
  40. package/styles/components/_breadcrumb.scss +92 -92
  41. package/styles/components/_button.scss +238 -238
  42. package/styles/components/_checkbox.scss +230 -230
  43. package/styles/components/_contact.scss +255 -255
  44. package/styles/components/_content.scss +336 -336
  45. package/styles/components/_cta.scss +238 -238
  46. package/styles/components/_date-list.scss +41 -41
  47. package/styles/components/_date-range-picker.scss +223 -223
  48. package/styles/components/_decrement-increment.scss +35 -35
  49. package/styles/components/_dropdown.scss +77 -77
  50. package/styles/components/_error.scss +50 -50
  51. package/styles/components/_faq.scss +30 -30
  52. package/styles/components/_flight-option.scss +1444 -1432
  53. package/styles/components/_flyin.scss +830 -830
  54. package/styles/components/_footer.scss +135 -135
  55. package/styles/components/_form.scss +1704 -1704
  56. package/styles/components/_gallery.scss +317 -317
  57. package/styles/components/_header.scss +113 -113
  58. package/styles/components/_image-with-text.scss +206 -206
  59. package/styles/components/_img-slider.scss +175 -175
  60. package/styles/components/_info-message.scss +75 -75
  61. package/styles/components/_input.scss +35 -35
  62. package/styles/components/_list.scss +185 -185
  63. package/styles/components/_loader.scss +152 -152
  64. package/styles/components/_login.scss +140 -140
  65. package/styles/components/_map-view.scss +1100 -1100
  66. package/styles/components/_mixins.scss +579 -579
  67. package/styles/components/_navbar.scss +765 -765
  68. package/styles/components/_passenger-picker.scss +306 -306
  69. package/styles/components/_phone-input.scss +8 -8
  70. package/styles/components/_placeholders.scss +165 -165
  71. package/styles/components/_pricing-summary.scss +163 -163
  72. package/styles/components/_qsm.scss +17 -17
  73. package/styles/components/_radiobutton.scss +170 -170
  74. package/styles/components/_search.scss +2197 -2197
  75. package/styles/components/_select-wrapper.scss +81 -81
  76. package/styles/components/_slider.scss +120 -120
  77. package/styles/components/_spinner.scss +29 -29
  78. package/styles/components/_step-indicators.scss +187 -187
  79. package/styles/components/_table.scss +81 -81
  80. package/styles/components/_tide-form.scss +578 -578
  81. package/styles/components/_tree.scss +648 -648
  82. package/styles/components/_typeahead.scss +275 -275
  83. package/styles/components/_variables.scss +89 -89
  84. package/styles/content-blocks-variables.scss +543 -543
  85. package/styles/content-blocks.scss +66 -66
  86. package/styles/font.scss +2 -2
  87. package/styles/qsm/_calendar.scss +274 -274
  88. package/styles/qsm/_qsm.scss +1097 -1097
  89. package/styles/search.scss +1200 -1200
  90. package/styles/tide-form-variables.scss +275 -275
  91. package/styles/tide-form.scss +56 -56
  92. package/build/build-cjs/src/search-results/utils/booked-entry-utils.d.ts +0 -20
  93. package/build/build-esm/src/search-results/utils/booked-entry-utils.d.ts +0 -20
@@ -1,56 +1,56 @@
1
- @import './tide-form-variables';
2
- @import './font';
3
-
4
- #tide-form {
5
- @import './components/mixins';
6
- @import './components/placeholders';
7
- @import './components/base';
8
- @import './components/form';
9
- @import './components/button';
10
- @import './components/cta';
11
-
12
- @import './components/step-indicators';
13
- @import './components/tree';
14
- @import './components/booking';
15
- @import './components/checkbox';
16
- @import './components/radiobutton';
17
- @import './components/dropdown';
18
- @import './components/loader';
19
- @import './components/date-range-picker';
20
- @import './components/tide-form';
21
- @import './components/contact';
22
-
23
- @extend %reset;
24
- @include body;
25
-
26
- %scrollbar-none {
27
- &::-webkit-scrollbar {
28
- width: 0px;
29
- height: 0px;
30
- }
31
-
32
- &::-webkit-scrollbar-track {
33
- padding: 0;
34
- background: transparent;
35
- }
36
- }
37
-
38
- %scrollbar-thin {
39
- &::-webkit-scrollbar {
40
- width: 8px;
41
- height: 8px;
42
- }
43
-
44
- &::-webkit-scrollbar-track {
45
- padding: 2px;
46
- background: transparent;
47
- }
48
-
49
- &::-webkit-scrollbar-thumb {
50
- border-radius: 4px;
51
- background-color: #cbcbcb;
52
- }
53
- }
54
-
55
- @extend %scrollbar-thin;
56
- }
1
+ @import './tide-form-variables';
2
+ @import './font';
3
+
4
+ #tide-form {
5
+ @import './components/mixins';
6
+ @import './components/placeholders';
7
+ @import './components/base';
8
+ @import './components/form';
9
+ @import './components/button';
10
+ @import './components/cta';
11
+
12
+ @import './components/step-indicators';
13
+ @import './components/tree';
14
+ @import './components/booking';
15
+ @import './components/checkbox';
16
+ @import './components/radiobutton';
17
+ @import './components/dropdown';
18
+ @import './components/loader';
19
+ @import './components/date-range-picker';
20
+ @import './components/tide-form';
21
+ @import './components/contact';
22
+
23
+ @extend %reset;
24
+ @include body;
25
+
26
+ %scrollbar-none {
27
+ &::-webkit-scrollbar {
28
+ width: 0px;
29
+ height: 0px;
30
+ }
31
+
32
+ &::-webkit-scrollbar-track {
33
+ padding: 0;
34
+ background: transparent;
35
+ }
36
+ }
37
+
38
+ %scrollbar-thin {
39
+ &::-webkit-scrollbar {
40
+ width: 8px;
41
+ height: 8px;
42
+ }
43
+
44
+ &::-webkit-scrollbar-track {
45
+ padding: 2px;
46
+ background: transparent;
47
+ }
48
+
49
+ &::-webkit-scrollbar-thumb {
50
+ border-radius: 4px;
51
+ background-color: #cbcbcb;
52
+ }
53
+ }
54
+
55
+ @extend %scrollbar-thin;
56
+ }
@@ -1,20 +0,0 @@
1
- import { PackagingAccommodationResponse, PackagingEntry, PackagingEntryLine, PackagingFlightResponse, PackagingTrajectNode, PackagingTrajectResponse } from '@qite/tide-client';
2
- /**
3
- * A booked entry opened through its magic link knows nothing about the traject it may once have
4
- * been composed from — the dossier only keeps the lines. To give it the same day-by-day services
5
- * screen a traject gets, the traject structure is rebuilt from those lines: every booked service
6
- * becomes a node whose one "alternative" is the booked product itself, and the days span the trip.
7
- *
8
- * The synthesized response keeps the entry untouched (magic link included), which is also how the
9
- * rest of the component tells this mode apart from a real traject: see isBookedEntryTraject.
10
- */
11
- export declare const isBookedEntryTraject: (trajectEntry?: PackagingTrajectResponse | null) => boolean;
12
- export declare const buildBookedTrajectEntry: (entry: PackagingEntry) => PackagingTrajectResponse;
13
- /**
14
- * The card for a booked service when no search result carries it any more (sold out, delisted).
15
- * Rendered from the line, so the traveller still sees what they booked; price 0 makes the card
16
- * leave its price out — the paid price lives in the price details, not on the line.
17
- */
18
- export declare const buildBookedNodeResult: (node: PackagingTrajectNode, lines: PackagingEntryLine[]) => PackagingAccommodationResponse;
19
- /** The booked flight as a flight result, so the card that shows it is the card the search results use. */
20
- export declare const buildBookedFlightResult: (line: PackagingEntryLine) => PackagingFlightResponse;
@@ -1,20 +0,0 @@
1
- import { PackagingAccommodationResponse, PackagingEntry, PackagingEntryLine, PackagingFlightResponse, PackagingTrajectNode, PackagingTrajectResponse } from '@qite/tide-client';
2
- /**
3
- * A booked entry opened through its magic link knows nothing about the traject it may once have
4
- * been composed from — the dossier only keeps the lines. To give it the same day-by-day services
5
- * screen a traject gets, the traject structure is rebuilt from those lines: every booked service
6
- * becomes a node whose one "alternative" is the booked product itself, and the days span the trip.
7
- *
8
- * The synthesized response keeps the entry untouched (magic link included), which is also how the
9
- * rest of the component tells this mode apart from a real traject: see isBookedEntryTraject.
10
- */
11
- export declare const isBookedEntryTraject: (trajectEntry?: PackagingTrajectResponse | null) => boolean;
12
- export declare const buildBookedTrajectEntry: (entry: PackagingEntry) => PackagingTrajectResponse;
13
- /**
14
- * The card for a booked service when no search result carries it any more (sold out, delisted).
15
- * Rendered from the line, so the traveller still sees what they booked; price 0 makes the card
16
- * leave its price out — the paid price lives in the price details, not on the line.
17
- */
18
- export declare const buildBookedNodeResult: (node: PackagingTrajectNode, lines: PackagingEntryLine[]) => PackagingAccommodationResponse;
19
- /** The booked flight as a flight result, so the card that shows it is the card the search results use. */
20
- export declare const buildBookedFlightResult: (line: PackagingEntryLine) => PackagingFlightResponse;