@qite/tide-booking-component 1.2.2 → 1.2.4

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 (50) hide show
  1. package/build/build-cjs/booking-product/components/footer.d.ts +1 -0
  2. package/build/build-cjs/booking-product/components/rooms.d.ts +2 -0
  3. package/build/build-cjs/booking-wizard/features/booking/selectors.d.ts +1 -1
  4. package/build/build-cjs/booking-wizard/types.d.ts +0 -1
  5. package/build/build-cjs/index.js +292 -52
  6. package/build/build-cjs/shared/utils/localization-util.d.ts +3 -0
  7. package/build/build-esm/booking-product/components/footer.d.ts +1 -0
  8. package/build/build-esm/booking-product/components/rooms.d.ts +2 -0
  9. package/build/build-esm/booking-wizard/features/booking/selectors.d.ts +1 -1
  10. package/build/build-esm/booking-wizard/types.d.ts +0 -1
  11. package/build/build-esm/index.js +293 -53
  12. package/build/build-esm/shared/utils/localization-util.d.ts +3 -0
  13. package/package.json +1 -1
  14. package/rollup.config.js +23 -23
  15. package/src/booking-product/components/footer.tsx +7 -1
  16. package/src/booking-product/components/product.tsx +5 -1
  17. package/src/booking-product/components/rating.tsx +21 -21
  18. package/src/booking-product/components/rooms.tsx +5 -2
  19. package/src/booking-wizard/components/icon.tsx +250 -1
  20. package/src/booking-wizard/components/labeled-input.tsx +64 -64
  21. package/src/booking-wizard/components/labeled-select.tsx +69 -69
  22. package/src/booking-wizard/features/booking/selectors.ts +12 -2
  23. package/src/booking-wizard/features/flight-options/flight-filter.tsx +18 -5
  24. package/src/booking-wizard/features/flight-options/flight-option-flight.tsx +8 -6
  25. package/src/booking-wizard/features/flight-options/flight-option.tsx +1 -1
  26. package/src/booking-wizard/features/flight-options/flight-utils.ts +1 -1
  27. package/src/booking-wizard/features/product-options/option-pax-card.tsx +93 -22
  28. package/src/booking-wizard/features/product-options/option-units-card.tsx +93 -21
  29. package/src/booking-wizard/features/sidebar/sidebar-flight.tsx +2 -2
  30. package/src/booking-wizard/features/summary/summary.tsx +3 -1
  31. package/src/shared/translations/fr-BE.json +4 -1
  32. package/src/shared/translations/nl-BE.json +4 -1
  33. package/src/shared/utils/class-util.ts +9 -9
  34. package/styles/booking-wizard-variables.scss +530 -0
  35. package/styles/booking-wizard.scss +23 -1
  36. package/styles/components/_booking.scss +1409 -0
  37. package/styles/components/_checkbox.scss +215 -0
  38. package/styles/components/_cta.scss +80 -14
  39. package/styles/components/_date-range-picker.scss +1 -0
  40. package/styles/components/_flight-option.scss +1389 -0
  41. package/styles/components/_form.scss +258 -0
  42. package/styles/components/_list.scss +82 -0
  43. package/styles/components/_mixins.scss +17 -5
  44. package/styles/components/_placeholders.scss +2 -2
  45. package/styles/components/_pricing-summary.scss +117 -0
  46. package/styles/components/_select-wrapper.scss +66 -0
  47. package/styles/components/_step-indicators.scss +160 -0
  48. package/styles/components/_table.scss +81 -0
  49. package/styles/components/_tree.scss +540 -0
  50. package/tsconfig.json +24 -24
@@ -3,6 +3,7 @@ interface FooterProps {
3
3
  priceText: string | undefined;
4
4
  isLoading: boolean;
5
5
  isOffer: boolean | undefined;
6
+ roomsIsDisabled: boolean;
6
7
  handleBookClick: () => void;
7
8
  }
8
9
  declare const Footer: React.FC<FooterProps>;
@@ -2,6 +2,8 @@ import React from "react";
2
2
  import { ProductRoom } from "../types";
3
3
  interface RoomsProps {
4
4
  rooms: ProductRoom[];
5
+ isDisabled: boolean;
6
+ setIsDisabled: (isOpen: boolean) => void;
5
7
  onChange: (rooms: ProductRoom[]) => void;
6
8
  }
7
9
  declare const Rooms: React.FC<RoomsProps>;
@@ -47,7 +47,7 @@ export declare const selectIsUnavailable: (state: RootState) => boolean | undefi
47
47
  export declare const selectRequestRooms: (state: RootState) => import("@qite/tide-client/build/types").BookingPackageRequestRoom[] | undefined;
48
48
  export declare const selectOfficeId: (state: RootState) => number;
49
49
  export declare const selectLanguageCode: (state: RootState) => string;
50
- export declare const selectTranslations: (state: RootState) => any;
50
+ export declare const selectTranslations: (state: RootState) => Record<string, any>;
51
51
  export declare const selectBookingOptions: (state: RootState) => import("../../types").BookingOptions;
52
52
  export declare const selectBookingType: (state: RootState) => string;
53
53
  export declare const selectTagIds: (state: RootState) => number[] | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BookingPackageFlight } from "@qite/tide-client/build/types";
3
2
  export interface Settings {
4
3
  officeId: number;