@tripian/react 4.1.0 → 4.2.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripian/react",
3
- "version": "4.01.000",
3
+ "version": "4.02.000",
4
4
  "description": "Tripian Inc React Components",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@react-google-maps/api": "^1.9.0",
12
- "@tripian/model": "^4.01.000",
12
+ "@tripian/model": "^4.02.000",
13
13
  "moment": "^2.24.0",
14
14
  "react-dates": "^21.8.0",
15
15
  "react-google-recaptcha": "^2.0.1",
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IBbAccommodationInfoWindow {
4
+ checkIn: string;
5
+ checkOut: string;
6
+ adults: number;
7
+ children: number;
8
+ hotelOffer: Providers.Bb.SearchAccommodationHotelOffer;
9
+ onBookNow: (roomOffer: Providers.Bb.SearchAccommodationRoomOffer, url: string) => void;
10
+ close: () => void;
11
+ }
12
+ declare const BbAccommodationInfoWindow: React.FC<IBbAccommodationInfoWindow>;
13
+ export default BbAccommodationInfoWindow;
@@ -5,7 +5,7 @@ interface IBbTourInfo {
5
5
  activityInfo: Providers.Bb.ActivityInfo;
6
6
  tripProfile: Model.TripProfile;
7
7
  tripCurrentDate: string;
8
- selectOffer: (offerKey: string) => void;
8
+ onBookNow: (bbUrl: string) => void;
9
9
  close: () => void;
10
10
  }
11
11
  declare const BbTourInfo: React.FC<IBbTourInfo>;