@qite/tide-booking-component 1.2.0 → 1.2.2

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 (66) hide show
  1. package/build/build-cjs/booking-product/components/footer.d.ts +1 -0
  2. package/build/build-cjs/booking-product/components/icon.d.ts +2 -0
  3. package/build/build-cjs/booking-product/types.d.ts +2 -1
  4. package/build/build-cjs/booking-wizard/components/icon.d.ts +2 -0
  5. package/build/build-cjs/{booking-product → booking-wizard}/components/multi-range-filter.d.ts +0 -1
  6. package/build/build-cjs/booking-wizard/types.d.ts +1 -0
  7. package/build/build-cjs/index.js +1851 -558
  8. package/build/build-cjs/shared/utils/localization-util.d.ts +17 -10
  9. package/build/build-esm/booking-product/components/footer.d.ts +1 -0
  10. package/build/build-esm/booking-product/components/icon.d.ts +2 -0
  11. package/build/build-esm/booking-product/types.d.ts +2 -1
  12. package/build/build-esm/booking-wizard/components/icon.d.ts +2 -0
  13. package/build/build-esm/{booking-product → booking-wizard}/components/multi-range-filter.d.ts +0 -1
  14. package/build/build-esm/booking-wizard/types.d.ts +1 -0
  15. package/build/build-esm/index.js +1853 -560
  16. package/build/build-esm/shared/utils/localization-util.d.ts +17 -10
  17. package/package.json +4 -3
  18. package/src/booking-product/components/amount-input.tsx +8 -20
  19. package/src/booking-product/components/date-range-picker/calendar.tsx +3 -3
  20. package/src/booking-product/components/dates.tsx +26 -20
  21. package/src/booking-product/components/footer.tsx +4 -2
  22. package/src/booking-product/components/header.tsx +4 -4
  23. package/src/booking-product/components/icon.tsx +187 -11
  24. package/src/booking-product/components/product.tsx +31 -16
  25. package/src/{shared → booking-product}/components/rating.tsx +3 -3
  26. package/src/booking-product/components/rooms.tsx +116 -113
  27. package/src/booking-product/settings-context.ts +0 -1
  28. package/src/booking-product/types.ts +2 -1
  29. package/src/booking-wizard/components/icon.tsx +42 -15
  30. package/src/{booking-product → booking-wizard}/components/multi-range-filter.tsx +0 -1
  31. package/src/booking-wizard/declarations.d.ts +4 -0
  32. package/src/booking-wizard/features/booking/booking-self-contained.tsx +3 -2
  33. package/src/booking-wizard/features/booking/booking.tsx +3 -2
  34. package/src/booking-wizard/features/confirmation/confirmation.tsx +8 -4
  35. package/src/booking-wizard/features/flight-options/flight-filter.tsx +7 -6
  36. package/src/booking-wizard/features/flight-options/flight-option-flight.tsx +29 -28
  37. package/src/booking-wizard/features/flight-options/flight-option-modal.tsx +193 -192
  38. package/src/booking-wizard/features/room-options/index.tsx +1 -5
  39. package/src/booking-wizard/features/summary/summary.tsx +23 -26
  40. package/src/booking-wizard/features/travelers-form/travelers-form.tsx +0 -2
  41. package/src/booking-wizard/features/travelers-form/validate-form.ts +1 -1
  42. package/src/booking-wizard/index.tsx +2 -2
  43. package/src/booking-wizard/types.ts +1 -0
  44. package/src/shared/tide-sprites.svg +117 -0
  45. package/src/shared/translations/fr-BE.json +230 -222
  46. package/src/shared/translations/nl-BE.json +229 -222
  47. package/styles/booking-product-variables.scss +288 -0
  48. package/styles/booking-product.scss +440 -0
  49. package/styles/booking-wizard-variables.scss +0 -0
  50. package/styles/booking-wizard.scss +4 -0
  51. package/styles/components/_animations.scss +39 -0
  52. package/styles/components/_base.scss +106 -0
  53. package/styles/components/_button.scss +185 -0
  54. package/styles/components/_cta.scss +67 -0
  55. package/styles/components/_date-range-picker.scss +224 -0
  56. package/styles/components/_decrement-increment.scss +37 -0
  57. package/styles/components/_dropdown.scss +74 -0
  58. package/styles/components/_form.scss +136 -0
  59. package/styles/components/_loader.scss +71 -0
  60. package/styles/components/_mixins.scss +518 -0
  61. package/styles/components/_placeholders.scss +166 -0
  62. package/styles/components/_qsm.scss +20 -0
  63. package/styles/components/_variables.scss +89 -0
  64. package/src/booking-product/components/multi-range-filter.css +0 -115
  65. /package/build/build-cjs/{shared → booking-product}/components/rating.d.ts +0 -0
  66. /package/build/build-esm/{shared → booking-product}/components/rating.d.ts +0 -0
@@ -2,6 +2,7 @@ import React from "react";
2
2
  interface FooterProps {
3
3
  priceText: string | undefined;
4
4
  isLoading: boolean;
5
+ isOffer: boolean | undefined;
5
6
  handleBookClick: () => void;
6
7
  }
7
8
  declare const Footer: React.FC<FooterProps>;
@@ -3,6 +3,8 @@ interface IconProps {
3
3
  name: string;
4
4
  className?: string;
5
5
  title?: string;
6
+ width?: number;
7
+ height?: number;
6
8
  }
7
9
  declare const Icon: React.FC<IconProps>;
8
10
  export default Icon;
@@ -4,12 +4,13 @@ export interface Settings {
4
4
  agentId?: number;
5
5
  basePath: string;
6
6
  language: string;
7
- currency: string;
8
7
  includeFlights?: boolean;
9
8
  priceMode: number;
10
9
  icons?: string;
11
10
  apiUrl?: string;
12
11
  apiKey?: string;
12
+ addProductToQuery?: boolean;
13
+ isOffer?: boolean;
13
14
  alternativeActionText?: string;
14
15
  alternativeAction?: () => void;
15
16
  }
@@ -3,6 +3,8 @@ interface IconProps {
3
3
  name: string;
4
4
  className?: string;
5
5
  title?: string;
6
+ width?: number;
7
+ height?: number;
6
8
  }
7
9
  declare const Icon: React.FC<IconProps>;
8
10
  export default Icon;
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import "./multi-range-filter.css";
3
2
  interface MultiRangeFilterProps {
4
3
  min: number;
5
4
  max: number;
@@ -59,6 +59,7 @@ export interface Settings {
59
59
  accommodations?: AccommodationContent[];
60
60
  regimes?: RegimeContent[];
61
61
  accommodationViewId?: number;
62
+ isOffer?: boolean;
62
63
  }
63
64
  export interface BookingOptions {
64
65
  b2b: BookingOptionsDetail;