@tripian/react 5.0.26 → 5.0.27

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,12 +1,12 @@
1
1
  {
2
2
  "name": "@tripian/react",
3
- "version": "5.0.26",
3
+ "version": "5.0.27",
4
4
  "description": "Tripian Inc React Components",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "dependencies": {
8
8
  "@react-google-maps/api": "^2.12.0",
9
- "@tripian/model": "^5.0.25",
9
+ "@tripian/model": "^5.0.27",
10
10
  "moment": "^2.24.0",
11
11
  "react": "^18.1.0",
12
12
  "react-dates": "^21.8.0",
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ declare type Props = {
3
+ children: React.ReactElement | React.ReactElement[];
4
+ border?: boolean;
5
+ height?: string | number;
6
+ };
7
+ declare const PoiInfoTextRow: React.FC<Props>;
8
+ export declare const PoiInfoTextRowHeader: React.FC<{
9
+ header: string;
10
+ }>;
11
+ export default PoiInfoTextRow;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import Model, { Providers } from '@tripian/model';
3
+ interface IBbAccommodationInfo {
4
+ checkIn: string;
5
+ checkOut: string;
6
+ adults: number;
7
+ children: number;
8
+ hotelOffer: Providers.Bb.SearchAccommodationHotelOffer;
9
+ onBookNow: (url: string) => void;
10
+ onAddToItinerary: (accommodation: Model.Accommodation) => void;
11
+ close: () => void;
12
+ }
13
+ declare const BbAccommodationInfo: React.FC<IBbAccommodationInfo>;
14
+ export default BbAccommodationInfo;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import 'slick-carousel/slick/slick.css';
3
+ import 'slick-carousel/slick/slick-theme.css';
4
+ import { Providers } from '@tripian/model';
5
+ interface IBbCarRentInfo {
6
+ pickUpDateTime: string;
7
+ dropOffDateTime: string;
8
+ offer: Providers.Bb.SearchCarRentOffer;
9
+ onRentNow: (url: string) => void;
10
+ close: () => void;
11
+ dateOfBirth?: string | null;
12
+ }
13
+ declare const BbCarRentInfo: React.FC<IBbCarRentInfo>;
14
+ export default BbCarRentInfo;
@@ -1,5 +1,5 @@
1
- import { Providers } from '@tripian/model';
2
1
  import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
3
  interface IGygTourOption {
4
4
  tourOption: Providers.Gyg.TourOption;
5
5
  availabilities: Providers.Gyg.TourAvailability[];
@@ -1,4 +1,5 @@
1
- export declare const isoLanguages: {
1
+ declare const isoLanguages: {
2
2
  code: string;
3
3
  name: string;
4
4
  }[];
5
+ export default isoLanguages;