react-globe.gl 2.25.0 → 2.27.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.
@@ -118,7 +118,9 @@ var GlobePropTypes = {
118
118
  hexPolygonAltitude: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
119
119
  hexPolygonResolution: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
120
120
  hexPolygonMargin: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
121
+ hexPolygonUseDots: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.func]),
121
122
  hexPolygonCurvatureResolution: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
123
+ hexPolygonDotResolution: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
122
124
  hexPolygonsTransitionDuration: PropTypes.number,
123
125
  hexPolygonLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
124
126
  onHexPolygonClick: PropTypes.func,
@@ -202,7 +204,7 @@ var GlobePropTypes = {
202
204
  var Globe = fromKapsule(GlobeKapsule, {
203
205
  methodNames: [
204
206
  // bind methods
205
- 'pauseAnimation', 'resumeAnimation', 'pointOfView', 'scene', 'camera', 'renderer', 'postProcessingComposer', 'controls', 'getGlobeRadius', 'getCoords', 'getScreenCoords', 'toGeoCoords', 'toGlobeCoords'],
207
+ 'pauseAnimation', 'resumeAnimation', 'pointOfView', 'lights', 'scene', 'camera', 'renderer', 'postProcessingComposer', 'controls', 'getGlobeRadius', 'getCoords', 'getScreenCoords', 'toGeoCoords', 'toGlobeCoords'],
206
208
  initPropNames: ['animateIn', 'waitForGlobeReady', 'rendererConfig']
207
209
  });
208
210
  Globe.displayName = 'Globe';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-globe.gl",
3
- "version": "2.25.0",
3
+ "version": "2.27.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.30",
48
+ "globe.gl": "^2.32",
49
49
  "prop-types": "15",
50
50
  "react-kapsule": "2"
51
51
  },
@@ -53,18 +53,18 @@
53
53
  "react": "*"
54
54
  },
55
55
  "devDependencies": {
56
- "@babel/core": "^7.23.0",
57
- "@babel/preset-env": "^7.22.20",
56
+ "@babel/core": "^7.23.2",
57
+ "@babel/preset-env": "^7.23.2",
58
58
  "@babel/preset-react": "^7.22.15",
59
- "@rollup/plugin-babel": "^6.0.3",
60
- "@rollup/plugin-commonjs": "^25.0.4",
61
- "@rollup/plugin-node-resolve": "^15.2.1",
62
- "@rollup/plugin-replace": "^5.0.2",
63
- "@rollup/plugin-terser": "^0.4.3",
64
- "@types/react": "^18.2.23",
59
+ "@rollup/plugin-babel": "^6.0.4",
60
+ "@rollup/plugin-commonjs": "^25.0.7",
61
+ "@rollup/plugin-node-resolve": "^15.2.3",
62
+ "@rollup/plugin-replace": "^5.0.4",
63
+ "@rollup/plugin-terser": "^0.4.4",
64
+ "@types/react": "^18.2.29",
65
65
  "rimraf": "^5.0.5",
66
- "rollup": "^3.29.4",
67
- "rollup-plugin-dts": "^6.0.2",
66
+ "rollup": "^4.1.4",
67
+ "rollup-plugin-dts": "^6.1.0",
68
68
  "typescript": "^5.2.2"
69
69
  },
70
70
  "engines": {