searchsmartly-ui 0.0.155 → 0.0.157
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 +15 -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/ExpandableSection/ExpandableSection.d.ts +9 -0
- package/dist/src/components/ExpandableSection/index.d.ts +1 -0
- package/dist/src/components/ExpandableSection/styles.d.ts +13 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/useDimensions.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -743,6 +743,14 @@ type ImageGridProps = {
|
|
|
743
743
|
};
|
|
744
744
|
declare const ImageGrid: FC<ImageGridProps>;
|
|
745
745
|
|
|
746
|
+
type ExpandableSectionProps = {
|
|
747
|
+
title?: string;
|
|
748
|
+
maxHeight?: number;
|
|
749
|
+
dependencies?: string | number;
|
|
750
|
+
children: ReactNode;
|
|
751
|
+
};
|
|
752
|
+
declare const ExpandableSection: FC<ExpandableSectionProps>;
|
|
753
|
+
|
|
746
754
|
declare const ImageProvider: FC<GalleryProps>;
|
|
747
755
|
|
|
748
756
|
declare const useResponsive: () => {
|
|
@@ -776,6 +784,12 @@ declare const useImages: ({ isLoaded, images }: {
|
|
|
776
784
|
images: string[];
|
|
777
785
|
};
|
|
778
786
|
|
|
787
|
+
type Dimensions = {
|
|
788
|
+
height?: number;
|
|
789
|
+
width?: number;
|
|
790
|
+
};
|
|
791
|
+
declare const useDimensions: (value?: string | number) => readonly [react.MutableRefObject<HTMLElement | null>, Dimensions];
|
|
792
|
+
|
|
779
793
|
declare const ThemeProvider: FC<ThemeProviderProps & {
|
|
780
794
|
pathname?: string;
|
|
781
795
|
}>;
|
|
@@ -804,4 +818,4 @@ declare const getDestination: (state: Record<string, unknown>, key: string) => {
|
|
|
804
818
|
[key: string]: string;
|
|
805
819
|
};
|
|
806
820
|
|
|
807
|
-
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, PublicIcon, 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 };
|
|
821
|
+
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, ExpandableSection, 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, PublicIcon, 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, useDimensions, useImages, useModal, useModalProvider, usePrevious, useResponsive, useWindowSize };
|