@duffel/components 3.7.29 → 3.7.31

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.
@@ -0,0 +1,3 @@
1
+ /// <reference types="@duffel/api" />
2
+ import { SeatMapCabinRowSectionElement } from "@duffel/api/types";
3
+ export declare function isAmenityElement(element: SeatMapCabinRowSectionElement): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duffel/components",
3
- "version": "3.7.29",
3
+ "version": "3.7.31",
4
4
  "description": "Component library to build your travel product with Duffel.",
5
5
  "keywords": [
6
6
  "Duffel",
@@ -51,7 +51,7 @@
51
51
  "semver": "7.5.4"
52
52
  },
53
53
  "dependencies": {
54
- "@duffel/api": "2.14.4",
54
+ "@duffel/api": "4.2.1",
55
55
  "@sentry/browser": "7.119.2",
56
56
  "@stripe/react-stripe-js": "2.1.0",
57
57
  "@stripe/stripe-js": "1.54.2",
@@ -93,7 +93,7 @@
93
93
  "babel-jest": "29.7.0",
94
94
  "concurrently": "8.2.2",
95
95
  "dotenv": "16.4.5",
96
- "esbuild": "0.17.19",
96
+ "esbuild": "0.25.0",
97
97
  "esbuild-copy-static-files": "0.1.0",
98
98
  "eslint": "8.52.0",
99
99
  "eslint-config-prettier": "9.0.0",
@@ -21,3 +21,4 @@ export declare const BaggageBehaviourSpirit: StoryFn<DuffelAncillariesPropsWithO
21
21
  export declare const BaggageBehaviourEasyjet: StoryFn<DuffelAncillariesPropsWithOffersAndSeatMaps>;
22
22
  export declare const BaggageBehaviourLufthansa: StoryFn<DuffelAncillariesPropsWithOffersAndSeatMaps>;
23
23
  export declare const BaggageBehaviourAustrian: StoryFn<DuffelAncillariesPropsWithOffersAndSeatMaps>;
24
+ export declare const WithPreselectedServices: DuffelAncillariesStory;
@@ -0,0 +1,3 @@
1
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/dist/types-a5624094").R, import("@storybook/csf").Args>;
2
+ export default _default;
3
+ export declare const Default: React.FC;
@@ -36,14 +36,12 @@ export declare const PayLaterRate: {
36
36
  conditions: import("@duffel/api/types").StaysRateCondition[];
37
37
  due_at_accommodation_amount: string | null;
38
38
  due_at_accommodation_currency: string;
39
- supplier: "priceline";
40
39
  fee_amount: string | null;
41
40
  fee_currency: string;
42
41
  tax_amount: string | null;
43
42
  tax_currency: string;
44
43
  total_amount: string;
45
44
  total_currency: string;
46
- payment_method: import("@duffel/api/types").StaysPaymentType;
47
45
  supported_loyalty_programme: import("@duffel/api/types").StaysLoyaltyProgrammeReference | null;
48
46
  };
49
47
  numberOfNights: number;
@@ -89,14 +87,12 @@ export declare const RatesCrossComparison: {
89
87
  conditions: import("@duffel/api/types").StaysRateCondition[];
90
88
  due_at_accommodation_amount: string | null;
91
89
  due_at_accommodation_currency: string;
92
- supplier: "priceline";
93
90
  fee_amount: string | null;
94
91
  fee_currency: string;
95
92
  tax_amount: string | null;
96
93
  tax_currency: string;
97
94
  total_amount: string;
98
95
  total_currency: string;
99
- payment_method: import("@duffel/api/types").StaysPaymentType;
100
96
  supported_loyalty_programme: import("@duffel/api/types").StaysLoyaltyProgrammeReference | null;
101
97
  };
102
98
  numberOfNights: number;
@@ -23,13 +23,12 @@ export declare const WithNoPhoto: {
23
23
  id: string;
24
24
  amenities: import("@duffel/api/types").StaysAmenity[] | null;
25
25
  chain: import("@duffel/api/types").StaysChain | null;
26
+ brand: import("@duffel/api/types").StaysAccommodationBrand | null;
26
27
  check_in_information: {
27
28
  check_out_before_time: string;
28
29
  check_in_after_time: string;
29
30
  } | null;
30
31
  key_collection: import("@duffel/api/types").StaysBookingKeyCollection | null;
31
- cheapest_rate_currency: string;
32
- cheapest_rate_total_amount: string;
33
32
  description?: string | undefined;
34
33
  email: string | null;
35
34
  location: import("@duffel/api/types").StaysLocation;