searchsmartly-ui 0.0.81 → 0.0.83
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 +16 -0
- 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/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -437,9 +437,24 @@ type CommutePin = {
|
|
|
437
437
|
};
|
|
438
438
|
type MapProps = {
|
|
439
439
|
loading: boolean;
|
|
440
|
+
addLoader?: boolean;
|
|
441
|
+
disableBounds?: boolean;
|
|
442
|
+
disablePolygonHover?: boolean;
|
|
443
|
+
disablePinsFeatures?: boolean;
|
|
444
|
+
disableNavigationControl?: boolean;
|
|
445
|
+
disableTags?: boolean;
|
|
446
|
+
disablePopup?: boolean;
|
|
440
447
|
tagIndex: number | null;
|
|
448
|
+
height?: number | string | number[];
|
|
441
449
|
filters: Record<string, unknown>;
|
|
442
450
|
pins: Record<string, unknown>[];
|
|
451
|
+
children?: Element[];
|
|
452
|
+
popup?: {
|
|
453
|
+
longitude: number;
|
|
454
|
+
latitude: number;
|
|
455
|
+
content: Element;
|
|
456
|
+
onClose: () => void;
|
|
457
|
+
};
|
|
443
458
|
isochrones: Feature<Geometry, Properties>[];
|
|
444
459
|
commutePins?: CommutePin[];
|
|
445
460
|
propertyPinComponent?: react__default.FC<react__default.SVGProps<SVGSVGElement>>;
|
|
@@ -447,6 +462,7 @@ type MapProps = {
|
|
|
447
462
|
styles: Record<string, string>;
|
|
448
463
|
mapboxAccessToken: string;
|
|
449
464
|
updateTagIndex: (val: null | number) => void;
|
|
465
|
+
onPinSelect?: (pin?: Record<string, unknown>[]) => void;
|
|
450
466
|
};
|
|
451
467
|
|
|
452
468
|
type PinFeature = {
|