@undp/data-viz 1.2.6 → 1.2.8

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/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { default as default_2 } from 'react';
2
2
  import { JSX } from 'react/jsx-runtime';
3
3
  import { JSX as JSX_2 } from 'react';
4
+ import * as THREE from 'three';
4
5
 
5
6
  declare interface AdvancedDataSelectionDataType {
6
7
  label?: string;
@@ -4219,6 +4220,8 @@ declare interface GraphSettingsDataType {
4219
4220
  lineAxisTitle?: string;
4220
4221
  timeline?: TimelineDataType;
4221
4222
  naLabel?: string;
4223
+ globeOffset?: [number, number];
4224
+ polygonAltitude?: number;
4222
4225
  }
4223
4226
 
4224
4227
  export declare function GraphTitle(props: Props_59): JSX.Element | null;
@@ -5264,7 +5267,7 @@ declare interface Props_16 {
5264
5267
  /** Defines if the globe rotates automatically */
5265
5268
  autoRotate?: number | boolean;
5266
5269
  /** Defines the material property applied to the sphere of the globe */
5267
- globeMaterial?: MaterialDataType;
5270
+ globeMaterial?: THREE.MeshPhongMaterialProperties;
5268
5271
  /** Defines the colo of the glow around the globe */
5269
5272
  atmosphereColor?: string;
5270
5273
  /** Defines if the globe can be zoomed when scrolled */
@@ -5272,7 +5275,7 @@ declare interface Props_16 {
5272
5275
  /** Position offset of the globe relative to the canvas center */
5273
5276
  globeOffset?: [number, number];
5274
5277
  /** Defines the camera distance from Earth. This helps in defining the default size of the globe. Smaller = closer camera therefore the globe is bigger) */
5275
- altitude?: number;
5278
+ scale?: number;
5276
5279
  /** Defines the spacing between the country shape polygon with the sphere */
5277
5280
  polygonAltitude?: number;
5278
5281
  /** Scale for the colors */