searchsmartly-ui 0.0.94 → 0.0.96
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 +26 -1
- 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/Popover/Popover.d.ts +13 -0
- package/dist/src/components/Popover/index.d.ts +1 -0
- package/dist/src/components/SliderChart/SliderChart.d.ts +9 -0
- package/dist/src/components/SliderChart/index.d.ts +2 -0
- package/dist/src/components/SliderChart/types.d.ts +5 -0
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/components/modals/modal/provider/ModalsProvider.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -397,6 +397,7 @@ type ModalsProviderProps = {
|
|
|
397
397
|
pathname?: string;
|
|
398
398
|
};
|
|
399
399
|
declare const ModalsProvider: ({ pathname, children }: ModalsProviderProps) => react_jsx_runtime.JSX.Element;
|
|
400
|
+
declare const useModalProvider: () => ModalsContextProps;
|
|
400
401
|
|
|
401
402
|
type ModalBaseProps = {
|
|
402
403
|
modalID: number;
|
|
@@ -570,6 +571,30 @@ declare const HelperText: FC<{
|
|
|
570
571
|
error: string | null;
|
|
571
572
|
}>;
|
|
572
573
|
|
|
574
|
+
interface Block {
|
|
575
|
+
background: string;
|
|
576
|
+
text: string;
|
|
577
|
+
width: number;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
type SliderChartProps = {
|
|
581
|
+
blocks: Block[];
|
|
582
|
+
sliderLabels: string[];
|
|
583
|
+
children?: ReactNode | string;
|
|
584
|
+
};
|
|
585
|
+
declare const SliderChart: FC<SliderChartProps>;
|
|
586
|
+
|
|
587
|
+
type PopoverProps = {
|
|
588
|
+
open: boolean;
|
|
589
|
+
disableSlider?: boolean;
|
|
590
|
+
header: string;
|
|
591
|
+
sliderLabels: string[];
|
|
592
|
+
blocks: Block[];
|
|
593
|
+
children?: ReactNode | string;
|
|
594
|
+
toggleOpen: (val: boolean) => void;
|
|
595
|
+
};
|
|
596
|
+
declare const Popover: FC<PopoverProps>;
|
|
597
|
+
|
|
573
598
|
declare const useResponsive: () => {
|
|
574
599
|
isMobile: boolean;
|
|
575
600
|
isTablet: boolean;
|
|
@@ -606,4 +631,4 @@ declare const getDestination: (state: Record<string, unknown>, key: string) => {
|
|
|
606
631
|
[key: string]: string;
|
|
607
632
|
};
|
|
608
633
|
|
|
609
|
-
export { AmenityTags, AreasForm, BaseLayout, BeachesIcon, BedIcon, BedroomsForm, BikeIcon, BudgetForm, BusIcon, BusTagIcon, Button, COMMUTE_METHODS, CarIcon, CardImage, type Commute, CommuteForm, CommuteIcon, type CommuteLocation, CommuteMethod, type CommutePin, EmptyDefaultImage, ErrorBoundary, type FieldProps, FilterButton, FiltersIcon, FiltersModal, FooterButtons, 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, Powered, PropertiesList, PropertyCard, type PropertyCardType, PropertyTag, PropertyTypeForm, type PropertyTypeFormProps, RentBuyForm, type RentBuyFormProps, RestaurantsIcon, SchoolsIcon, SearchsmartlyLogo, ShopIcon, SlickCarousel, Snackbar, StarIcon, Tag, type TagProps, TextField, ThemeProvider, Tooltip, TooltipTitle, Transition, WalkIcon, amenityTagConfig, currencyFormatterProperty, formatPrice, getAmenityTags, getBedroomsText, getDestination, getFormattedTime, iconsMap, minuteFormatter, pluralize, renderPlural, thresholds, useModal, useResponsive };
|
|
634
|
+
export { AmenityTags, AreasForm, BaseLayout, BeachesIcon, BedIcon, BedroomsForm, BikeIcon, type Block, BudgetForm, BusIcon, BusTagIcon, Button, COMMUTE_METHODS, CarIcon, CardImage, type Commute, CommuteForm, CommuteIcon, type CommuteLocation, CommuteMethod, type CommutePin, EmptyDefaultImage, ErrorBoundary, type FieldProps, FilterButton, FiltersIcon, FiltersModal, FooterButtons, 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, Snackbar, StarIcon, Tag, type TagProps, TextField, ThemeProvider, Tooltip, TooltipTitle, Transition, WalkIcon, amenityTagConfig, currencyFormatterProperty, formatPrice, getAmenityTags, getBedroomsText, getDestination, getFormattedTime, iconsMap, minuteFormatter, pluralize, renderPlural, thresholds, useModal, useModalProvider, useResponsive };
|