@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.
- package/components/DuffelAncillaries/DuffelAncillariesCustomElement.d.ts +0 -1
- package/components/DuffelCardForm/lib/postMessageToCreateCardForTemporaryUse.d.ts +0 -1
- package/components/DuffelCardForm/lib/postMessageToSaveCard.d.ts +0 -1
- package/components/DuffelCardForm/lib/postMessageWithStyles.d.ts +0 -1
- package/components/DuffelPayments/DuffelPaymentsCustomElement.d.ts +0 -1
- package/components/MapboxPlacesLookup/MapboxPlacesLookup.d.ts +1 -0
- package/components/MapboxPlacesLookup/MapboxPlacesLookupCustomElement.d.ts +0 -1
- package/components/OfferSlice/OfferSliceConditions.d.ts +0 -1
- package/components/OfferSlice/OfferSliceDetailTravelItem.d.ts +0 -1
- package/components/OfferSliceModal/OfferSliceModal.d.ts +0 -1
- package/components/Stays/StaysAmenitiesCustomElement.d.ts +0 -1
- package/components/Stays/StaysRatingCustomElement.d.ts +0 -1
- package/components/Stays/StaysRoomRateCard.d.ts +2 -0
- package/components/Stays/StaysRoomRateCardCustomElement.d.ts +0 -1
- package/components/Stays/StaysSummary.d.ts +0 -1
- package/components/Stays/StaysSummaryCustomElement.d.ts +0 -1
- package/components/shared/ErrorBoundary.d.ts +1 -1
- package/custom-elements.d.ts +0 -1
- package/custom-elements.js +36 -4902
- package/custom-elements.js.map +4 -4
- package/index.js +2 -2
- package/index.js.map +3 -3
- package/package.json +8 -10
- package/stories/MapboxPlacesLookup.stories.d.ts +1 -0
- package/stories/NGSShelfInfoCard.stories.d.ts +0 -1
- package/stories/StaysSummary.stories.d.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/components/StreamChat/StreamChat.d.ts +0 -6
- package/components/StreamChat/StreamChatCustomElement.d.ts +0 -15
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DuffelAncillariesPropsWithClientKeyAndOfferId, DuffelAncillariesPropsWithOfferIdForFixture, DuffelAncillariesPropsWithOffersAndSeatMaps, DuffelAncillariesPropWithOfferAndClientKey, OnPayloadReady } from "../../types/DuffelAncillariesProps";
|
|
3
2
|
declare global {
|
|
4
3
|
namespace JSX {
|
|
@@ -6,6 +6,7 @@ export interface MapboxPlacesLookupProps {
|
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
inputClassName?: string;
|
|
8
8
|
popupClassName?: string;
|
|
9
|
+
highlightedPopupItemClassName?: string;
|
|
9
10
|
inputValue?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare const MapboxPlacesLookup: React.FC<MapboxPlacesLookupProps>;
|
|
@@ -7,5 +7,7 @@ export interface StaysRoomRateCardProps {
|
|
|
7
7
|
numberOfNights: number;
|
|
8
8
|
selected: boolean;
|
|
9
9
|
onSelectRate: (rateId: string) => void;
|
|
10
|
+
hidePaymentMethod?: boolean;
|
|
11
|
+
hideSource?: boolean;
|
|
10
12
|
}
|
|
11
13
|
export declare const StaysRoomRateCard: React.FC<StaysRoomRateCardProps>;
|
|
@@ -9,5 +9,5 @@ export declare class ErrorBoundary extends React.Component<{
|
|
|
9
9
|
hasError: boolean;
|
|
10
10
|
};
|
|
11
11
|
componentDidCatch(error: Error): void;
|
|
12
|
-
render(): string | number | boolean | import("react/jsx-runtime").JSX.Element |
|
|
12
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
13
13
|
}
|
package/custom-elements.d.ts
CHANGED
|
@@ -10,4 +10,3 @@ export { renderDuffelStaysAmenitiesCustomElement } from "./components/Stays/Stay
|
|
|
10
10
|
export { renderDuffelStaysRatingCustomElement } from "./components/Stays/StaysRatingCustomElement";
|
|
11
11
|
export { renderDuffelStaysRoomRateCardCustomElement } from "./components/Stays/StaysRoomRateCardCustomElement";
|
|
12
12
|
export { renderDuffelStaysSummaryCustomElement } from "./components/Stays/StaysSummaryCustomElement";
|
|
13
|
-
export { renderStreamChatCustomElement } from "./components/StreamChat/StreamChatCustomElement";
|