@duffel/components 3.7.7--canary-2 → 3.7.7

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.
@@ -4,6 +4,7 @@ interface FilterControlProps {
4
4
  children: (closePopover: () => void) => React.ReactNode;
5
5
  disabled?: boolean;
6
6
  popoverWidth?: string;
7
+ targetWidth: string;
7
8
  }
8
9
  export declare const FilterControl: React.FC<FilterControlProps>;
9
10
  interface FilterControlOptionProps {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@duffel/api" />
2
- import * as React from "react";
3
2
  import { Offer } from "@duffel/api/types";
3
+ import * as React from "react";
4
4
  export interface NGSSliceFareCardProps {
5
5
  offer: Omit<Offer, "available_services">;
6
6
  sliceIndex: number;
@@ -0,0 +1,4 @@
1
+ /// <reference types="@duffel/api" />
2
+ import { OfferRequest, OfferSlice } from "@duffel/api/types";
3
+ export declare function doesSliceHaveMixedCabins(slice: OfferSlice): boolean;
4
+ export declare function doOffersHaveMixedCabin(offer: OfferRequest["offers"] | null, sliceIndex?: number): boolean;