@mapcomponents/deck-gl 1.8.5 → 1.8.6
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 +1 -0
- package/dist/CHANGELOG.md +1 -0
- package/dist/index.js +3485 -1
- package/dist/index.mjs +40411 -7
- package/dist/package.json +5 -3
- package/package.json +5 -3
- package/src/components/MlHexagonLayer/MlHexagonLayer.stories.tsx +2 -1
- package/src/decorators/MapContextDecorator.tsx +1 -1
- package/vite.config.ts +7 -1
- package/dist/html2canvas.esm-CUkZERmf.js +0 -22
- package/dist/html2canvas.esm-Dmi1NfiH.mjs +0 -4871
- package/dist/index-2pRp38DS.js +0 -4712
- package/dist/index-XOA5TV-e.mjs +0 -102973
- package/dist/index.css +0 -1
- package/dist/index.es-BNHgyHB_.js +0 -18
- package/dist/index.es-nMmjT7oh.mjs +0 -6674
- package/dist/purify.es-D1I7B1hP.js +0 -2
- package/dist/purify.es-DHbHSKL1.mjs +0 -528
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapcomponents/deck-gl",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -14,13 +14,15 @@
|
|
|
14
14
|
"@deck.gl/geo-layers": "^9.2.6",
|
|
15
15
|
"@deck.gl/mapbox": "^9.2.6",
|
|
16
16
|
"@deck.gl/mesh-layers": "^9.2.6",
|
|
17
|
-
"@mapcomponents/react-maplibre": "workspace:*",
|
|
18
17
|
"@mui/icons-material": "^7.3.2",
|
|
19
18
|
"@mui/material": "^7.3.2",
|
|
20
19
|
"@storybook/react": "^9.1.4",
|
|
21
|
-
"maplibre-gl": "^5.16.0",
|
|
22
20
|
"uuid": "^11.1.0"
|
|
23
21
|
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"@mapcomponents/react-maplibre": "workspace:*",
|
|
24
|
+
"maplibre-gl": "^5.16.0"
|
|
25
|
+
},
|
|
24
26
|
"devDependencies": {
|
|
25
27
|
"@types/geojson": "^7946.0.16"
|
|
26
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapcomponents/deck-gl",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -14,9 +14,11 @@
|
|
|
14
14
|
"@mui/icons-material": "^7.3.2",
|
|
15
15
|
"@mui/material": "^7.3.2",
|
|
16
16
|
"@storybook/react": "^9.1.4",
|
|
17
|
+
"uuid": "^11.1.0"
|
|
18
|
+
},
|
|
19
|
+
"peerDependencies": {
|
|
17
20
|
"maplibre-gl": "^5.16.0",
|
|
18
|
-
"
|
|
19
|
-
"@mapcomponents/react-maplibre": "1.8.5"
|
|
21
|
+
"@mapcomponents/react-maplibre": "1.8.6"
|
|
20
22
|
},
|
|
21
23
|
"devDependencies": {
|
|
22
24
|
"@types/geojson": "^7946.0.16"
|
|
@@ -5,7 +5,7 @@ import { useMap } from '@mapcomponents/react-maplibre';
|
|
|
5
5
|
import { HexagonLayer } from '@deck.gl/aggregation-layers';
|
|
6
6
|
|
|
7
7
|
const storyoptions = {
|
|
8
|
-
title: 'MapComponents/
|
|
8
|
+
title: 'MapComponents/MlHexagonLayer',
|
|
9
9
|
component: MlHexagonLayer,
|
|
10
10
|
argTypes: {},
|
|
11
11
|
decorators: mapContextDecorator,
|
|
@@ -60,6 +60,7 @@ const Template = (context: any) => {
|
|
|
60
60
|
data={noiseData.features}
|
|
61
61
|
getPosition={(d: any) => d.geometry.coordinates}
|
|
62
62
|
{...context}
|
|
63
|
+
beforeId={'waterway-name'}
|
|
63
64
|
/>
|
|
64
65
|
</>
|
|
65
66
|
);
|
package/vite.config.ts
CHANGED
|
@@ -39,7 +39,13 @@ export default defineConfig(() => ({
|
|
|
39
39
|
},
|
|
40
40
|
rollupOptions: {
|
|
41
41
|
// External packages that should not be bundled into your library.
|
|
42
|
-
external: [
|
|
42
|
+
external: [
|
|
43
|
+
'react',
|
|
44
|
+
'react-dom',
|
|
45
|
+
'react/jsx-runtime',
|
|
46
|
+
'@mapcomponents/react-maplibre',
|
|
47
|
+
'maplibre-gl',
|
|
48
|
+
],
|
|
43
49
|
},
|
|
44
50
|
},
|
|
45
51
|
}));
|