searchsmartly-ui 1.0.22 → 1.0.24
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
|
@@ -17,7 +17,7 @@ import { TransitionProps } from '@mui/material/transitions';
|
|
|
17
17
|
import { MapRef } from 'react-map-gl';
|
|
18
18
|
export { MapRef } from 'react-map-gl';
|
|
19
19
|
import { FillPaint, LinePaint, MapboxGeoJSONFeature } from 'mapbox-gl';
|
|
20
|
-
import { Feature, Geometry, GeoJsonProperties } from 'geojson';
|
|
20
|
+
import { Feature, Geometry, GeoJsonProperties, BBox } from 'geojson';
|
|
21
21
|
import { TooltipProps } from '@mui/material/Tooltip/Tooltip';
|
|
22
22
|
import { InputProps } from '@mui/material/Input/Input';
|
|
23
23
|
import { AutocompleteRenderInputParams } from '@mui/material/Autocomplete/Autocomplete';
|
|
@@ -195,6 +195,7 @@ type PropertyItemType = {
|
|
|
195
195
|
listing_type: ListingTypeEnum;
|
|
196
196
|
id: string;
|
|
197
197
|
images: string[];
|
|
198
|
+
image_url?: string;
|
|
198
199
|
num_bedrooms?: number;
|
|
199
200
|
is_shared?: boolean;
|
|
200
201
|
};
|
|
@@ -541,6 +542,12 @@ declare class ErrorBoundary extends Component<Props, State> {
|
|
|
541
542
|
|
|
542
543
|
declare const Snackbar: FC<SnackbarProps>;
|
|
543
544
|
|
|
545
|
+
type MapViewport = {
|
|
546
|
+
zoom: number;
|
|
547
|
+
bounds?: BBox;
|
|
548
|
+
latitude?: number;
|
|
549
|
+
longitude?: number;
|
|
550
|
+
};
|
|
544
551
|
type CommutePin = {
|
|
545
552
|
id: string;
|
|
546
553
|
commutePin: boolean;
|
|
@@ -613,6 +620,8 @@ type MapProps = {
|
|
|
613
620
|
areaTagIndex?: number | null;
|
|
614
621
|
onChangeAreaTags?: (val: Record<string, string[] | unknown>, index: number, isAdd: boolean) => void;
|
|
615
622
|
updateAreaTagIndex?: (val: null | number) => void;
|
|
623
|
+
viewport?: Partial<MapViewport>;
|
|
624
|
+
onViewportChange?: (viewport: MapViewport) => void;
|
|
616
625
|
};
|
|
617
626
|
|
|
618
627
|
type PinFeature = {
|
|
@@ -882,4 +891,4 @@ declare const getDestination: (state: Record<string, unknown>, key: string) => {
|
|
|
882
891
|
};
|
|
883
892
|
|
|
884
893
|
export { AmenityButton, AmenityPublicIcon, AmenityTags, AreasForm, AsyncAutocomplete, BaseLayout, BeachesIcon, BedIcon, BedroomsForm, BikeIcon, BudgetForm, BusIcon, BusTagIcon, Button, COMMUTE_METHODS, CarIcon, CardImage, CommuteForm, CommuteIcon, CommuteMethod, CopyButton, DEFAULT_TIME, EmptyDefaultImage, EmptyImage, ErrorBoundary, ExpandableSection, FilterButton, FiltersIcon, FiltersModal, FooterButtons, GoogleAutocomplete, GymIcon, HelperText, ImageGrid, ImageProvider, LazyLoadImage, LifestyleForm, ListHeader, Loader, MAX_TIME, MIN_TIME, MapTags, MapWrapper, ModalBase, ModalContainer, ModalFooter, ModalHeader, ModalsContext, ModalsProvider, Onboarding, OnboardingStepLayout, ParksIcon, PinIcon, Polygon, Popover, Powered, PropertiesList, PropertyCard, PropertyTag, PropertyTypeForm, PublicIcon, RentBuyForm, RestaurantsIcon, SchoolsIcon, SearchsmartlyLogo, ShopIcon, SlickCarousel, SliderChart, Snackbar, SortBy, SortIcon, StarIcon, StyledTextField, Table, Tag, TextField, ThemeProvider, Tooltip, TooltipTitle, Transition, WalkIcon, amenityTagConfig, currencyFormatterProperty, formatPrice, getAmenityTags, getBedroomsText, getDestination, getFormattedTime, iconsMap, minuteFormatter, pluralize, renderPlural, scrollIntoView, thresholds, titleCase, useClipboardFallback, useDimensions, useImages, useModal, useModalProvider, usePrevious, useResponsive, useWindowSize };
|
|
885
|
-
export type { Align, AmenityButtonProps, AutocompletePrediction, Block, Commute, CommuteFormProps, CommuteLocation, CommutePin, CommuteWithId, ComponentRestrictions, FetchType, FieldProps, GooglePlacesAutocompleteProps, LifestyleFormProps, MapProps, MethodType, ModalContainerProps, ModalsProps, PinFeature, PropertyCardType, PropertyTypeFormProps, RentBuyFormProps, Segment, SegmentCoordinates, SmartTableColumn, TableProps, TagProps };
|
|
894
|
+
export type { Align, AmenityButtonProps, AutocompletePrediction, Block, Commute, CommuteFormProps, CommuteLocation, CommutePin, CommuteWithId, ComponentRestrictions, FetchType, FieldProps, GooglePlacesAutocompleteProps, LifestyleFormProps, MapProps, MapViewport, MethodType, ModalContainerProps, ModalsProps, PinFeature, PropertyCardType, PropertyTypeFormProps, RentBuyFormProps, Segment, SegmentCoordinates, SmartTableColumn, TableProps, TagProps };
|