searchsmartly-ui 0.0.142 → 0.0.144

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
@@ -491,10 +491,23 @@ type CommutePin = {
491
491
  lat: number;
492
492
  lng: number;
493
493
  };
494
+ interface SegmentCoordinates {
495
+ type: string;
496
+ coordinates: number[][];
497
+ }
498
+ interface Segment {
499
+ distance: number;
500
+ commute_time: number;
501
+ segment_origin: string;
502
+ segment_destination: string;
503
+ method: string;
504
+ segment_coordinates: SegmentCoordinates;
505
+ }
494
506
  type MapProps = {
495
507
  loading: boolean;
496
508
  addLoader?: boolean;
497
509
  isochronesTags?: boolean;
510
+ segments?: Segment[];
498
511
  center?: {
499
512
  lng: number;
500
513
  lat: number;
@@ -510,7 +523,6 @@ type MapProps = {
510
523
  tagIndex: number | null;
511
524
  height?: number | string | number[];
512
525
  filters?: Record<string, unknown>;
513
- children?: ReactNode;
514
526
  pins: Record<string, unknown>[];
515
527
  popup?: {
516
528
  longitude: number;
@@ -787,4 +799,4 @@ declare const getDestination: (state: Record<string, unknown>, key: string) => {
787
799
  [key: string]: string;
788
800
  };
789
801
 
790
- export { type Align, AmenityButton, type AmenityButtonProps, AmenityTags, AreasForm, AsyncAutocomplete, type AutocompletePrediction, BaseLayout, BeachesIcon, BedIcon, BedroomsForm, BikeIcon, type Block, BudgetForm, BusIcon, BusTagIcon, Button, COMMUTE_METHODS, CarIcon, CardImage, type Commute, CommuteForm, CommuteIcon, type CommuteLocation, CommuteMethod, type CommutePin, type ComponentRestrictions, CopyButton, EmptyDefaultImage, EmptyImage, ErrorBoundary, type FetchType, type FieldProps, FilterButton, FiltersIcon, FiltersModal, FooterButtons, GoogleAutocomplete, type GooglePlacesAutocompleteProps, GymIcon, HelperText, ImageGrid, ImageProvider, LazyLoadImage, LifestyleForm, type LifestyleFormProps, ListHeader, Loader, type MapProps, MapTags, MapWrapper, type MethodType, ModalBase, ModalContainer, type ModalContainerProps, ModalFooter, ModalHeader, ModalsContext, type ModalsProps, ModalsProvider, Onboarding, OnboardingStepLayout, ParksIcon, type PinFeature, PinIcon, Polygon, Popover, Powered, PropertiesList, PropertyCard, type PropertyCardType, PropertyTag, PropertyTypeForm, type PropertyTypeFormProps, RentBuyForm, type RentBuyFormProps, RestaurantsIcon, SchoolsIcon, SearchsmartlyLogo, ShopIcon, SlickCarousel, SliderChart, type SmartTableColumn, Snackbar, StarIcon, StyledTextField, Table, type TableProps, Tag, type TagProps, TextField, ThemeProvider, Tooltip, TooltipTitle, Transition, WalkIcon, amenityTagConfig, currencyFormatterProperty, formatPrice, getAmenityTags, getBedroomsText, getDestination, getFormattedTime, iconsMap, minuteFormatter, pluralize, renderPlural, scrollIntoView, thresholds, titleCase, useClipboardFallback, useImages, useModal, useModalProvider, usePrevious, useResponsive, useWindowSize };
802
+ export { type Align, AmenityButton, type AmenityButtonProps, AmenityTags, AreasForm, AsyncAutocomplete, type AutocompletePrediction, BaseLayout, BeachesIcon, BedIcon, BedroomsForm, BikeIcon, type Block, BudgetForm, BusIcon, BusTagIcon, Button, COMMUTE_METHODS, CarIcon, CardImage, type Commute, CommuteForm, CommuteIcon, type CommuteLocation, CommuteMethod, type CommutePin, type ComponentRestrictions, CopyButton, EmptyDefaultImage, EmptyImage, ErrorBoundary, type FetchType, type FieldProps, FilterButton, FiltersIcon, FiltersModal, FooterButtons, GoogleAutocomplete, type GooglePlacesAutocompleteProps, GymIcon, HelperText, ImageGrid, ImageProvider, LazyLoadImage, LifestyleForm, type LifestyleFormProps, ListHeader, Loader, type MapProps, MapTags, MapWrapper, type MethodType, ModalBase, ModalContainer, type ModalContainerProps, ModalFooter, ModalHeader, ModalsContext, type ModalsProps, ModalsProvider, Onboarding, OnboardingStepLayout, ParksIcon, type PinFeature, PinIcon, Polygon, Popover, Powered, PropertiesList, PropertyCard, type PropertyCardType, PropertyTag, PropertyTypeForm, type PropertyTypeFormProps, RentBuyForm, type RentBuyFormProps, RestaurantsIcon, SchoolsIcon, SearchsmartlyLogo, type Segment, type SegmentCoordinates, ShopIcon, SlickCarousel, SliderChart, type SmartTableColumn, Snackbar, StarIcon, StyledTextField, Table, type TableProps, Tag, type TagProps, TextField, ThemeProvider, Tooltip, TooltipTitle, Transition, WalkIcon, amenityTagConfig, currencyFormatterProperty, formatPrice, getAmenityTags, getBedroomsText, getDestination, getFormattedTime, iconsMap, minuteFormatter, pluralize, renderPlural, scrollIntoView, thresholds, titleCase, useClipboardFallback, useImages, useModal, useModalProvider, usePrevious, useResponsive, useWindowSize };