@mapcomponents/react-maplibre 0.1.75 → 0.1.76
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 +7 -0
- package/dist/hooks/useLayer.d.ts +2 -2
- package/dist/index.esm.js +410 -377
- package/dist/index.esm.js.map +1 -1
- package/dist/ui_components/LayerList/LayerList.stories.d.ts +1 -1
- package/dist/ui_components/LayerList/LayerListItemFactory.d.ts +1 -0
- package/dist/ui_components/SelectStyleButton/SelectStyleButton.d.ts +3 -0
- package/dist/ui_components/SelectStyleButton/SelectStylePopup.d.ts +6 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ declare const storyoptions: {
|
|
|
9
9
|
export default storyoptions;
|
|
10
10
|
export declare const FolderExample: any;
|
|
11
11
|
export declare const VectortileExample: any;
|
|
12
|
-
export declare const StyleJsonExample: any;
|
|
13
12
|
export declare const WmsLayerExample: any;
|
|
14
13
|
export declare const GeoJsonLayerExample: any;
|
|
15
14
|
export declare const ConfigurableExample: any;
|
|
15
|
+
export declare const LabelExample: any;
|
|
@@ -6,6 +6,9 @@ export interface SelectStyleButtonProps {
|
|
|
6
6
|
onComplete?: (config: StyleSpecification[]) => void;
|
|
7
7
|
styles?: StyleSpecification[];
|
|
8
8
|
defaultStyles?: boolean;
|
|
9
|
+
styleThumbnailPaths?: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
9
12
|
}
|
|
10
13
|
declare const SelectStyleButton: {
|
|
11
14
|
(props: SelectStyleButtonProps): JSX.Element;
|
|
@@ -5,9 +5,14 @@ export interface SelectStylePopupProps {
|
|
|
5
5
|
setOpen: (open: boolean) => void;
|
|
6
6
|
styles?: StyleSpecification[];
|
|
7
7
|
onSelect?: (style: StyleSpecification) => void;
|
|
8
|
+
styleThumbnailPaths?: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
8
11
|
}
|
|
9
12
|
declare const SelectStylePopup: {
|
|
10
13
|
(props: SelectStylePopupProps): JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
14
|
+
defaultProps: {
|
|
15
|
+
styleThumbnailPaths: {};
|
|
16
|
+
};
|
|
12
17
|
};
|
|
13
18
|
export default SelectStylePopup;
|