@duffel/components 3.7.5--canary-2 → 3.7.5--canary-3
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/AirlineSelector.d.ts +2 -0
- package/components/DuffelNGSView/FilterControl.d.ts +1 -0
- package/components/DuffelNGSView/FilterControls.d.ts +1 -0
- package/components/DuffelNGSView/NGSTable.d.ts +1 -1
- package/components/shared/SliceCarriersTitle.d.ts +2 -1
- package/custom-elements.js +2 -2
- package/custom-elements.js.map +1 -1
- package/index.js +16 -16
- package/index.js.map +3 -3
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -4,5 +4,7 @@ export interface AirlineSelectorProps {
|
|
|
4
4
|
options: Filters["airlines"];
|
|
5
5
|
selected: Filters["airlines"];
|
|
6
6
|
onChange: (airlines: Filters["airlines"]) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
targetLabel?: string;
|
|
7
9
|
}
|
|
8
10
|
export declare const AirlineSelector: React.FC<AirlineSelectorProps>;
|
|
@@ -2,6 +2,7 @@ import React from "react";
|
|
|
2
2
|
interface FilterControlProps {
|
|
3
3
|
target: React.ReactNode;
|
|
4
4
|
children: (closePopover: () => void) => React.ReactNode;
|
|
5
|
+
disabled?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare const FilterControl: React.FC<FilterControlProps>;
|
|
7
8
|
interface FilterControlOptionProps {
|
|
@@ -5,6 +5,6 @@ export interface NGSTableProps {
|
|
|
5
5
|
offers: OfferRequest["offers"];
|
|
6
6
|
sliceIndex: number;
|
|
7
7
|
previousSliceKeys: string[];
|
|
8
|
-
onSelect: (offerId: string, sliceKey: string) => void;
|
|
8
|
+
onSelect: (offerId: string, sliceKey: string, offer: OfferRequest["offers"][number]) => void;
|
|
9
9
|
}
|
|
10
10
|
export declare const NGSTable: React.FC<NGSTableProps>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="@duffel/api" />
|
|
2
|
-
import { OfferSlice } from "@duffel/api/types";
|
|
2
|
+
import { OfferSlice, OfferSliceSegment } from "@duffel/api/types";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
export interface SliceCarriersTitleProps {
|
|
5
5
|
slice: OfferSlice;
|
|
6
6
|
}
|
|
7
7
|
export declare const SliceCarriersTitle: React.FC<SliceCarriersTitleProps>;
|
|
8
|
+
export declare function getSegmentCarriersTitle(segment: OfferSliceSegment): string;
|