pollination-react-io 1.103.1 → 1.104.0
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.
@@ -0,0 +1,29 @@
|
|
1
|
+
import { CSSProperties } from 'react';
|
2
|
+
export interface WeatherInfo {
|
3
|
+
id: string;
|
4
|
+
station: string;
|
5
|
+
source: string;
|
6
|
+
lat: number;
|
7
|
+
lon: number;
|
8
|
+
link: string;
|
9
|
+
host: string;
|
10
|
+
color: string;
|
11
|
+
}
|
12
|
+
export interface StaticImageStyle {
|
13
|
+
url: string;
|
14
|
+
attribution: string;
|
15
|
+
maxZoom?: number;
|
16
|
+
minZoom?: number;
|
17
|
+
accessToken?: string;
|
18
|
+
subdomains?: string;
|
19
|
+
ext?: string;
|
20
|
+
}
|
21
|
+
export declare type EpwMapProps = {
|
22
|
+
staticImageStyle?: StaticImageStyle;
|
23
|
+
style?: CSSProperties;
|
24
|
+
widgetStyle?: CSSProperties;
|
25
|
+
showLegend?: boolean;
|
26
|
+
latitude?: number;
|
27
|
+
longitude?: number;
|
28
|
+
onCopy?: (feature: any) => any;
|
29
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import 'leaflet-control-geocoder/dist/Control.Geocoder.css';
|
3
|
+
import 'leaflet-control-geocoder/dist/Control.Geocoder.js';
|
4
|
+
/**
|
5
|
+
* Search widget
|
6
|
+
*/
|
7
|
+
export declare const LeafletControlGeocoder: ({}: {}) => any;
|
8
|
+
/**
|
9
|
+
* Points layer with popup widget
|
10
|
+
* it uses a performance issue workaround
|
11
|
+
*/
|
12
|
+
export declare const LeafletMultiplePoints: ({ data, onCopy }: {
|
13
|
+
data: any;
|
14
|
+
onCopy: any;
|
15
|
+
}) => JSX.Element;
|
16
|
+
/**
|
17
|
+
* Location center widget
|
18
|
+
*/
|
19
|
+
export declare const LocationTracker: ({ center, widgetStyle }: {
|
20
|
+
center: any;
|
21
|
+
widgetStyle: any;
|
22
|
+
}) => JSX.Element;
|
package/package.json
CHANGED
@@ -75,6 +75,7 @@
|
|
75
75
|
"eslint-plugin-jsx-a11y": "^6.6.0",
|
76
76
|
"eslint-plugin-react": "^7.30.1",
|
77
77
|
"eslint-plugin-react-hooks": "^4.6.0",
|
78
|
+
"file-loader": "^6.2.0",
|
78
79
|
"gh-pages": "^4.0.0",
|
79
80
|
"html-webpack-plugin": "^5.5.0",
|
80
81
|
"identity-obj-proxy": "^3.0.0",
|
@@ -112,8 +113,11 @@
|
|
112
113
|
"dayjs": "^1.11.5",
|
113
114
|
"downshift": "^6.1.7",
|
114
115
|
"jszip": "^3.10.1",
|
116
|
+
"leaflet": "^1.8.0",
|
117
|
+
"leaflet-control-geocoder": "^2.4.0",
|
115
118
|
"lodash.debounce": "^4.0.8",
|
116
119
|
"lodash.isequal": "^4.5.0",
|
120
|
+
"papaparse": "^5.4.1",
|
117
121
|
"rc-dropdown": "^4.0.1",
|
118
122
|
"react-bootstrap-icons": "^1.10.2",
|
119
123
|
"react-chartjs-2": "^4.3.1",
|
@@ -121,11 +125,12 @@
|
|
121
125
|
"react-dropzone": "^14.2.2",
|
122
126
|
"react-hook-form": "^7.34.0",
|
123
127
|
"react-hot-toast": "^2.4.0",
|
128
|
+
"react-leaflet": "^3.2.5",
|
124
129
|
"react-perfect-scrollbar": "^1.5.8",
|
125
130
|
"react-super-responsive-table": "^5.2.1",
|
126
131
|
"react-tabs": "^4.2.1",
|
127
132
|
"slugify": "^1.6.5",
|
128
133
|
"swr": "^1.3.0"
|
129
134
|
},
|
130
|
-
"version": "1.
|
135
|
+
"version": "1.104.0"
|
131
136
|
}
|