@qite/tide-booking-component 1.4.40 → 1.4.42

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 (34) hide show
  1. package/build/build-cjs/booking-product/components/date-range-picker/calendar-day.d.ts +1 -0
  2. package/build/build-cjs/booking-wizard/components/step-route.d.ts +0 -1
  3. package/build/build-cjs/content/image-card-grid/index.d.ts +4 -0
  4. package/build/build-cjs/content/image-card-grid/types.d.ts +12 -0
  5. package/build/build-cjs/index.d.ts +2 -1
  6. package/build/build-cjs/index.js +2750 -234
  7. package/build/build-cjs/qsm/store/qsm-slice.d.ts +1 -1
  8. package/build/build-cjs/shared/components/icon.d.ts +10 -0
  9. package/build/build-esm/booking-product/components/date-range-picker/calendar-day.d.ts +1 -0
  10. package/build/build-esm/booking-wizard/components/step-route.d.ts +0 -1
  11. package/build/build-esm/content/image-card-grid/index.d.ts +4 -0
  12. package/build/build-esm/content/image-card-grid/types.d.ts +12 -0
  13. package/build/build-esm/index.d.ts +2 -1
  14. package/build/build-esm/index.js +5529 -2941
  15. package/build/build-esm/qsm/store/qsm-slice.d.ts +1 -1
  16. package/build/build-esm/shared/components/icon.d.ts +10 -0
  17. package/package.json +7 -8
  18. package/src/booking-product/components/date-range-picker/calendar-day.tsx +1 -0
  19. package/src/booking-wizard/components/step-route.tsx +0 -1
  20. package/src/booking-wizard/features/booking/booking.tsx +27 -11
  21. package/src/booking-wizard/features/confirmation/confirmation.tsx +2 -1
  22. package/src/booking-wizard/features/error/error.tsx +2 -1
  23. package/src/booking-wizard/features/flight-options/index.tsx +2 -1
  24. package/src/booking-wizard/features/product-options/options-form.tsx +2 -1
  25. package/src/booking-wizard/features/room-options/index.tsx +2 -1
  26. package/src/booking-wizard/features/summary/summary.tsx +7 -3
  27. package/src/booking-wizard/features/travelers-form/travelers-form.tsx +2 -2
  28. package/src/content/image-card-grid/index.tsx +34 -0
  29. package/src/content/image-card-grid/types.ts +13 -0
  30. package/src/content/navbar/index.tsx +1 -1
  31. package/src/index.ts +2 -1
  32. package/src/shared/components/flyin.tsx +321 -33
  33. package/src/shared/components/icon.tsx +826 -0
  34. package/styles/components/_flyin.scss +117 -126
@@ -7,6 +7,7 @@ interface CalendarDayProps {
7
7
  extraClassNames?: string[];
8
8
  onClick: (date: Date) => void;
9
9
  onMouseOver: (date: Date) => void;
10
+ children?: any;
10
11
  }
11
12
  declare const CalendarDay: React.FC<CalendarDayProps>;
12
13
  export default CalendarDay;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  interface StepRoute {
3
- path?: string;
4
3
  number: number;
5
4
  title: string;
6
5
  component: JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ImageCardGridProps } from './types';
3
+ declare const ImageCardGrid: React.FC<ImageCardGridProps>;
4
+ export default ImageCardGrid;
@@ -0,0 +1,12 @@
1
+ export interface ImageCardGridProps {
2
+ title: string;
3
+ cards: ImageCard[];
4
+ columns: number;
5
+ }
6
+ export interface ImageCard {
7
+ image: string;
8
+ title: string;
9
+ description?: string;
10
+ buttonText?: string;
11
+ onButtonClick: (card: ImageCard) => void;
12
+ }
@@ -5,4 +5,5 @@ import Navbar from './content/navbar';
5
5
  import Footer from './content/footer';
6
6
  import QSM from './qsm';
7
7
  import SearchResults from './search-results';
8
- export { BookingProduct, BookingWizard, QSM, SearchResults, Navbar, Header, Footer };
8
+ import ImageCardGrid from './content/image-card-grid';
9
+ export { BookingProduct, BookingWizard, QSM, SearchResults, Navbar, Header, Footer, ImageCardGrid };