searchsmartly-ui 0.0.119 → 0.0.121
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 +24 -1
- package/dist/index.esm.js +7 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/src/components/EmptyImage/EmptyDefaultImage.d.ts +7 -0
- package/dist/src/components/EmptyImage/EmptyImage.d.ts +5 -0
- package/dist/src/components/EmptyImage/index.d.ts +2 -0
- package/dist/src/components/ImageGrid/ImageGrid.d.ts +11 -0
- package/dist/src/components/ImageGrid/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +3 -0
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/useImages.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -696,6 +696,21 @@ type TableProps<T> = {
|
|
|
696
696
|
};
|
|
697
697
|
declare function Table<T>({ rowHeight, getUniqueId, align, minWidth, columns, data, }: TableProps<T>): JSX$1.Element;
|
|
698
698
|
|
|
699
|
+
declare const EmptyImage: FC<{
|
|
700
|
+
sx?: Record<string, string | number>;
|
|
701
|
+
children: ReactNode;
|
|
702
|
+
}>;
|
|
703
|
+
|
|
704
|
+
type ImageGridProps = {
|
|
705
|
+
images: string[];
|
|
706
|
+
fullSizeImages: string[];
|
|
707
|
+
gridSize: number;
|
|
708
|
+
blockItemHeight: number;
|
|
709
|
+
blockHeight: number;
|
|
710
|
+
children: ReactNode;
|
|
711
|
+
};
|
|
712
|
+
declare const ImageGrid: FC<ImageGridProps>;
|
|
713
|
+
|
|
699
714
|
declare const useResponsive: () => {
|
|
700
715
|
isMobile: boolean;
|
|
701
716
|
isTablet: boolean;
|
|
@@ -719,6 +734,14 @@ declare const useWindowSize: () => [number, number];
|
|
|
719
734
|
|
|
720
735
|
declare function usePrevious<T = unknown>(value: T): T | undefined;
|
|
721
736
|
|
|
737
|
+
declare const useImages: ({ isLoaded, images }: {
|
|
738
|
+
isLoaded: boolean;
|
|
739
|
+
images: string[];
|
|
740
|
+
}) => {
|
|
741
|
+
imgsLoaded: boolean;
|
|
742
|
+
images: string[];
|
|
743
|
+
};
|
|
744
|
+
|
|
722
745
|
declare const ThemeProvider: FC<ThemeProviderProps & {
|
|
723
746
|
pathname?: string;
|
|
724
747
|
}>;
|
|
@@ -747,4 +770,4 @@ declare const getDestination: (state: Record<string, unknown>, key: string) => {
|
|
|
747
770
|
[key: string]: string;
|
|
748
771
|
};
|
|
749
772
|
|
|
750
|
-
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, ErrorBoundary, type FetchType, type FieldProps, FilterButton, FiltersIcon, FiltersModal, FooterButtons, GoogleAutocomplete, GymIcon, HelperText, 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, useModal, useModalProvider, usePrevious, useResponsive, useWindowSize };
|
|
773
|
+
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 };
|