@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 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
@@ -31,8 +31,6 @@ declare const MlCenterPosition: {
31
31
  (props: MlCenterPositionProps): JSX.Element;
32
32
  defaultProps: {
33
33
  mapId: undefined;
34
- onColor: string;
35
- offColor: string;
36
34
  };
37
35
  };
38
36
  export default MlCenterPosition;
@@ -5,8 +5,6 @@ declare const storyoptions: {
5
5
  (props: import("./MlCenterPosition").MlCenterPositionProps): JSX.Element;
6
6
  defaultProps: {
7
7
  mapId: undefined;
8
- onColor: string;
9
- offColor: string;
10
8
  };
11
9
  };
12
10
  argTypes: {};
@@ -70,7 +70,6 @@ declare const MlFollowGps: {
70
70
  (props: MlFollowGpsProps): JSX.Element;
71
71
  defaultProps: {
72
72
  mapId: undefined;
73
- onColor: string;
74
73
  offColor: string;
75
74
  showAccuracyCircle: boolean;
76
75
  showUserLocation: boolean;
@@ -52,7 +52,7 @@ export type MlGeoJsonLayerProps = {
52
52
  * RasterLayerSpecification
53
53
 
54
54
  */
55
- layout?: Exclude<LayerSpecification['layout'], RasterLayerSpecification['layout']>;
55
+ layout?: LayerSpecification['layout'];
56
56
  /**
57
57
  * Javascript object that is spread into the addLayer commands first parameter.
58
58
  */
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
7
7
  */
8
8
  export interface MlThreeJsLayerProps {
9
9
  mapId?: string;
10
- init?: object;
10
+ init?: () => void;
11
11
  onDone?: () => void;
12
12
  }
13
13
  declare const MlThreeJsLayer: {
@@ -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;