@tripian/react 5.0.31 → 5.0.33

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.
@@ -6,11 +6,12 @@ interface IFormTemplateLogin {
6
6
  reCaptchaSiteKey: string;
7
7
  showCaptcha: boolean;
8
8
  forgotPassword: () => void;
9
- socialLogin: {
10
- cognitoDomain: string;
9
+ socialLoginConfigs: {
10
+ clientId: string;
11
+ domain: string;
12
+ identityProviders: string[];
11
13
  region: string;
12
14
  baseDomain: string;
13
- clientId: string;
14
15
  };
15
16
  showRegister?: boolean;
16
17
  signUpButtonCallBack: () => void;
@@ -5,6 +5,7 @@ interface IGRoute {
5
5
  coordinates: Array<Model.Coordinate>;
6
6
  setLegs: (legs: ILeg[]) => void;
7
7
  poIdOrderRef: string;
8
+ cycling: boolean;
8
9
  }
9
10
  declare const GRoute: React.FC<IGRoute>;
10
11
  export default GRoute;
@@ -1,3 +1,3 @@
1
1
  import { IMergedDirections } from './IRouteResult';
2
- declare const mergeDirections: (directionsWalking: google.maps.DirectionsResult, directionsDriving: google.maps.DirectionsResult) => IMergedDirections | undefined;
2
+ declare const mergeDirections: (directionsWalking: google.maps.DirectionsResult, directionsDriving: google.maps.DirectionsResult, directionsCycling?: google.maps.DirectionsResult) => IMergedDirections | undefined;
3
3
  export default mergeDirections;
@@ -5,6 +5,7 @@ interface IGRouteRender {
5
5
  directions?: {
6
6
  walking: google.maps.DirectionsResult;
7
7
  driving: google.maps.DirectionsResult;
8
+ cycling?: google.maps.DirectionsResult;
8
9
  };
9
10
  }
10
11
  declare const GRouteRender: React.FC<IGRouteRender>;
@@ -21,5 +21,6 @@ export interface ILeg {
21
21
  export interface IMergedDirections {
22
22
  walking: google.maps.DirectionsResult;
23
23
  driving: google.maps.DirectionsResult;
24
+ cycling?: google.maps.DirectionsResult;
24
25
  legs: ILeg[];
25
26
  }
@@ -36,6 +36,7 @@ interface IGoogleMaps {
36
36
  markerSearchThisAreaClicked: (poi: Model.Poi) => void;
37
37
  markerProvidersPoiClicked: (poi: Providers.Bb.SearchAccommodationHotelOffer) => void;
38
38
  markerCarRentOfferClicked: (offer: Providers.Bb.SearchCarRentOffer) => void;
39
+ cycling?: boolean;
39
40
  }
40
41
  declare const GoogleMaps: React.FC<IGoogleMaps>;
41
42
  export default GoogleMaps;
@@ -1,9 +1,12 @@
1
1
  import React from 'react';
2
2
  declare type Props = {
3
- cognitoDomain: string;
4
- region: string;
5
- baseDomain: string;
6
- clientId: string;
3
+ configs: {
4
+ clientId: string;
5
+ domain: string;
6
+ identityProviders: string[];
7
+ region: string;
8
+ baseDomain: string;
9
+ };
7
10
  };
8
11
  declare const SocialLogin: React.FC<Props>;
9
12
  export default SocialLogin;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface IBicycle {
3
+ fill?: string;
4
+ color?: string;
5
+ size?: string;
6
+ }
7
+ declare const Bicycle: React.FC<IBicycle>;
8
+ export default Bicycle;
@@ -1,5 +1,6 @@
1
1
  import Add from './Add';
2
2
  import Bars from './Bars';
3
+ import Bicycle from './Bicycle';
3
4
  import Calendar from './Calendar';
4
5
  import Car from './Car';
5
6
  import Clock from './Clock';
@@ -14,4 +15,4 @@ import ThumbsUp from './ThumbsUp';
14
15
  import ThumbsUpEmpty from './ThumbsUpEmpty';
15
16
  import Legs from './Legs';
16
17
  import Uber from './Uber';
17
- export { Add, Bars, Calendar, Car, Clock, Close, Delete, NextArrow, PreviousArrow, SwitchIcon, ThumbsUp, ThumbsDown, ThumbsUpEmpty, ThumbsDownEmpty, Legs, Uber };
18
+ export { Add, Bars, Bicycle, Calendar, Car, Clock, Close, Delete, NextArrow, PreviousArrow, SwitchIcon, ThumbsUp, ThumbsDown, ThumbsUpEmpty, ThumbsDownEmpty, Legs, Uber };