searchsmartly-ui 0.0.21 → 0.0.22

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/dist/index.d.ts CHANGED
@@ -76,7 +76,7 @@ interface CarouselInterface {
76
76
  }
77
77
  declare const SlickCarousel: FC<CarouselInterface>;
78
78
 
79
- export interface TagProps extends ChipProps {
79
+ interface TagProps extends ChipProps {
80
80
  fontSize?: number;
81
81
  tooltip?: string;
82
82
  }
@@ -105,10 +105,14 @@ declare const AmenityTags: FC<{
105
105
  scores: Record<string, number>;
106
106
  }>;
107
107
 
108
+ declare enum ListingTypeEnum {
109
+ Rent = "rent",
110
+ Sale = "sale"
111
+ }
108
112
  type PropertyItemType = {
109
- displayable_address: string;
113
+ displayable_address?: string;
110
114
  price: number;
111
- listing_status: string;
115
+ listing_type: ListingTypeEnum;
112
116
  id: string;
113
117
  images: string[];
114
118
  num_bedrooms?: number;
@@ -131,7 +135,7 @@ type ListProps<T extends PropertyItemType> = {
131
135
  };
132
136
  declare const PropertiesList: <T extends PropertyItemType>({ currency, title, properties, defaultPropertyCard, disableCarousel, cardHeader, loadMoreLoading, onLoadMore, onClickMapButton, children, }: ListProps<T>) => react_jsx_runtime.JSX.Element;
133
137
 
134
- export type PropertyCardType<T extends PropertyItemType> = Omit<BoxProps, 'property'> & {
138
+ type PropertyCardType<T extends PropertyItemType> = Omit<BoxProps, 'property'> & {
135
139
  id?: string;
136
140
  currency?: string;
137
141
  isPopover?: boolean;
@@ -194,4 +198,4 @@ declare const useResponsive: () => {
194
198
 
195
199
  declare const ThemeProvider: FC<ThemeProviderProps>;
196
200
 
197
- export { AmenityTags, BaseLayout, BeachesIcon, BedIcon, BedroomsForm, BudgetForm, BusIcon, Button, CardImage, EmptyDefaultImage, GymIcon, LazyLoadImage, ListHeader, Onboarding, OnboardingStepLayout, ParksIcon, Powered, PropertiesList, PropertyCard, PropertyTag, RestaurantsIcon, SchoolsIcon, SearchsmartlyLogo, ShopIcon, SlickCarousel, StarIcon, Tag, ThemeProvider, amenityTagConfig, getAmenityTags, thresholds, useResponsive };
201
+ export { AmenityTags, BaseLayout, BeachesIcon, BedIcon, BedroomsForm, BudgetForm, BusIcon, Button, CardImage, EmptyDefaultImage, GymIcon, LazyLoadImage, ListHeader, Onboarding, OnboardingStepLayout, ParksIcon, Powered, PropertiesList, PropertyCard, type PropertyCardType, PropertyTag, RestaurantsIcon, SchoolsIcon, SearchsmartlyLogo, ShopIcon, SlickCarousel, StarIcon, Tag, type TagProps, ThemeProvider, amenityTagConfig, getAmenityTags, thresholds, useResponsive };