searchsmartly-ui 0.0.81 → 0.0.84
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 +40 -1
- package/dist/index.esm.js +18 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +18 -5
- package/dist/index.js.map +1 -1
- package/dist/src/components/Map/styles.d.ts +13 -0
- package/dist/src/components/Map/types.d.ts +17 -1
- package/dist/src/components/modals/modal/ModalFooter.d.ts +9 -0
- package/dist/src/components/modals/modal/ModalHeader.d.ts +13 -0
- package/dist/src/components/modals/modal/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -404,6 +404,29 @@ declare const Transition: react.ForwardRefExoticComponent<TransitionProps & {
|
|
|
404
404
|
children: ReactElement<any, any>;
|
|
405
405
|
} & react.RefAttributes<unknown>>;
|
|
406
406
|
|
|
407
|
+
interface ModalHeaderInterface {
|
|
408
|
+
sx?: SxProps$1<Theme>;
|
|
409
|
+
disableTypography?: boolean;
|
|
410
|
+
iconFontSize?: number;
|
|
411
|
+
icon?: string | ReactNode;
|
|
412
|
+
children?: string | ReactNode;
|
|
413
|
+
onClose: ((val?: unknown) => void) | undefined;
|
|
414
|
+
}
|
|
415
|
+
declare const ModalHeader: FC<ModalHeaderInterface>;
|
|
416
|
+
|
|
417
|
+
interface ModalFooterInterface {
|
|
418
|
+
children: ReactNode | ReactNode[];
|
|
419
|
+
sx?: SxProps$1<Theme>;
|
|
420
|
+
}
|
|
421
|
+
declare const ModalFooter: FC<ModalFooterInterface>;
|
|
422
|
+
|
|
423
|
+
type ModalContainerProps = {
|
|
424
|
+
component?: any;
|
|
425
|
+
children: ReactNode;
|
|
426
|
+
className?: string;
|
|
427
|
+
};
|
|
428
|
+
declare const ModalContainer: FC<ModalContainerProps>;
|
|
429
|
+
|
|
407
430
|
type LoaderProps = {
|
|
408
431
|
loading?: boolean;
|
|
409
432
|
color?: string;
|
|
@@ -437,9 +460,24 @@ type CommutePin = {
|
|
|
437
460
|
};
|
|
438
461
|
type MapProps = {
|
|
439
462
|
loading: boolean;
|
|
463
|
+
addLoader?: boolean;
|
|
464
|
+
disableBounds?: boolean;
|
|
465
|
+
disablePolygonHover?: boolean;
|
|
466
|
+
disablePinsFeatures?: boolean;
|
|
467
|
+
disableNavigationControl?: boolean;
|
|
468
|
+
disableTags?: boolean;
|
|
469
|
+
disablePopup?: boolean;
|
|
440
470
|
tagIndex: number | null;
|
|
471
|
+
height?: number | string | number[];
|
|
441
472
|
filters: Record<string, unknown>;
|
|
442
473
|
pins: Record<string, unknown>[];
|
|
474
|
+
children?: Element[];
|
|
475
|
+
popup?: {
|
|
476
|
+
longitude: number;
|
|
477
|
+
latitude: number;
|
|
478
|
+
content: Element;
|
|
479
|
+
onClose: () => void;
|
|
480
|
+
};
|
|
443
481
|
isochrones: Feature<Geometry, Properties>[];
|
|
444
482
|
commutePins?: CommutePin[];
|
|
445
483
|
propertyPinComponent?: react__default.FC<react__default.SVGProps<SVGSVGElement>>;
|
|
@@ -447,6 +485,7 @@ type MapProps = {
|
|
|
447
485
|
styles: Record<string, string>;
|
|
448
486
|
mapboxAccessToken: string;
|
|
449
487
|
updateTagIndex: (val: null | number) => void;
|
|
488
|
+
onPinSelect?: (pin?: Record<string, unknown>[]) => void;
|
|
450
489
|
};
|
|
451
490
|
|
|
452
491
|
type PinFeature = {
|
|
@@ -503,4 +542,4 @@ declare const getBedroomsText: ({ bedrooms, isShared, disablePlural, isShort }:
|
|
|
503
542
|
|
|
504
543
|
declare const getFormattedTime: (time?: number, shortText?: boolean) => string;
|
|
505
544
|
|
|
506
|
-
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, FilterButton, FiltersIcon, FiltersModal, FooterButtons, GymIcon, LazyLoadImage, LifestyleForm, type LifestyleFormProps, ListHeader, Loader, type MapProps, MapTags, MapWrapper, type MethodType, ModalBase, ModalsContext, 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, ThemeProvider, Transition, WalkIcon, amenityTagConfig, currencyFormatterProperty, formatPrice, getAmenityTags, getBedroomsText, getFormattedTime, pluralize, renderPlural, thresholds, useModal, useResponsive };
|
|
545
|
+
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, FilterButton, FiltersIcon, FiltersModal, FooterButtons, GymIcon, LazyLoadImage, LifestyleForm, type LifestyleFormProps, ListHeader, Loader, type MapProps, MapTags, MapWrapper, type MethodType, ModalBase, ModalContainer, type ModalContainerProps, ModalFooter, ModalHeader, ModalsContext, 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, ThemeProvider, Transition, WalkIcon, amenityTagConfig, currencyFormatterProperty, formatPrice, getAmenityTags, getBedroomsText, getFormattedTime, pluralize, renderPlural, thresholds, useModal, useResponsive };
|