@duffel/components 3.12.3 → 3.13.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/DuffelAncillaries/bags/BaggageSelectionCard.d.ts +2 -2
- package/components/DuffelAncillaries/bags/BaggageSelectionController.d.ts +2 -1
- package/components/DuffelAncillaries/bags/BaggageSelectionModal.d.ts +2 -2
- package/components/DuffelAncillaries/bags/BaggageSelectionModalBody.d.ts +2 -2
- package/components/DuffelAncillaries/bags/BaggageSelectionModalBodyPassenger.d.ts +2 -2
- package/custom-elements.js +16 -16
- package/custom-elements.js.map +3 -3
- package/index.js +12 -12
- package/index.js.map +3 -3
- package/lib/getBaggageServiceDescription.d.ts +2 -1
- package/package.json +3 -3
- package/stories/DuffelAncillaries.stories.d.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/types/DuffelAncillariesProps.d.ts +28 -0
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { OfferAvailableServiceBaggageMetadata } from "@duffel/api/types";
|
|
2
|
-
|
|
2
|
+
import { DuffelAncillariesLocalisationStrings } from "../types";
|
|
3
|
+
export declare const getBaggageServiceDescription: (metadata: OfferAvailableServiceBaggageMetadata, localisationStrings?: DuffelAncillariesLocalisationStrings) => string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duffel/components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"description": "Component library to build your travel product with Duffel.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Duffel",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"date-fns": "^4.1.0",
|
|
60
60
|
"date-fns-tz": "^3.2.0",
|
|
61
61
|
"duration-fns": "3.0.2",
|
|
62
|
-
"form-data": "4.0.
|
|
62
|
+
"form-data": "4.0.5",
|
|
63
63
|
"fuse.js": "6.6.2",
|
|
64
64
|
"lodash": "4.17.21",
|
|
65
65
|
"rc-slider": "10.6.2",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@storybook/types": "8.3.5",
|
|
87
87
|
"@testing-library/react": "14.3.1",
|
|
88
88
|
"@types/jest": "29.5.14",
|
|
89
|
-
"@types/lodash": "4.17.
|
|
89
|
+
"@types/lodash": "4.17.21",
|
|
90
90
|
"@types/node": "18.19.130",
|
|
91
91
|
"@types/prompts": "2.4.9",
|
|
92
92
|
"@types/react": "18.2.33",
|
|
@@ -22,3 +22,4 @@ export declare const BaggageBehaviourEasyjet: StoryFn<DuffelAncillariesPropsWith
|
|
|
22
22
|
export declare const BaggageBehaviourLufthansa: StoryFn<DuffelAncillariesPropsWithOffersAndSeatMaps>;
|
|
23
23
|
export declare const BaggageBehaviourAustrian: StoryFn<DuffelAncillariesPropsWithOffersAndSeatMaps>;
|
|
24
24
|
export declare const WithPreselectedServices: DuffelAncillariesStory;
|
|
25
|
+
export declare const WithlocalisationStrings: DuffelAncillariesStory;
|