@duffel/components 3.7.0 → 3.7.1--canary.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/DuffelAncillariesCustomElement.d.ts +1 -0
- package/components/DuffelCardForm/lib/postMessageToCreateCardForTemporaryUse.d.ts +1 -0
- package/components/DuffelCardForm/lib/postMessageToSaveCard.d.ts +1 -0
- package/components/DuffelCardForm/lib/postMessageWithStyles.d.ts +1 -0
- package/components/DuffelPayments/DuffelPaymentsCustomElement.d.ts +1 -0
- package/components/MapboxPlacesLookup/MapboxPlacesLookupCustomElement.d.ts +1 -0
- package/components/OfferSlice/OfferSliceConditions.d.ts +1 -0
- package/components/OfferSlice/OfferSliceDetailTravelItem.d.ts +1 -0
- package/components/OfferSliceModal/OfferSliceModal.d.ts +1 -0
- package/components/Stays/StaysAmenitiesCustomElement.d.ts +1 -0
- package/components/Stays/StaysRatingCustomElement.d.ts +1 -0
- package/components/Stays/StaysRoomRateCardCustomElement.d.ts +1 -0
- package/components/Stays/StaysSummary.d.ts +1 -0
- package/components/Stays/StaysSummaryCustomElement.d.ts +1 -0
- package/components/StreamChat/StreamChat.d.ts +6 -0
- package/components/StreamChat/StreamChatCustomElement.d.ts +15 -0
- package/components/shared/ErrorBoundary.d.ts +1 -1
- package/custom-elements.d.ts +1 -0
- package/custom-elements.js +4902 -36
- package/custom-elements.js.map +4 -4
- package/index.js +2 -2
- package/index.js.map +2 -2
- package/package.json +4 -2
- package/stories/NGSShelfInfoCard.stories.d.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { DuffelAncillariesPropsWithClientKeyAndOfferId, DuffelAncillariesPropsWithOfferIdForFixture, DuffelAncillariesPropsWithOffersAndSeatMaps, DuffelAncillariesPropWithOfferAndClientKey, OnPayloadReady } from "../../types/DuffelAncillariesProps";
|
|
2
3
|
declare global {
|
|
3
4
|
namespace JSX {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StreamChatProps } from "./StreamChat";
|
|
3
|
+
declare const CUSTOM_ELEMENT_TAG = "stream-chat";
|
|
4
|
+
type CustomElementRenderArguments = StreamChatProps & {
|
|
5
|
+
elementId: string;
|
|
6
|
+
};
|
|
7
|
+
declare global {
|
|
8
|
+
namespace JSX {
|
|
9
|
+
interface IntrinsicElements {
|
|
10
|
+
[CUSTOM_ELEMENT_TAG]: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export declare function renderStreamChatCustomElement(props: CustomElementRenderArguments): void;
|
|
15
|
+
export {};
|
|
@@ -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 |
|
|
12
|
+
render(): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
|
13
13
|
}
|
package/custom-elements.d.ts
CHANGED
|
@@ -10,3 +10,4 @@ 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";
|