searchsmartly-ui 1.0.24 → 1.0.26
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 +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/components/Map/types.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { TypographyProps } from '@mui/material/Typography/Typography';
|
|
|
14
14
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
15
15
|
import { Theme as Theme$1 } from '@mui/material/styles';
|
|
16
16
|
import { TransitionProps } from '@mui/material/transitions';
|
|
17
|
-
import { MapRef } from 'react-map-gl';
|
|
17
|
+
import { ViewState, MapRef } from 'react-map-gl';
|
|
18
18
|
export { MapRef } from 'react-map-gl';
|
|
19
19
|
import { FillPaint, LinePaint, MapboxGeoJSONFeature } from 'mapbox-gl';
|
|
20
20
|
import { Feature, Geometry, GeoJsonProperties, BBox } from 'geojson';
|
|
@@ -620,8 +620,8 @@ type MapProps = {
|
|
|
620
620
|
areaTagIndex?: number | null;
|
|
621
621
|
onChangeAreaTags?: (val: Record<string, string[] | unknown>, index: number, isAdd: boolean) => void;
|
|
622
622
|
updateAreaTagIndex?: (val: null | number) => void;
|
|
623
|
-
viewport?: Partial<MapViewport>;
|
|
624
623
|
onViewportChange?: (viewport: MapViewport) => void;
|
|
624
|
+
getViewState?: () => ViewState;
|
|
625
625
|
};
|
|
626
626
|
|
|
627
627
|
type PinFeature = {
|