react-globe.gl 2.31.3 → 2.33.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.
@@ -5,6 +5,7 @@ import PropTypes from 'prop-types';
5
5
  var GlobePropTypes = {
6
6
  width: PropTypes.number,
7
7
  height: PropTypes.number,
8
+ globeOffset: PropTypes.arrayOf(PropTypes.number),
8
9
  backgroundColor: PropTypes.string,
9
10
  backgroundImageUrl: PropTypes.string,
10
11
  globeImageUrl: PropTypes.string,
@@ -186,6 +187,7 @@ var GlobePropTypes = {
186
187
  htmlLng: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
187
188
  htmlAltitude: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
188
189
  htmlElement: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
190
+ htmlElementVisibilityModifier: PropTypes.func,
189
191
  htmlTransitionDuration: PropTypes.number,
190
192
  objectsData: PropTypes.arrayOf(PropTypes.object),
191
193
  objectLat: 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.31.3",
3
+ "version": "2.33.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.39",
48
+ "globe.gl": "^2.41",
49
49
  "prop-types": "15",
50
50
  "react-kapsule": "^2.5"
51
51
  },
@@ -53,19 +53,19 @@
53
53
  "react": "*"
54
54
  },
55
55
  "devDependencies": {
56
- "@babel/core": "^7.26.7",
57
- "@babel/preset-env": "^7.26.7",
56
+ "@babel/core": "^7.26.9",
57
+ "@babel/preset-env": "^7.26.9",
58
58
  "@babel/preset-react": "^7.26.3",
59
59
  "@rollup/plugin-babel": "^6.0.4",
60
60
  "@rollup/plugin-commonjs": "^28.0.2",
61
61
  "@rollup/plugin-node-resolve": "^16.0.0",
62
62
  "@rollup/plugin-replace": "^6.0.2",
63
63
  "@rollup/plugin-terser": "^0.4.4",
64
- "@types/react": "^19.0.8",
64
+ "@types/react": "^19.0.10",
65
65
  "rimraf": "^6.0.1",
66
- "rollup": "^4.34.0",
66
+ "rollup": "^4.34.9",
67
67
  "rollup-plugin-dts": "^6.1.1",
68
- "typescript": "^5.7.3"
68
+ "typescript": "^5.8.2"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=12"