@duffel/components 3.7.1--canary.0 → 3.7.2

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.
Files changed (29) hide show
  1. package/components/DuffelAncillaries/DuffelAncillariesCustomElement.d.ts +0 -1
  2. package/components/DuffelCardForm/lib/postMessageToCreateCardForTemporaryUse.d.ts +0 -1
  3. package/components/DuffelCardForm/lib/postMessageToSaveCard.d.ts +0 -1
  4. package/components/DuffelCardForm/lib/postMessageWithStyles.d.ts +0 -1
  5. package/components/DuffelPayments/DuffelPaymentsCustomElement.d.ts +0 -1
  6. package/components/MapboxPlacesLookup/MapboxPlacesLookup.d.ts +1 -0
  7. package/components/MapboxPlacesLookup/MapboxPlacesLookupCustomElement.d.ts +0 -1
  8. package/components/OfferSlice/OfferSliceConditions.d.ts +0 -1
  9. package/components/OfferSlice/OfferSliceDetailTravelItem.d.ts +0 -1
  10. package/components/OfferSliceModal/OfferSliceModal.d.ts +0 -1
  11. package/components/Stays/StaysAmenitiesCustomElement.d.ts +0 -1
  12. package/components/Stays/StaysRatingCustomElement.d.ts +0 -1
  13. package/components/Stays/StaysRoomRateCard.d.ts +2 -0
  14. package/components/Stays/StaysRoomRateCardCustomElement.d.ts +0 -1
  15. package/components/Stays/StaysSummary.d.ts +0 -1
  16. package/components/Stays/StaysSummaryCustomElement.d.ts +0 -1
  17. package/components/shared/ErrorBoundary.d.ts +1 -1
  18. package/custom-elements.d.ts +0 -1
  19. package/custom-elements.js +36 -4902
  20. package/custom-elements.js.map +4 -4
  21. package/index.js +2 -2
  22. package/index.js.map +3 -3
  23. package/package.json +8 -10
  24. package/stories/MapboxPlacesLookup.stories.d.ts +1 -0
  25. package/stories/NGSShelfInfoCard.stories.d.ts +0 -1
  26. package/stories/StaysSummary.stories.d.ts +1 -0
  27. package/tsconfig.tsbuildinfo +1 -1
  28. package/components/StreamChat/StreamChat.d.ts +0 -6
  29. package/components/StreamChat/StreamChatCustomElement.d.ts +0 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duffel/components",
3
- "version": "3.7.1--canary.0",
3
+ "version": "3.7.2",
4
4
  "description": "Component library to build your travel product with Duffel.",
5
5
  "keywords": [
6
6
  "Duffel",
@@ -45,11 +45,11 @@
45
45
  "e2e": "bash e2e/start.sh"
46
46
  },
47
47
  "resolutions": {
48
- "@babel/traverse": "7.23.2",
48
+ "@babel/traverse": "7.24.1",
49
49
  "semver": "7.5.4"
50
50
  },
51
51
  "dependencies": {
52
- "@duffel/api": "2.8.1",
52
+ "@duffel/api": "2.9.0",
53
53
  "@sentry/browser": "7.77.0",
54
54
  "@stripe/react-stripe-js": "2.1.0",
55
55
  "@stripe/stripe-js": "1.54.2",
@@ -57,16 +57,14 @@
57
57
  "fuse.js": "6.6.2",
58
58
  "lodash": "4.17.21",
59
59
  "react": "18.2.0",
60
- "react-dom": "18.2.0",
61
- "stream-chat": "^8.25.0",
62
- "stream-chat-react": "^11.12.2"
60
+ "react-dom": "18.2.0"
63
61
  },
64
62
  "devDependencies": {
65
63
  "@aashutoshrathi/word-wrap": "1.2.6",
66
- "@babel/core": "7.21.4",
67
- "@babel/preset-env": "7.21.4",
68
- "@babel/preset-react": "7.18.6",
69
- "@babel/preset-typescript": "7.21.4",
64
+ "@babel/core": "7.24.3",
65
+ "@babel/preset-env": "7.24.3",
66
+ "@babel/preset-react": "7.24.1",
67
+ "@babel/preset-typescript": "7.24.1",
70
68
  "@sentry/cli": "2.21.2",
71
69
  "@sentry/esbuild-plugin": "0.7.2",
72
70
  "@storybook/addon-essentials": "7.0.2",
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import "../styles/components/PlacesLookup.css";
2
3
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
3
4
  export default _default;
4
5
  export declare const Default: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
3
2
  export default _default;
4
3
  export declare const FullList: React.FC;
@@ -27,6 +27,7 @@ export declare const WithNoPhoto: {
27
27
  check_out_before_time: string;
28
28
  check_in_after_time: string;
29
29
  } | null;
30
+ key_collection: import("@duffel/api/types").StaysBookingKeyCollection | null;
30
31
  cheapest_rate_currency: string;
31
32
  cheapest_rate_total_amount: string;
32
33
  description?: string | undefined;