@tripian/react 8.2.4 → 8.3.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.
@@ -27,7 +27,7 @@ interface IGoogleMaps {
27
27
  carRentOffers?: Providers.Bb.SearchCarRentOffer[];
28
28
  cityBounds: google.maps.LatLngBoundsLiteral;
29
29
  setLegs: (legs: ILeg[]) => void;
30
- focusMarkerStepOrPoiId?: number;
30
+ focusMarkerStepOrPoiId?: number | string;
31
31
  focusMarkerProviderPoiCode?: string;
32
32
  focusMarkerCarRentLocationCode?: string;
33
33
  mapClicked: (e: any) => void;
@@ -1,14 +1,15 @@
1
1
  import React from 'react';
2
2
  interface IOPenedHours {
3
- hourStr: string | null;
3
+ hourStr: string;
4
4
  planDate?: string;
5
5
  }
6
- export declare const HourItem: React.FC<{
6
+ interface IHourItem {
7
7
  hour: {
8
8
  day: string;
9
9
  clock: string[];
10
10
  };
11
- lineHeight?: React.Key;
12
- }>;
11
+ lineHeight?: string;
12
+ }
13
+ export declare const HourItem: React.FC<IHourItem>;
13
14
  declare const OpenedHours: React.FC<IOPenedHours>;
14
15
  export default OpenedHours;
@@ -1,12 +1,12 @@
1
- import React, { Ref } from 'react';
1
+ import React from 'react';
2
2
  interface ICustomPopover {
3
3
  show: boolean;
4
4
  style?: Partial<CSSStyleDeclaration>;
5
5
  className?: string;
6
- ref?: Ref<HTMLElement>;
7
6
  backdropClick?: (e: MouseEvent) => void;
8
7
  content: JSX.Element;
9
8
  children: JSX.Element;
10
9
  }
11
- declare const CustomPopover: React.FC<ICustomPopover>;
10
+ export declare type Ref = HTMLButtonElement;
11
+ declare const CustomPopover: React.ForwardRefExoticComponent<ICustomPopover & React.RefAttributes<HTMLButtonElement>>;
12
12
  export default CustomPopover;