react-globe.gl 2.30.0 → 2.31.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.
- package/README.md +24 -5
- package/dist/react-globe.gl.d.ts +16 -1
- package/dist/react-globe.gl.js +651 -329
- package/dist/react-globe.gl.js.map +1 -1
- package/dist/react-globe.gl.min.js +4 -4
- package/dist/react-globe.gl.mjs +13 -0
- package/package.json +3 -3
package/dist/react-globe.gl.mjs
CHANGED
|
@@ -141,6 +141,19 @@ var GlobePropTypes = {
|
|
|
141
141
|
onTileClick: PropTypes.func,
|
|
142
142
|
onTileRightClick: PropTypes.func,
|
|
143
143
|
onTileHover: PropTypes.func,
|
|
144
|
+
particlesData: PropTypes.arrayOf(PropTypes.object),
|
|
145
|
+
particlesList: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
|
146
|
+
particleLat: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
147
|
+
particleLng: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
148
|
+
particleAltitude: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
149
|
+
particlesSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
150
|
+
particlesSizeAttenuation: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.func]),
|
|
151
|
+
particlesColor: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
|
152
|
+
particlesTexture: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
|
153
|
+
particleLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
|
154
|
+
onParticleClick: PropTypes.func,
|
|
155
|
+
onParticleRightClick: PropTypes.func,
|
|
156
|
+
onParticleHover: PropTypes.func,
|
|
144
157
|
ringsData: PropTypes.arrayOf(PropTypes.object),
|
|
145
158
|
ringLat: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
146
159
|
ringLng: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-globe.gl",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"description": "React component for Globe Data Visualization using ThreeJS/WebGL",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dist/**/*"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"globe.gl": "^2.
|
|
48
|
+
"globe.gl": "^2.39",
|
|
49
49
|
"prop-types": "15",
|
|
50
50
|
"react-kapsule": "^2.5"
|
|
51
51
|
},
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@rollup/plugin-terser": "^0.4.4",
|
|
64
64
|
"@types/react": "^19.0.7",
|
|
65
65
|
"rimraf": "^6.0.1",
|
|
66
|
-
"rollup": "^4.
|
|
66
|
+
"rollup": "^4.31.0",
|
|
67
67
|
"rollup-plugin-dts": "^6.1.1",
|
|
68
68
|
"typescript": "^5.7.3"
|
|
69
69
|
},
|