@duffel/components 3.5.0--canary-8 → 3.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/DuffelNGSView/DuffelNGSView.d.ts +0 -1
- package/components/DuffelNGSView/NGSShelfInfoCard.d.ts +0 -1
- package/components/DuffelNGSView/NGSSliceFareCard.d.ts +0 -1
- package/custom-elements.js +14 -14
- package/custom-elements.js.map +3 -3
- package/index.js +12 -12
- package/index.js.map +3 -3
- package/lib/colors.d.ts +0 -1
- package/package.json +2 -2
- package/stories/DuffelNGSView.stories.d.ts +4 -3
- package/stories/StaysRoomRateCard.stories.d.ts +30 -28
- package/tsconfig.tsbuildinfo +1 -1
- package/components/DuffelNGSView/SliceSummary.d.ts +0 -7
- package/stories/SliceSummary.stories.d.ts +0 -6
package/lib/colors.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duffel/components",
|
|
3
|
-
"version": "3.5.0
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Component library to build your travel product with Duffel.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Duffel",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"semver": "7.5.3"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@duffel/api": "2.
|
|
52
|
+
"@duffel/api": "2.6.6",
|
|
53
53
|
"@sentry/browser": "7.77.0",
|
|
54
54
|
"@stripe/react-stripe-js": "2.1.0",
|
|
55
55
|
"@stripe/stripe-js": "1.54.0",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { DuffelNGSView } from "../components/DuffelNGSView/DuffelNGSView";
|
|
3
3
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
4
4
|
export default _default;
|
|
5
|
-
|
|
5
|
+
type DuffelNGSViewStory = StoryObj<typeof DuffelNGSView>;
|
|
6
|
+
export declare const Default: DuffelNGSViewStory;
|
|
@@ -2,37 +2,39 @@
|
|
|
2
2
|
import { StaysRoomRateCardProps } from "@components/Stays/StaysRoomRateCard";
|
|
3
3
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const
|
|
6
|
-
render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R,
|
|
7
|
-
roomRates: StaysRoomRateCardProps[];
|
|
8
|
-
}>;
|
|
5
|
+
export declare const Default: {
|
|
6
|
+
render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StaysRoomRateCardProps>;
|
|
9
7
|
args: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
numberOfNights: number;
|
|
13
|
-
}[];
|
|
8
|
+
rate: import("@duffel/api/types").StaysRoomRate;
|
|
9
|
+
numberOfNights: number;
|
|
14
10
|
};
|
|
15
11
|
};
|
|
16
|
-
export declare const
|
|
17
|
-
render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R,
|
|
18
|
-
roomRates: StaysRoomRateCardProps[];
|
|
19
|
-
}>;
|
|
12
|
+
export declare const Variant: {
|
|
13
|
+
render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StaysRoomRateCardProps>;
|
|
20
14
|
args: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
15
|
+
rate: {
|
|
16
|
+
quantity_available: number | null;
|
|
17
|
+
base_amount: string | null;
|
|
18
|
+
base_currency: string;
|
|
19
|
+
board_type: "room_only" | "breakfast" | "half_board" | "full_board" | "all_inclusive";
|
|
20
|
+
cancellation_timeline: import("@duffel/api/types").StaysRateCancellationTimeline[];
|
|
21
|
+
conditions: import("@duffel/api/types").StaysRateCondition[];
|
|
22
|
+
due_at_accommodation_amount: string | null;
|
|
23
|
+
due_at_accommodation_currency: string;
|
|
24
|
+
id: string;
|
|
25
|
+
payment_type: "pay_now" | "guarantee";
|
|
26
|
+
supplier: "priceline";
|
|
27
|
+
fee_amount: string | null;
|
|
28
|
+
fee_currency: string;
|
|
29
|
+
tax_amount: string | null;
|
|
30
|
+
tax_currency: string;
|
|
31
|
+
total_amount: string;
|
|
32
|
+
total_currency: string;
|
|
33
|
+
payment_method: "balance" | "card";
|
|
34
|
+
supported_loyalty_programme: import("@duffel/api/types").StaysLoyaltyProgramme | null;
|
|
35
|
+
};
|
|
36
|
+
numberOfNights: number;
|
|
37
|
+
searchNumberOfRooms: number;
|
|
38
|
+
selected: boolean;
|
|
37
39
|
};
|
|
38
40
|
};
|