react-globe.gl 2.23.4 → 2.24.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/dist/react-globe.gl.mjs
CHANGED
|
@@ -161,6 +161,12 @@ var GlobePropTypes = {
|
|
|
161
161
|
objectLat: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
162
162
|
objectLng: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
163
163
|
objectAltitude: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
164
|
+
objectRotation: PropTypes.oneOfType([PropTypes.shape({
|
|
165
|
+
x: PropTypes.number,
|
|
166
|
+
y: PropTypes.number,
|
|
167
|
+
z: PropTypes.number
|
|
168
|
+
}), PropTypes.string, PropTypes.func]),
|
|
169
|
+
objectFacesSurface: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.func]),
|
|
164
170
|
objectThreeObject: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func]),
|
|
165
171
|
objectLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
|
166
172
|
onObjectClick: PropTypes.func,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-globe.gl",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.24.0",
|
|
4
4
|
"description": "React component for Globe Data Visualization using ThreeJS/WebGL",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"module": "dist/react-globe.gl.mjs",
|
|
10
10
|
"types": "dist/react-globe.gl.d.ts",
|
|
11
11
|
"exports": {
|
|
12
|
+
"types": "./dist/react-globe.gl.d.ts",
|
|
12
13
|
"umd": "./dist/react-globe.gl.min.js",
|
|
13
14
|
"default": "./dist/react-globe.gl.mjs"
|
|
14
15
|
},
|
|
@@ -44,9 +45,9 @@
|
|
|
44
45
|
"dist/**/*"
|
|
45
46
|
],
|
|
46
47
|
"dependencies": {
|
|
47
|
-
"globe.gl": "^2.
|
|
48
|
-
"prop-types": "
|
|
49
|
-
"react-kapsule": "
|
|
48
|
+
"globe.gl": "^2.28",
|
|
49
|
+
"prop-types": "15",
|
|
50
|
+
"react-kapsule": "2"
|
|
50
51
|
},
|
|
51
52
|
"peerDependencies": {
|
|
52
53
|
"react": "*"
|
|
@@ -60,9 +61,9 @@
|
|
|
60
61
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
61
62
|
"@rollup/plugin-replace": "^5.0.2",
|
|
62
63
|
"@rollup/plugin-terser": "^0.4.1",
|
|
63
|
-
"@types/react": "^18.0.
|
|
64
|
+
"@types/react": "^18.0.37",
|
|
64
65
|
"rimraf": "^5.0.0",
|
|
65
|
-
"rollup": "^3.20.
|
|
66
|
+
"rollup": "^3.20.6",
|
|
66
67
|
"rollup-plugin-dts": "^5.3.0",
|
|
67
68
|
"typescript": "^5.0.4"
|
|
68
69
|
},
|