@mapcomponents/react-maplibre 0.1.85 → 0.1.86
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/CHANGELOG.md +13 -0
- package/dist/components/MlCenterPosition/MlCenterPosition.d.ts +0 -2
- package/dist/components/MlCenterPosition/MlCenterPosition.stories.d.ts +0 -2
- package/dist/components/MlFollowGps/MlFollowGps.d.ts +0 -1
- package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.d.ts +1 -1
- package/dist/components/MlThreeJsLayer/MlThreeJsLayer.d.ts +1 -1
- package/dist/hooks/useAddImage/useAddImage.d.ts +20 -0
- package/dist/hooks/useAddImage/useAddImage.stories.d.ts +14 -0
- package/dist/index.esm.js +183 -146
- package/dist/index.esm.js.map +1 -1
- package/dist/ui_components/MapcomponentsTheme.d.ts +8 -0
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
|
+
## [v0.1.86] - 2023-09-13
|
|
3
|
+
|
|
4
|
+
### Fixed
|
|
5
|
+
- 6882b80: fix: LayerList deleteIcon layout
|
|
6
|
+
- e5ab361: demo bugfixes
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
- 7eb6dda: update xmldom ^0.6.0 to @xmldom/xmldom ^0.8.10 (#130) …
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- 1a221e3: add compNorth, compSouth, compStroke compass styling options to theme
|
|
13
|
+
- 75de07d: add useAddImage hook + story
|
|
14
|
+
|
|
2
15
|
## [v0.1.85] - 2023-07-14
|
|
3
16
|
|
|
4
17
|
### Fixed
|
|
@@ -52,7 +52,7 @@ export type MlGeoJsonLayerProps = {
|
|
|
52
52
|
* RasterLayerSpecification
|
|
53
53
|
|
|
54
54
|
*/
|
|
55
|
-
layout?:
|
|
55
|
+
layout?: LayerSpecification['layout'];
|
|
56
56
|
/**
|
|
57
57
|
* Javascript object that is spread into the addLayer commands first parameter.
|
|
58
58
|
*/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface useAddImageProps {
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
imageId: string;
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
imagePath: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
declare const useAddImage: {
|
|
15
|
+
(props: useAddImageProps): void;
|
|
16
|
+
defaultProps: {
|
|
17
|
+
mapId: undefined;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default useAddImage;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const storyoptions: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
(props: import("./useAddImage").useAddImageProps): void;
|
|
6
|
+
defaultProps: {
|
|
7
|
+
mapId: undefined;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
argTypes: {};
|
|
11
|
+
decorators: ((Story: any, context: any) => JSX.Element)[];
|
|
12
|
+
};
|
|
13
|
+
export default storyoptions;
|
|
14
|
+
export declare const ExampleConfig: any;
|