searchsmartly-ui 0.0.96 → 0.0.97
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 +13 -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/CopyButton/CopyButton.d.ts +6 -0
- package/dist/src/components/CopyButton/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/useClipboardFallback.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -595,6 +595,11 @@ type PopoverProps = {
|
|
|
595
595
|
};
|
|
596
596
|
declare const Popover: FC<PopoverProps>;
|
|
597
597
|
|
|
598
|
+
type CopyButton = {
|
|
599
|
+
onClick: (val: (text: string) => void) => void;
|
|
600
|
+
};
|
|
601
|
+
declare const CopyButton: FC<CopyButton>;
|
|
602
|
+
|
|
598
603
|
declare const useResponsive: () => {
|
|
599
604
|
isMobile: boolean;
|
|
600
605
|
isTablet: boolean;
|
|
@@ -607,6 +612,13 @@ declare const useModal: () => {
|
|
|
607
612
|
closeModal: (val: any[]) => void;
|
|
608
613
|
};
|
|
609
614
|
|
|
615
|
+
type ClipboardFallbackHook = {
|
|
616
|
+
copyText: (text: string) => void;
|
|
617
|
+
copied: boolean;
|
|
618
|
+
error: string | null;
|
|
619
|
+
};
|
|
620
|
+
declare const useClipboardFallback: () => ClipboardFallbackHook;
|
|
621
|
+
|
|
610
622
|
declare const ThemeProvider: FC<ThemeProviderProps & {
|
|
611
623
|
pathname?: string;
|
|
612
624
|
}>;
|
|
@@ -631,4 +643,4 @@ declare const getDestination: (state: Record<string, unknown>, key: string) => {
|
|
|
631
643
|
[key: string]: string;
|
|
632
644
|
};
|
|
633
645
|
|
|
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 };
|
|
646
|
+
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, CopyButton, 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, useClipboardFallback, useModal, useModalProvider, useResponsive };
|