@tripian/react 4.2.0 → 4.5.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/components/CardSlider/CardSlider.d.ts +1 -0
- package/components/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/components/DirectionInfo/DirectionInfo.d.ts +1 -0
- package/components/FormTemplate/FormTemplateProfile/FormTemplateProfile.d.ts +1 -1
- package/components/GoogleMaps/GPlacesAutocomplete/GPlacesAutocomplete.d.ts +1 -0
- package/components/GoogleMaps/GPlacesAutocomplete2/GPlacesAutocomplete2.d.ts +2 -0
- package/components/GoogleMaps/GRoute/GRouteRender.d.ts +1 -0
- package/components/GoogleMaps/GRoute/GRouteService.d.ts +1 -0
- package/components/GoogleMaps/GRoute/IRouteResult.d.ts +1 -0
- package/components/GoogleMaps/GoogleMaps.d.ts +1 -0
- package/components/Label/Label.d.ts +1 -0
- package/components/RefCard/RefCard.d.ts +1 -0
- package/components/StepTimeframe/StepTimeframe.d.ts +1 -1
- package/components/UserCompanions/UserCompanions.d.ts +1 -1
- package/components/base/AutoCompleteSearchV1/AutoCompleteSearchV1.d.ts +1 -1
- package/components/base/Button/Icons/Base.d.ts +1 -1
- package/components/base/Dropdown/Dropdown.d.ts +1 -1
- package/components/base/ImgLazyBase/ImgLazyBase.d.ts +1 -0
- package/components/base/Modal/Modal.d.ts +1 -0
- package/components/base/ModalFull/ModalFull.d.ts +1 -0
- package/components/base/NumberCounter/NumberCounter.d.ts +1 -1
- package/components/base/NumberInput/NumberInput.d.ts +1 -1
- package/components/base/ProgressAppLoading/ProgressAppLoading.d.ts +3 -1
- package/components/base/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/components/base/Svg/Icons/index.d.ts +1 -1
- package/components/base/SwitchOld/SwitchOld.d.ts +1 -1
- package/index.d.ts +2 -5
- package/index.js +11998 -9744
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +5 -6
- package/providers/bb/components/BbAccommodationInfo/BbAccommodationInfo.d.ts +14 -0
- package/components/TasteCard2Slider/TasteCard2Slider.d.ts +0 -10
- package/components/TopThingsSlider/TopThingsSlider.d.ts +0 -10
- package/providers/bb/components/BbAccommodationInfoWindow/BbAccommodationInfoWindow.d.ts +0 -13
- package/providers/glx/components/GlxTourCardSlider/GlxTourCardSlider.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tripian/react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "Tripian Inc React Components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"npm": "npm publish --access public"
|
|
9
|
-
},
|
|
10
7
|
"dependencies": {
|
|
11
|
-
"@react-google-maps/api": "^
|
|
12
|
-
"@tripian/model": "^4.
|
|
8
|
+
"@react-google-maps/api": "^2.12.0",
|
|
9
|
+
"@tripian/model": "^4.3.0",
|
|
13
10
|
"moment": "^2.24.0",
|
|
11
|
+
"react": "^18.1.0",
|
|
14
12
|
"react-dates": "^21.8.0",
|
|
13
|
+
"react-dom": "^18.1.0",
|
|
15
14
|
"react-google-recaptcha": "^2.0.1",
|
|
16
15
|
"react-id-swiper": "^3.0.0",
|
|
17
16
|
"react-select": "^3.1.1",
|
|
@@ -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;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
import 'slick-carousel/slick/slick.css';
|
|
4
|
-
import 'slick-carousel/slick/slick-theme.css';
|
|
5
|
-
interface ITasteCard2Slider {
|
|
6
|
-
tastes: Model.TasteItem[];
|
|
7
|
-
bodyClicked: (taste: Model.TasteItem) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const TasteCard2Slider: React.FC<ITasteCard2Slider>;
|
|
10
|
-
export default TasteCard2Slider;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
import 'slick-carousel/slick/slick.css';
|
|
4
|
-
import 'slick-carousel/slick/slick-theme.css';
|
|
5
|
-
interface ITopThingsSlider {
|
|
6
|
-
pois: Model.Poi[];
|
|
7
|
-
bodyClicked: (poi: Model.Poi) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const TopThingsSlider: React.FC<ITopThingsSlider>;
|
|
10
|
-
export default TopThingsSlider;
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Providers } from '@tripian/model';
|
|
3
|
-
import 'slick-carousel/slick/slick.css';
|
|
4
|
-
import 'slick-carousel/slick/slick-theme.css';
|
|
5
|
-
interface IGlxTourCardSlider {
|
|
6
|
-
bookingRefs: Providers.Glx.BookingRef[];
|
|
7
|
-
bodyClicked: (bookingRef: Providers.Glx.BookingRef) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const GlxTourCardSlider: React.FC<IGlxTourCardSlider>;
|
|
10
|
-
export default GlxTourCardSlider;
|