@qite/tide-booking-component 1.4.106 → 1.4.107

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 (80) hide show
  1. package/build/build-cjs/index.js +18083 -20896
  2. package/build/build-cjs/src/qsm/store/qsm-slice.d.ts +2 -1
  3. package/build/build-cjs/src/shared/components/icon.d.ts +1 -0
  4. package/build/build-cjs/src/shared/utils/localization-util.d.ts +4 -0
  5. package/build/build-esm/index.js +18045 -20819
  6. package/build/build-esm/src/qsm/store/qsm-slice.d.ts +2 -1
  7. package/build/build-esm/src/shared/components/icon.d.ts +1 -0
  8. package/build/build-esm/src/shared/utils/localization-util.d.ts +4 -0
  9. package/package.json +1 -1
  10. package/src/booking-product/components/amount-input.tsx +1 -1
  11. package/src/booking-product/components/date-range-picker/calendar.tsx +1 -1
  12. package/src/booking-product/components/dates.tsx +1 -1
  13. package/src/booking-product/components/header.tsx +1 -1
  14. package/src/booking-product/components/rating.tsx +1 -1
  15. package/src/booking-product/components/rooms.tsx +1 -1
  16. package/src/booking-wizard/components/message.tsx +1 -1
  17. package/src/booking-wizard/features/confirmation/confirmation.tsx +1 -1
  18. package/src/booking-wizard/features/flight-options/flight-filter.tsx +1 -1
  19. package/src/booking-wizard/features/flight-options/flight-option-flight.tsx +1 -1
  20. package/src/booking-wizard/features/flight-options/flight-option-modal.tsx +1 -1
  21. package/src/booking-wizard/features/summary/summary.tsx +1 -1
  22. package/src/booking-wizard/features/travelers-form/type-ahead-input.tsx +1 -1
  23. package/src/content/components/accordion.tsx +1 -1
  24. package/src/content/components/contact.tsx +0 -1
  25. package/src/content/components/gallery.tsx +3 -3
  26. package/src/content/components/login.tsx +1 -2
  27. package/src/content/components/personal-contact-form.tsx +1 -1
  28. package/src/content/components/slider.tsx +1 -1
  29. package/src/content/featured-trips/featured-trip-card.tsx +1 -1
  30. package/src/content/features/content-page/content-page-self-contained.tsx +1 -1
  31. package/src/content/footer/index.tsx +1 -1
  32. package/src/content/navbar/index.tsx +1 -1
  33. package/src/qsm/components/QSMContainer/qsm-container.tsx +58 -5
  34. package/src/qsm/components/search-input/index.tsx +1 -1
  35. package/src/qsm/components/search-input-group/index.tsx +13 -2
  36. package/src/qsm/components/travel-input/index.tsx +1 -3
  37. package/src/qsm/components/travel-input-group/index.tsx +1 -1
  38. package/src/qsm/store/qsm-slice.ts +10 -3
  39. package/src/search-results/components/excursions/day-by-day-excursions.tsx +4 -9
  40. package/src/search-results/components/filters/filters.tsx +1 -1
  41. package/src/search-results/components/filters/flight-filters.tsx +1 -1
  42. package/src/search-results/components/flight/flight-results.tsx +1 -1
  43. package/src/search-results/components/flight/flight-selection/independent-flight-option.tsx +1 -1
  44. package/src/search-results/components/flight/flight-selection/independent-flight-selection.tsx +1 -1
  45. package/src/search-results/components/flight/flight-selection/paired-flight-option.tsx +1 -1
  46. package/src/search-results/components/flight/flight-selection/paired-flight-selection.tsx +1 -1
  47. package/src/search-results/components/group-tour/group-tour-card.tsx +1 -1
  48. package/src/search-results/components/hotel/hotel-accommodation-results.tsx +1 -1
  49. package/src/search-results/components/hotel/hotel-card.tsx +1 -1
  50. package/src/search-results/components/itinerary/index.tsx +1 -1
  51. package/src/search-results/components/round-trip/round-trip-results.tsx +1 -1
  52. package/src/search-results/components/search-results-container/flight-search-results.tsx +1 -1
  53. package/src/search-results/components/search-results-container/search-results-container.tsx +3 -4
  54. package/src/search-results/components/tab-views/index.tsx +1 -1
  55. package/src/search-results/features/flights/flight-search-results-self-contained.tsx +1 -1
  56. package/src/search-results/features/hotels/hotel-flight-search-results-self-contained.tsx +1 -1
  57. package/src/search-results/features/hotels/hotel-search-results-self-contained.tsx +1 -1
  58. package/src/shared/components/flyin/flyin.tsx +1 -1
  59. package/src/shared/components/icon.tsx +349 -88
  60. package/src/shared/utils/tide-api-utils.ts +2 -2
  61. package/styles/booking-qsm-variables.scss +2 -2
  62. package/styles/booking-search-results-variables.scss +17 -17
  63. package/styles/components/_faq.scss +2 -0
  64. package/styles/components/_flyin.scss +19 -0
  65. package/styles/components/_gallery.scss +5 -2
  66. package/build/build-cjs/src/booking-product/components/icon.d.ts +0 -10
  67. package/build/build-cjs/src/booking-wizard/components/icon.d.ts +0 -10
  68. package/build/build-cjs/src/content/components/icon.d.ts +0 -10
  69. package/build/build-cjs/src/qsm/components/icon.d.ts +0 -10
  70. package/build/build-cjs/src/search-results/components/icon.d.ts +0 -11
  71. package/build/build-esm/src/booking-product/components/icon.d.ts +0 -10
  72. package/build/build-esm/src/booking-wizard/components/icon.d.ts +0 -10
  73. package/build/build-esm/src/content/components/icon.d.ts +0 -10
  74. package/build/build-esm/src/qsm/components/icon.d.ts +0 -10
  75. package/build/build-esm/src/search-results/components/icon.d.ts +0 -11
  76. package/src/booking-product/components/icon.tsx +0 -200
  77. package/src/booking-wizard/components/icon.tsx +0 -398
  78. package/src/content/components/icon.tsx +0 -695
  79. package/src/qsm/components/icon.tsx +0 -354
  80. package/src/search-results/components/icon.tsx +0 -677
@@ -31,7 +31,7 @@ import {
31
31
  setFilters,
32
32
  setInitialFilters
33
33
  } from '../../store/search-results-slice';
34
- import { FlyInType, Filter, SearchSeed, SortByType } from '../../types';
34
+ import { FlyInType, SearchSeed, SortByType } from '../../types';
35
35
  import useMediaQuery from '../../../shared/utils/use-media-query-util';
36
36
  import ItemPicker from '../item-picker';
37
37
  import {
@@ -63,13 +63,12 @@ import {
63
63
  import { getDateFromParams, getNumberFromParams, getRoomsFromParams, getStringFromParams } from '../../../shared/utils/query-string-util';
64
64
  import { concat, first, isEmpty, last, range } from 'lodash';
65
65
  import { Room } from '../../../booking-wizard/types';
66
- import Icon from '../icon';
66
+ import Icon from '../../../shared/components/icon';
67
67
  import Itinerary from '../itinerary';
68
68
  import TabViews from '../tab-views';
69
69
  import FlyIn from '../../../shared/components/flyin/flyin';
70
70
  import HotelAccommodationResults from '../hotel/hotel-accommodation-results';
71
71
  import RoundTripResults from '../round-trip/round-trip-results';
72
- import FlightResults from '../flight/flight-results';
73
72
  import { dateToDateStruct, findSortByType, getSortingName, getTranslations } from '../../../shared/utils/localization-util';
74
73
  import { FlightSearchProvider } from '../flight/flight-search-context';
75
74
  import FlightResultsContainer from './flight-search-results';
@@ -95,7 +94,7 @@ import {
95
94
  parseHotelId,
96
95
  toDateOnlyString
97
96
  } from '../../utils/query-utils';
98
- import { getRequestRoomsFromPackagingSegments, getRoomIndexFromLine, getSelectedOptionsPerRoom } from '../../utils/packaging-utils';
97
+ import { getRequestRoomsFromPackagingSegments, getSelectedOptionsPerRoom } from '../../utils/packaging-utils';
99
98
  import FullItinerary from '../itinerary/full-itinerary';
100
99
  import { getFlightKey } from '../../utils/flight-utils';
101
100
  import IndependentFlightOption from '../flight/flight-selection/independent-flight-option';
@@ -1,5 +1,5 @@
1
1
  import React, { useContext } from 'react';
2
- import Icon from '../icon';
2
+ import Icon from '../../../shared/components/icon';
3
3
  import { useDispatch, useSelector } from 'react-redux';
4
4
  import { SearchResultsRootState } from '../../store/search-results-store';
5
5
  import { setActiveTab } from '../../store/search-results-slice';
@@ -3,7 +3,7 @@ import { Filter, SearchResult, SearchResultsConfiguration } from '../../types';
3
3
  import SearchResults from '../..';
4
4
  import { Footer, Navbar } from '../../../../src';
5
5
  import { TideLogo, language, languages, topLinks, navItems } from '../../../../src/content/navbar/placeholderData';
6
- import Icon from '../../components/icon';
6
+ import Icon from '../../../shared/components/icon';
7
7
 
8
8
  interface FlightSearchResultsSelfContainedProps {}
9
9
 
@@ -3,7 +3,7 @@ import { SearchResult, SearchResultsConfiguration } from '../../types';
3
3
  import SearchResults from '../..';
4
4
  import { Navbar, Footer } from '../../../../src';
5
5
  import { TideLogo, language, languages, topLinks, navItems } from '../../../../src/content/navbar/placeholderData';
6
- import Icon from '../../components/icon';
6
+ import Icon from '../../../shared/components/icon';
7
7
 
8
8
  interface HotelFlightSearchResultsSelfContainedProps {}
9
9
 
@@ -3,7 +3,7 @@ import { Filter, SearchResult, SearchResultsConfiguration } from '../../types';
3
3
  import SearchResults from '../..';
4
4
  import { Navbar, Footer } from '../../../../src';
5
5
  import { TideLogo, language, languages, topLinks, navItems } from '../../../../src/content/navbar/placeholderData';
6
- import Icon from '../../components/icon';
6
+ import Icon from '../../../shared/components/icon';
7
7
 
8
8
  interface HotelSearchResultsSelfContainedProps {}
9
9
 
@@ -127,7 +127,7 @@ const FlyIn: React.FC<FlyInProps> = ({
127
127
  isPackageEditFlow || flyInType === 'flight-outward-results' || flyInType === 'flight-return-results' || flyInType === 'acco-results'
128
128
  ? 'flyin--large'
129
129
  : ''
130
- }`}>
130
+ } ${flyInType === 'excursion-results' || flyInType === 'excursion-details' ? 'flyin--medium' : ''}`}>
131
131
  <div className={`flyin__panel ${isOpen ? 'flyin__panel--active' : ''}`} ref={panelRef}>
132
132
  <div className="flyin__content">
133
133
  <div className="flyin__content-title-row">