searchsmartly-ui 0.0.124 → 0.0.126
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 +5 -23
- package/dist/index.esm.js +8 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/src/components/ImageGrid/ImageGrid.d.ts +0 -7
- package/dist/src/components/ImageProvider/ImageProvider.d.ts +4 -0
- package/dist/src/components/ImageProvider/index.d.ts +1 -0
- package/dist/src/components/SlickCarousel/SlickCarousel.d.ts +1 -8
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/list/PropertyCard.d.ts +2 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ import { Geometry } from 'geojson';
|
|
|
22
22
|
import { TooltipProps } from '@mui/material/Tooltip/Tooltip';
|
|
23
23
|
import { InputProps } from '@mui/material/Input/Input';
|
|
24
24
|
import { AutocompleteRenderInputParams } from '@mui/material/Autocomplete/Autocomplete';
|
|
25
|
+
import { GalleryProps } from 'react-photoswipe-gallery/src/types';
|
|
25
26
|
import { ThemeProviderProps } from '@mui/material/styles/ThemeProvider';
|
|
26
27
|
|
|
27
28
|
declare const Button: _emotion_styled.StyledComponent<_mui_material.ButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, "classes"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
@@ -108,13 +109,6 @@ interface CarouselInterface {
|
|
|
108
109
|
id?: string;
|
|
109
110
|
sx?: SxProps$1<Theme>;
|
|
110
111
|
imageSX?: SxProps$1<Theme>;
|
|
111
|
-
cardImage?: (val: {
|
|
112
|
-
image: string;
|
|
113
|
-
originalImage?: string;
|
|
114
|
-
index: number;
|
|
115
|
-
height?: number;
|
|
116
|
-
showCount?: number;
|
|
117
|
-
}) => ReactNode;
|
|
118
112
|
}
|
|
119
113
|
declare const SlickCarousel: FC<CarouselInterface>;
|
|
120
114
|
|
|
@@ -199,15 +193,8 @@ type PropertyCardType<T extends PropertyItemType> = Omit<BoxProps, 'property'> &
|
|
|
199
193
|
children?: ReactElement | ReactElement[];
|
|
200
194
|
header?: ReactElement;
|
|
201
195
|
onClick?: () => void;
|
|
202
|
-
cardImage?: (val: {
|
|
203
|
-
image: string;
|
|
204
|
-
originalImage?: string;
|
|
205
|
-
index: number;
|
|
206
|
-
height?: number;
|
|
207
|
-
showCount?: number;
|
|
208
|
-
}) => ReactNode;
|
|
209
196
|
};
|
|
210
|
-
declare const PropertyCard: <T extends PropertyItemType>({ property, loading, currency, id, disableCarousel, isPopover, children, header, tagColor, sx, onClick,
|
|
197
|
+
declare const PropertyCard: <T extends PropertyItemType>({ property, loading, currency, id, disableCarousel, isPopover, children, header, tagColor, sx, onClick, }: PropertyCardType<T>) => react_jsx_runtime.JSX.Element;
|
|
211
198
|
|
|
212
199
|
type ListHeaderProps = {
|
|
213
200
|
title: string;
|
|
@@ -722,16 +709,11 @@ type ImageGridProps = {
|
|
|
722
709
|
blockItemHeight: number;
|
|
723
710
|
blockHeight: number;
|
|
724
711
|
children: ReactNode;
|
|
725
|
-
cardImage?: (val: {
|
|
726
|
-
image: string;
|
|
727
|
-
originalImage?: string;
|
|
728
|
-
index: number;
|
|
729
|
-
height?: number;
|
|
730
|
-
showCount?: number;
|
|
731
|
-
}) => ReactNode;
|
|
732
712
|
};
|
|
733
713
|
declare const ImageGrid: FC<ImageGridProps>;
|
|
734
714
|
|
|
715
|
+
declare const ImageProvider: FC<GalleryProps>;
|
|
716
|
+
|
|
735
717
|
declare const useResponsive: () => {
|
|
736
718
|
isMobile: boolean;
|
|
737
719
|
isTablet: boolean;
|
|
@@ -791,4 +773,4 @@ declare const getDestination: (state: Record<string, unknown>, key: string) => {
|
|
|
791
773
|
[key: string]: string;
|
|
792
774
|
};
|
|
793
775
|
|
|
794
|
-
export { type Align, AmenityButton, type AmenityButtonProps, AmenityTags, AreasForm, AsyncAutocomplete, BaseLayout, BeachesIcon, BedIcon, BedroomsForm, BikeIcon, type Block, BudgetForm, BusIcon, BusTagIcon, Button, COMMUTE_METHODS, CarIcon, CardImage, type Commute, CommuteForm, CommuteIcon, type CommuteLocation, CommuteMethod, type CommutePin, CopyButton, EmptyDefaultImage, EmptyImage, ErrorBoundary, type FetchType, type FieldProps, FilterButton, FiltersIcon, FiltersModal, FooterButtons, GoogleAutocomplete, GymIcon, HelperText, ImageGrid, 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, 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 };
|
|
776
|
+
export { type Align, AmenityButton, type AmenityButtonProps, AmenityTags, AreasForm, AsyncAutocomplete, BaseLayout, BeachesIcon, BedIcon, BedroomsForm, BikeIcon, type Block, BudgetForm, BusIcon, BusTagIcon, Button, COMMUTE_METHODS, CarIcon, CardImage, type Commute, CommuteForm, CommuteIcon, type CommuteLocation, CommuteMethod, type CommutePin, CopyButton, EmptyDefaultImage, EmptyImage, ErrorBoundary, type FetchType, type FieldProps, FilterButton, FiltersIcon, FiltersModal, FooterButtons, GoogleAutocomplete, 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, 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 };
|