@undp/data-viz 2.0.5 → 2.0.7

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.
Files changed (70) hide show
  1. package/dist/BulletChart.cjs +1 -1
  2. package/dist/BulletChart.cjs.map +1 -1
  3. package/dist/BulletChart.d.ts +2 -0
  4. package/dist/BulletChart.js +515 -508
  5. package/dist/BulletChart.js.map +1 -1
  6. package/dist/ChoroplethMap.cjs +1 -1
  7. package/dist/ChoroplethMap.cjs.map +1 -1
  8. package/dist/ChoroplethMap.js +68 -68
  9. package/dist/ChoroplethMap.js.map +1 -1
  10. package/dist/GraphEl-BcKU0bG1.cjs +2 -0
  11. package/dist/GraphEl-BcKU0bG1.cjs.map +1 -0
  12. package/dist/{GraphEl-VtiYqELy.js → GraphEl-CGq1EWRn.js} +70 -8
  13. package/dist/GraphEl-CGq1EWRn.js.map +1 -0
  14. package/dist/GriddedGraphs.cjs +1 -1
  15. package/dist/GriddedGraphs.d.ts +6 -1
  16. package/dist/GriddedGraphs.js +2 -2
  17. package/dist/GriddedGraphsFromConfig.d.ts +6 -1
  18. package/dist/HybridMap.cjs +2 -0
  19. package/dist/HybridMap.cjs.map +1 -0
  20. package/dist/HybridMap.d.ts +211 -0
  21. package/dist/HybridMap.js +599 -0
  22. package/dist/HybridMap.js.map +1 -0
  23. package/dist/MultiGraphDashboard.d.ts +6 -1
  24. package/dist/MultiGraphDashboardFromConfig.d.ts +6 -1
  25. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +6 -1
  26. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +6 -1
  27. package/dist/PerformanceIntensiveScrollStory.d.ts +6 -1
  28. package/dist/ScrollStory.d.ts +6 -1
  29. package/dist/SingleGraphDashboard.cjs +1 -1
  30. package/dist/SingleGraphDashboard.d.ts +6 -1
  31. package/dist/SingleGraphDashboard.js +2 -2
  32. package/dist/SingleGraphDashboardFromConfig.d.ts +6 -1
  33. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +5 -0
  34. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +5 -0
  35. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  36. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +5 -0
  37. package/dist/SingleGraphDashboardThreeDGraphs.js +1 -1
  38. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +5 -0
  39. package/dist/ThreeDGlobe.cjs.map +1 -1
  40. package/dist/ThreeDGlobe.d.ts +1 -1
  41. package/dist/ThreeDGlobe.js.map +1 -1
  42. package/dist/Types.d.ts +17 -1
  43. package/dist/getSchema.cjs +1 -1
  44. package/dist/getSchema.cjs.map +1 -1
  45. package/dist/getSchema.d.ts +3 -3
  46. package/dist/getSchema.js +4 -0
  47. package/dist/getSchema.js.map +1 -1
  48. package/dist/index.cjs +1 -1
  49. package/dist/index.d.ts +356 -221
  50. package/dist/index.js +163 -161
  51. package/dist/index.js.map +1 -1
  52. package/dist/transformData.cjs +1 -1
  53. package/dist/transformData.d.ts +1 -1
  54. package/dist/transformData.js +2 -2
  55. package/dist/{transformDataForAggregation-CE3bAlHU.js → transformDataForAggregation-CjwEAUOR.js} +62 -31
  56. package/dist/transformDataForAggregation-CjwEAUOR.js.map +1 -0
  57. package/dist/transformDataForAggregation-DAGK2BZy.cjs +2 -0
  58. package/dist/transformDataForAggregation-DAGK2BZy.cjs.map +1 -0
  59. package/dist/{transformDataForGraphFromFile-DaJHQCsL.cjs → transformDataForGraphFromFile-B1zJSPRP.cjs} +2 -2
  60. package/dist/{transformDataForGraphFromFile-DaJHQCsL.cjs.map → transformDataForGraphFromFile-B1zJSPRP.cjs.map} +1 -1
  61. package/dist/{transformDataForGraphFromFile-BExxcITV.js → transformDataForGraphFromFile-D5TMQYYd.js} +2 -2
  62. package/dist/{transformDataForGraphFromFile-BExxcITV.js.map → transformDataForGraphFromFile-D5TMQYYd.js.map} +1 -1
  63. package/dist/validateSchema.d.ts +1 -1
  64. package/package.json +6 -1
  65. package/dist/GraphEl-D5RBCD7p.cjs +0 -2
  66. package/dist/GraphEl-D5RBCD7p.cjs.map +0 -1
  67. package/dist/GraphEl-VtiYqELy.js.map +0 -1
  68. package/dist/transformDataForAggregation-CE3bAlHU.js.map +0 -1
  69. package/dist/transformDataForAggregation-KXGm6flX.cjs +0 -2
  70. package/dist/transformDataForAggregation-KXGm6flX.cjs.map +0 -1
package/dist/index.d.ts CHANGED
@@ -68,7 +68,7 @@ declare interface AnnotationSettingsDataType {
68
68
  };
69
69
  }
70
70
 
71
- export declare function AreaChart(props: Props_23): JSX.Element;
71
+ export declare function AreaChart(props: Props_24): JSX.Element;
72
72
 
73
73
  declare interface AreaChartDataType {
74
74
  date: number | string;
@@ -104,7 +104,7 @@ declare interface BaseLightConfig {
104
104
  intensity: number;
105
105
  }
106
106
 
107
- export declare function BasicStatCard(props: Props_24): JSX.Element;
107
+ export declare function BasicStatCard(props: Props_25): JSX.Element;
108
108
 
109
109
  export declare function BeeSwarmChart(props: Props_5): JSX.Element;
110
110
 
@@ -126,7 +126,7 @@ declare interface BivariateMapDataType {
126
126
  data?: object;
127
127
  }
128
128
 
129
- export declare function BulletChart(props: Props_22): JSX.Element;
129
+ export declare function BulletChart(props: Props_23): JSX.Element;
130
130
 
131
131
  declare interface BulletChartDataType {
132
132
  label: string | number;
@@ -136,7 +136,7 @@ declare interface BulletChartDataType {
136
136
  data?: object;
137
137
  }
138
138
 
139
- export declare function ButterflyChart(props: Props_33): JSX.Element;
139
+ export declare function ButterflyChart(props: Props_34): JSX.Element;
140
140
 
141
141
  declare interface ButterflyChartDataType {
142
142
  label: string | number;
@@ -197,9 +197,9 @@ declare interface ClassNameObject {
197
197
  colorLegend?: string;
198
198
  }
199
199
 
200
- export declare function ColorLegend(props: Props_58): JSX.Element;
200
+ export declare function ColorLegend(props: Props_59): JSX.Element;
201
201
 
202
- export declare function ColorLegendWithMouseOver(props: Props_59): JSX.Element;
202
+ export declare function ColorLegendWithMouseOver(props: Props_60): JSX.Element;
203
203
 
204
204
  export declare const Colors: {
205
205
  gray: string;
@@ -514,9 +514,9 @@ declare interface ConfigObject_7 {
514
514
  theme?: 'dark' | 'light';
515
515
  }
516
516
 
517
- export declare function CopyTextButton(props: Props_57): JSX.Element;
517
+ export declare function CopyTextButton(props: Props_58): JSX.Element;
518
518
 
519
- export declare function CsvDownloadButton(props: Props_56): JSX.Element;
519
+ export declare function CsvDownloadButton(props: Props_57): JSX.Element;
520
520
 
521
521
  declare type CurveTypes = 'linear' | 'curve' | 'step' | 'stepAfter' | 'stepBefore';
522
522
 
@@ -597,7 +597,7 @@ declare interface DashboardLayoutDataWithoutRowsType {
597
597
  language?: Languages;
598
598
  }
599
599
 
600
- export declare function DataCards(props: Props_30): JSX.Element;
600
+ export declare function DataCards(props: Props_31): JSX.Element;
601
601
 
602
602
  declare interface DataFilterDataType {
603
603
  column: string;
@@ -639,7 +639,7 @@ declare interface DataSettingsWideToLongDataType {
639
639
  apiHeaders?: any;
640
640
  }
641
641
 
642
- export declare function DataTable(props: Props_29): JSX.Element;
642
+ export declare function DataTable(props: Props_30): JSX.Element;
643
643
 
644
644
  declare interface DataTableColumnDataType {
645
645
  columnTitle?: string;
@@ -740,7 +740,7 @@ export declare const excelDownload: (csvData: any, fileName: string, headers: st
740
740
  [key: string]: string;
741
741
  }, wscols: WsColInterface_2[]) => void;
742
742
 
743
- export declare function ExcelDownloadButton(props: Props_53): JSX.Element;
743
+ export declare function ExcelDownloadButton(props: Props_54): JSX.Element;
744
744
 
745
745
  /**
746
746
  * Fetches a CSV file from a URL, parses it, and applies transformations based on the provided configuration.
@@ -845,7 +845,7 @@ declare interface FogDataType {
845
845
  far: number;
846
846
  }
847
847
 
848
- export declare function FootNote(props: Props_64): JSX.Element | null;
848
+ export declare function FootNote(props: Props_65): JSX.Element | null;
849
849
 
850
850
  /**
851
851
  * Generates an embed link with custom query parameters.
@@ -864,15 +864,15 @@ export declare function generateEmbedLink(link: string, params: ParamsProps[]):
864
864
  export declare function generateIframeCode(link: string, params: ParamsProps[]): string;
865
865
 
866
866
  /** For using these maps you will have to install [`maplibre`](https://maplibre.org/maplibre-gl-js/docs/#npm), [pmtiles](https://www.npmjs.com/package/pmtiles), [dnd-kit/core](https://www.npmjs.com/package/@dnd-kit/core), and [dnd-kit/modifier](https://www.npmjs.com/package/@dnd-kit/modifiers) package to your project */
867
- export declare function GeoHubCompareMaps(props: Props_18): JSX.Element;
867
+ export declare function GeoHubCompareMaps(props: Props_19): JSX.Element;
868
868
 
869
869
  export declare type GeoHubGraphType = 'geoHubCompareMap' | 'geoHubMap' | 'geoHubMapWithLayerSelection';
870
870
 
871
871
  /** For using these maps you will have to install [`maplibre`](https://maplibre.org/maplibre-gl-js/docs/#npm) and [pmtiles](https://www.npmjs.com/package/pmtiles) package to your project */
872
- export declare function GeoHubMap(props: Props_17): JSX.Element;
872
+ export declare function GeoHubMap(props: Props_18): JSX.Element;
873
873
 
874
874
  /** For using these maps you will have to install [`maplibre`](https://maplibre.org/maplibre-gl-js/docs/#npm) and [pmtiles](https://www.npmjs.com/package/pmtiles) package to your project */
875
- export declare function GeoHubMapWithLayerSelection(props: Props_19): JSX.Element;
875
+ export declare function GeoHubMapWithLayerSelection(props: Props_20): JSX.Element;
876
876
 
877
877
  export declare function getCentroidCoordinates(multiPolygonFeature: Feature<Polygon | MultiPolygon, GeoJsonProperties>, centerLargestPolygon?: boolean): Position_2;
878
878
 
@@ -4055,11 +4055,11 @@ declare interface GraphConfigurationDataType {
4055
4055
  chartConfigId: string;
4056
4056
  }
4057
4057
 
4058
- export declare function GraphDescription(props: Props_65): JSX.Element | null;
4058
+ export declare function GraphDescription(props: Props_66): JSX.Element | null;
4059
4059
 
4060
- export declare function GraphFooter(props: Props_62): JSX.Element | null;
4060
+ export declare function GraphFooter(props: Props_63): JSX.Element | null;
4061
4061
 
4062
- export declare function GraphHeader(props: Props_63): JSX.Element;
4062
+ export declare function GraphHeader(props: Props_64): JSX.Element;
4063
4063
 
4064
4064
  export declare const graphList: {
4065
4065
  graphName: string;
@@ -4317,17 +4317,22 @@ declare interface GraphSettingsDataType {
4317
4317
  highlightedAltitude?: number;
4318
4318
  selectedId?: string;
4319
4319
  collapseColorScaleByDefault?: boolean;
4320
+ dotLegendTitle?: string;
4321
+ dotColor?: string;
4322
+ dotBorderColor?: string;
4323
+ mapColorLegendTitle?: string;
4324
+ choroplethScaleType?: Exclude<ScaleDataType, 'linear'>;
4320
4325
  }
4321
4326
 
4322
- export declare function GraphTitle(props: Props_66): JSX.Element | null;
4327
+ export declare function GraphTitle(props: Props_67): JSX.Element | null;
4323
4328
 
4324
4329
  export declare type GraphType = GraphTypeForGriddedGraph;
4325
4330
 
4326
- export declare type GraphTypeForGriddedGraph = 'barChart' | 'stackedBarChart' | 'groupedBarChart' | 'lineChart' | 'dualAxisLineChart' | 'multiLineChart' | 'multiLineAltChart' | 'differenceLineChart' | 'stackedAreaChart' | 'choroplethMap' | 'biVariateChoroplethMap' | 'dotDensityMap' | 'donutChart' | 'slopeChart' | 'scatterPlot' | 'dumbbellChart' | 'treeMap' | 'circlePacking' | 'heatMap' | 'stripChart' | 'beeSwarmChart' | 'butterflyChart' | 'histogram' | 'sparkLine' | 'paretoChart' | 'dataTable' | 'statCard' | 'unitChart' | 'sankeyChart' | 'lineChartWithConfidenceInterval' | 'dataCards' | 'radarChart' | 'bulletChart';
4331
+ export declare type GraphTypeForGriddedGraph = 'barChart' | 'stackedBarChart' | 'groupedBarChart' | 'lineChart' | 'dualAxisLineChart' | 'multiLineChart' | 'multiLineAltChart' | 'differenceLineChart' | 'stackedAreaChart' | 'choroplethMap' | 'biVariateChoroplethMap' | 'hybridMap' | 'dotDensityMap' | 'donutChart' | 'slopeChart' | 'scatterPlot' | 'dumbbellChart' | 'treeMap' | 'circlePacking' | 'heatMap' | 'stripChart' | 'beeSwarmChart' | 'butterflyChart' | 'histogram' | 'sparkLine' | 'paretoChart' | 'dataTable' | 'statCard' | 'unitChart' | 'sankeyChart' | 'lineChartWithConfidenceInterval' | 'dataCards' | 'radarChart' | 'bulletChart';
4327
4332
 
4328
- export declare function GriddedGraphs(props: Props_43): JSX.Element;
4333
+ export declare function GriddedGraphs(props: Props_44): JSX.Element;
4329
4334
 
4330
- export declare function GriddedGraphsFromConfig(props: Props_52): JSX.Element;
4335
+ export declare function GriddedGraphsFromConfig(props: Props_53): JSX.Element;
4331
4336
 
4332
4337
  declare interface GroupedBarChartProps {
4333
4338
  /** Array of data objects */
@@ -4458,7 +4463,7 @@ declare interface HeaderProps {
4458
4463
  key: string;
4459
4464
  }
4460
4465
 
4461
- export declare function HeatMap(props: Props_28): JSX.Element;
4466
+ export declare function HeatMap(props: Props_29): JSX.Element;
4462
4467
 
4463
4468
  declare interface HeatMapDataType {
4464
4469
  row: string;
@@ -4491,13 +4496,26 @@ declare type HighlightDataPointSettingsDataType = {
4491
4496
  width?: string;
4492
4497
  };
4493
4498
 
4494
- export declare function Histogram(props: Props_34): JSX.Element;
4499
+ export declare function Histogram(props: Props_35): JSX.Element;
4495
4500
 
4496
4501
  declare interface HistogramDataType {
4497
4502
  value: number;
4498
4503
  data?: object;
4499
4504
  }
4500
4505
 
4506
+ export declare function HybridMap(props: Props_16): JSX.Element;
4507
+
4508
+ declare interface HybridMapDataType {
4509
+ lat?: number;
4510
+ long?: number;
4511
+ x?: number | string | null;
4512
+ id?: string;
4513
+ radius?: number;
4514
+ label?: string | number;
4515
+ date?: string | number;
4516
+ data?: object;
4517
+ }
4518
+
4501
4519
  /**
4502
4520
  * Downloads an image of a specified HTML element as a PNG file.
4503
4521
  *
@@ -4513,7 +4531,7 @@ declare interface HistogramDataType {
4513
4531
  */
4514
4532
  export declare function imageDownload(node: HTMLElement, filename: string): void;
4515
4533
 
4516
- export declare function ImageDownloadButton(props: Props_54): JSX.Element;
4534
+ export declare function ImageDownloadButton(props: Props_55): JSX.Element;
4517
4535
 
4518
4536
  declare interface InfoBoxDataType {
4519
4537
  title?: string | React.ReactNode;
@@ -4524,7 +4542,7 @@ declare type Languages = 'en' | 'ar' | 'az' | 'bn' | 'cy' | 'he' | 'hi' | 'jp' |
4524
4542
 
4525
4543
  declare type LightConfig = AmbientLightConfig | DirectionalLightConfig | PointLightConfig | SpotLightConfig;
4526
4544
 
4527
- export declare function LinearColorLegend(props: Props_60): JSX.Element;
4545
+ export declare function LinearColorLegend(props: Props_61): JSX.Element;
4528
4546
 
4529
4547
  declare interface LineChartDataType {
4530
4548
  date: number | string;
@@ -4549,13 +4567,13 @@ declare interface MapLegendDataType {
4549
4567
 
4550
4568
  declare type MapProjectionTypes = 'mercator' | 'equalEarth' | 'naturalEarth' | 'orthographic' | 'albersUSA';
4551
4569
 
4552
- export declare function MultiGraphDashboard(props: Props_37): JSX.Element;
4570
+ export declare function MultiGraphDashboard(props: Props_38): JSX.Element;
4553
4571
 
4554
- export declare function MultiGraphDashboardFromConfig(props: Props_46): JSX.Element;
4572
+ export declare function MultiGraphDashboardFromConfig(props: Props_47): JSX.Element;
4555
4573
 
4556
- export declare function MultiGraphDashboardWideToLongFormat(props: Props_39): JSX.Element;
4574
+ export declare function MultiGraphDashboardWideToLongFormat(props: Props_40): JSX.Element;
4557
4575
 
4558
- export declare function MultiGraphDashboardWideToLongFormatFromConfig(props: Props_48): JSX.Element;
4576
+ export declare function MultiGraphDashboardWideToLongFormatFromConfig(props: Props_49): JSX.Element;
4559
4577
 
4560
4578
  export declare function MultiLineAltChart(props: Props_10): JSX.Element;
4561
4579
 
@@ -4604,7 +4622,7 @@ declare interface ParamsProps {
4604
4622
  value: string | boolean | number | string[] | number[];
4605
4623
  }
4606
4624
 
4607
- export declare function ParetoChart(props: Props_32): JSX.Element;
4625
+ export declare function ParetoChart(props: Props_33): JSX.Element;
4608
4626
 
4609
4627
  declare interface ParetoChartDataType {
4610
4628
  label: number | string;
@@ -4632,12 +4650,12 @@ declare interface PerformanceIntensiveDashboardLayoutDataType extends DashboardL
4632
4650
  }[];
4633
4651
  }
4634
4652
 
4635
- export declare function PerformanceIntensiveMultiGraphDashboard(props: Props_38): JSX.Element;
4653
+ export declare function PerformanceIntensiveMultiGraphDashboard(props: Props_39): JSX.Element;
4636
4654
 
4637
- export declare function PerformanceIntensiveMultiGraphDashboardFromConfig(props: Props_47): JSX.Element;
4655
+ export declare function PerformanceIntensiveMultiGraphDashboardFromConfig(props: Props_48): JSX.Element;
4638
4656
 
4639
4657
  /** ScrollStory is a scrollytelling container component that reveals content step-by-step as the user scrolls through the page. */
4640
- export declare function PerformanceIntensiveScrollStory(props: Props_45): JSX.Element;
4658
+ export declare function PerformanceIntensiveScrollStory(props: Props_46): JSX.Element;
4641
4659
 
4642
4660
  declare interface PointLightConfig extends BaseLightConfig {
4643
4661
  type: 'point';
@@ -5360,6 +5378,121 @@ declare interface Props_15 {
5360
5378
  }
5361
5379
 
5362
5380
  declare interface Props_16 {
5381
+ /** Array of data objects for dot density map*/
5382
+ data: HybridMapDataType[];
5383
+ /** Title of the graph */
5384
+ graphTitle?: string | React.ReactNode;
5385
+ /** Description of the graph */
5386
+ graphDescription?: string | React.ReactNode;
5387
+ /** Footnote for the graph */
5388
+ footNote?: string | React.ReactNode;
5389
+ /** Source data for the graph */
5390
+ sources?: SourcesDataType[];
5391
+ /** Accessibility label */
5392
+ ariaLabel?: string;
5393
+ /** Color or array of colors for the circle */
5394
+ colors?: string[];
5395
+ /** Domain of colors for the graph for the choropleth map */
5396
+ colorDomain?: number[] | string[];
5397
+ /** Title for the legend for the dot density scale */
5398
+ dotLegendTitle?: string;
5399
+ /** Title for the color legend for the color scale */
5400
+ mapColorLegendTitle?: string;
5401
+ /** Color for the areas where data is no available */
5402
+ mapNoDataColor?: string;
5403
+ /** Background color of the graph */
5404
+ backgroundColor?: string | boolean;
5405
+ /** Custom styles for the graph. Each object should be a valid React CSS style object. */
5406
+ styles?: StyleObject;
5407
+ /** Custom class names */
5408
+ classNames?: ClassNameObject;
5409
+ /** Width of the graph */
5410
+ width?: number;
5411
+ /** Height of the graph */
5412
+ height?: number;
5413
+ /** Minimum height of the graph */
5414
+ minHeight?: number;
5415
+ /** Relative height scaling factor. This overwrites the height props */
5416
+ relativeHeight?: number;
5417
+ /** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
5418
+ padding?: string;
5419
+ /** Maximum radius of the circle */
5420
+ radius?: number;
5421
+ /** Map data as an object in geoJson format or a url for geoJson */
5422
+ mapData?: any;
5423
+ /** Scaling factor for the map. Multiplies the scale number to scale. */
5424
+ scale?: number;
5425
+ /** Center point of the map */
5426
+ centerPoint?: [number, number];
5427
+ /** Defines the zoom mode for the map */
5428
+ zoomInteraction?: ZoomInteractionTypes;
5429
+ /** Stroke width of the regions in the map */
5430
+ mapBorderWidth?: number;
5431
+ /** Stroke color of the regions in the map */
5432
+ mapBorderColor?: string;
5433
+ /** Color of the dots in the dot density map */
5434
+ dotColor?: string;
5435
+ /** Border color of the dots in the dot density map */
5436
+ dotBorderColor?: string;
5437
+ /** Color of the labels */
5438
+ labelColor?: string;
5439
+ /** Toggle if the map is a world map */
5440
+ isWorldMap?: boolean;
5441
+ /** Scale for the colors of the choropleth map */
5442
+ choroplethScaleType?: Exclude<ScaleDataType, 'linear'>;
5443
+ /** Map projection type */
5444
+ mapProjection?: MapProjectionTypes;
5445
+ /** Extend of the allowed zoom in the map */
5446
+ zoomScaleExtend?: [number, number];
5447
+ /** Extend of the allowed panning in the map */
5448
+ zoomTranslateExtend?: [[number, number], [number, number]];
5449
+ /** Toggle visibility of labels */
5450
+ showLabels?: boolean;
5451
+ /** Maximum value mapped to the radius chart */
5452
+ maxRadiusValue?: number;
5453
+ /** Countries or regions to be highlighted */
5454
+ highlightedIds?: string[];
5455
+ /** Data points to highlight. Use the label value from data to highlight the data point */
5456
+ highlightedDataPoints?: (string | number)[];
5457
+ /** Defines the opacity of the non-highlighted data */
5458
+ dimmedOpacity?: number;
5459
+ /** Toggles if the graph animates in when loaded. */
5460
+ animate?: boolean | AnimateDataType;
5461
+ /** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */
5462
+ showColorScale?: boolean;
5463
+ /** Toggle if color scale is collapsed by default. */
5464
+ collapseColorScaleByDefault?: boolean;
5465
+ /** Toggles the visibility of Antarctica in the default map. Only applicable for the default map. */
5466
+ showAntarctica?: boolean;
5467
+ /** Optional SVG <g> element or function that renders custom content behind or in front of the graph. */
5468
+ customLayers?: CustomLayerDataType[];
5469
+ /** Property in the property object in mapData geoJson object is used to match to the id in the data object */
5470
+ mapProperty?: string;
5471
+ /** Configures playback and slider controls for animating the chart over time. The data must have a key date for it to work properly. */
5472
+ timeline?: TimelineDataType;
5473
+ /** Enable graph download option as png */
5474
+ graphDownload?: boolean;
5475
+ /** Enable data download option as a csv */
5476
+ dataDownload?: boolean;
5477
+ /** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
5478
+ resetSelectionOnDoubleClick?: boolean;
5479
+ /** Tooltip content. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */
5480
+ tooltip?: string | ((_d: any) => React.ReactNode);
5481
+ /** Details displayed on the modal when user clicks of a data point. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */
5482
+ detailsOnClick?: string | ((_d: any) => React.ReactNode);
5483
+ /** Callback for mouse over event */
5484
+ onSeriesMouseOver?: (_d: any) => void;
5485
+ /** Callback for mouse click event */
5486
+ onSeriesMouseClick?: (_d: any) => void;
5487
+ /** Language setting */
5488
+ language?: Languages;
5489
+ /** Color theme */
5490
+ theme?: 'light' | 'dark';
5491
+ /** Unique ID for the graph */
5492
+ graphID?: string;
5493
+ }
5494
+
5495
+ declare interface Props_17 {
5363
5496
  /** Array of data objects */
5364
5497
  data: ChoroplethMapDataType[];
5365
5498
  /** Title of the graph */
@@ -5372,7 +5505,7 @@ declare interface Props_16 {
5372
5505
  sources?: SourcesDataType[];
5373
5506
  /** Accessibility label */
5374
5507
  ariaLabel?: string;
5375
- /** Colors for the choropleth map */
5508
+ /** Colors for the choropleth map. Make sure the the colors are in hex code, any other format can cause issues. */
5376
5509
  colors?: string[];
5377
5510
  /** Domain of colors for the graph */
5378
5511
  colorDomain?: number[] | string[];
@@ -5460,7 +5593,7 @@ declare interface Props_16 {
5460
5593
  graphID?: string;
5461
5594
  }
5462
5595
 
5463
- declare interface Props_17 {
5596
+ declare interface Props_18 {
5464
5597
  /** Title of the graph */
5465
5598
  graphTitle?: string | default_2.ReactNode;
5466
5599
  /** Description of the graph */
@@ -5512,7 +5645,7 @@ declare interface Props_17 {
5512
5645
  graphID?: string;
5513
5646
  }
5514
5647
 
5515
- declare interface Props_18 {
5648
+ declare interface Props_19 {
5516
5649
  /** Title of the graph */
5517
5650
  graphTitle?: string | React.ReactNode;
5518
5651
  /** Description of the graph */
@@ -5555,58 +5688,6 @@ declare interface Props_18 {
5555
5688
  graphID?: string;
5556
5689
  }
5557
5690
 
5558
- declare interface Props_19 {
5559
- /** Title of the graph */
5560
- graphTitle?: string | React.ReactNode;
5561
- /** Description of the graph */
5562
- graphDescription?: string | React.ReactNode;
5563
- /** Footnote for the graph */
5564
- footNote?: string | React.ReactNode;
5565
- /** Source data for the graph */
5566
- sources?: SourcesDataType[];
5567
- /** Accessibility label */
5568
- ariaLabel?: string;
5569
- /** Background color of the graph */
5570
- backgroundColor?: string | boolean;
5571
- /** Custom styles for the graph. Each object should be a valid React CSS style object. */
5572
- styles?: StyleObject;
5573
- /** Custom class names */
5574
- classNames?: ClassNameObject;
5575
- /** Width of the graph */
5576
- width?: number;
5577
- /** Height of the graph */
5578
- height?: number;
5579
- /** Minimum height of the graph */
5580
- minHeight?: number;
5581
- /** Relative height scaling factor. This overwrites the height props */
5582
- relativeHeight?: number;
5583
- /** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
5584
- padding?: string;
5585
- /** URL for mapStyle JSON */
5586
- mapStyle: string;
5587
- /** Starting center point of the map */
5588
- center?: [number, number];
5589
- /** Starting zoom level of the map */
5590
- zoomLevel?: number;
5591
- /** List of the layers that the user select and switch between sing a drop down */
5592
- layerSelection: {
5593
- layerID: string[];
5594
- name: string;
5595
- }[];
5596
- /** Defines the legend for the map. mapLegend is of type { mapStyleName: string; legend: string | React.ReactNode }[] where mapStyleName corresponds to the each name in the layerSelection. */
5597
- mapLegend?: MapLegendDataType[];
5598
- /** List of layer IDs to be excluded from the visualization */
5599
- excludeLayers?: string[];
5600
- /** Language setting */
5601
- language?: Languages;
5602
- /** Color theme */
5603
- theme?: 'light' | 'dark';
5604
- /** Theme for the UI elements */
5605
- uiMode?: 'light' | 'normal';
5606
- /** Unique ID for the graph */
5607
- graphID?: string;
5608
- }
5609
-
5610
5691
  declare interface Props_2 {
5611
5692
  /** Array of data objects */
5612
5693
  data: TreeMapDataType[];
@@ -5695,6 +5776,58 @@ declare interface Props_2 {
5695
5776
  }
5696
5777
 
5697
5778
  declare interface Props_20 {
5779
+ /** Title of the graph */
5780
+ graphTitle?: string | React.ReactNode;
5781
+ /** Description of the graph */
5782
+ graphDescription?: string | React.ReactNode;
5783
+ /** Footnote for the graph */
5784
+ footNote?: string | React.ReactNode;
5785
+ /** Source data for the graph */
5786
+ sources?: SourcesDataType[];
5787
+ /** Accessibility label */
5788
+ ariaLabel?: string;
5789
+ /** Background color of the graph */
5790
+ backgroundColor?: string | boolean;
5791
+ /** Custom styles for the graph. Each object should be a valid React CSS style object. */
5792
+ styles?: StyleObject;
5793
+ /** Custom class names */
5794
+ classNames?: ClassNameObject;
5795
+ /** Width of the graph */
5796
+ width?: number;
5797
+ /** Height of the graph */
5798
+ height?: number;
5799
+ /** Minimum height of the graph */
5800
+ minHeight?: number;
5801
+ /** Relative height scaling factor. This overwrites the height props */
5802
+ relativeHeight?: number;
5803
+ /** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
5804
+ padding?: string;
5805
+ /** URL for mapStyle JSON */
5806
+ mapStyle: string;
5807
+ /** Starting center point of the map */
5808
+ center?: [number, number];
5809
+ /** Starting zoom level of the map */
5810
+ zoomLevel?: number;
5811
+ /** List of the layers that the user select and switch between sing a drop down */
5812
+ layerSelection: {
5813
+ layerID: string[];
5814
+ name: string;
5815
+ }[];
5816
+ /** Defines the legend for the map. mapLegend is of type { mapStyleName: string; legend: string | React.ReactNode }[] where mapStyleName corresponds to the each name in the layerSelection. */
5817
+ mapLegend?: MapLegendDataType[];
5818
+ /** List of layer IDs to be excluded from the visualization */
5819
+ excludeLayers?: string[];
5820
+ /** Language setting */
5821
+ language?: Languages;
5822
+ /** Color theme */
5823
+ theme?: 'light' | 'dark';
5824
+ /** Theme for the UI elements */
5825
+ uiMode?: 'light' | 'normal';
5826
+ /** Unique ID for the graph */
5827
+ graphID?: string;
5828
+ }
5829
+
5830
+ declare interface Props_21 {
5698
5831
  /** Array of data objects */
5699
5832
  data: ScatterPlotDataType[];
5700
5833
  /** Title of the graph */
@@ -5819,7 +5952,7 @@ declare interface Props_20 {
5819
5952
  graphID?: string;
5820
5953
  }
5821
5954
 
5822
- declare interface Props_21 {
5955
+ declare interface Props_22 {
5823
5956
  /** Array of data objects */
5824
5957
  data: SlopeChartDataType[];
5825
5958
  /** Title of the graph */
@@ -5908,7 +6041,7 @@ declare interface Props_21 {
5908
6041
  graphID?: string;
5909
6042
  }
5910
6043
 
5911
- declare interface Props_22 {
6044
+ declare interface Props_23 {
5912
6045
  /** Array of data objects */
5913
6046
  data: BulletChartDataType[];
5914
6047
  /** Orientation of the graph */
@@ -5987,6 +6120,8 @@ declare interface Props_22 {
5987
6120
  targetStyle?: 'background' | 'line';
5988
6121
  /** Defines the color of the target bar */
5989
6122
  targetColor?: string;
6123
+ /** Defines the thickness if the target is of style line */
6124
+ targetLineThickness?: number;
5990
6125
  /** Defines the width of the measure bar in relation with available width */
5991
6126
  measureBarWidthFactor?: number;
5992
6127
  /** Custom order for labels */
@@ -6035,7 +6170,7 @@ declare interface Props_22 {
6035
6170
  graphID?: string;
6036
6171
  }
6037
6172
 
6038
- declare interface Props_23 {
6173
+ declare interface Props_24 {
6039
6174
  /** Array of data objects */
6040
6175
  data: AreaChartDataType[];
6041
6176
  /** Title of the graph */
@@ -6128,7 +6263,7 @@ declare interface Props_23 {
6128
6263
  graphID?: string;
6129
6264
  }
6130
6265
 
6131
- declare interface Props_24 {
6266
+ declare interface Props_25 {
6132
6267
  /** Title of the graph */
6133
6268
  graphTitle?: string | React.ReactNode;
6134
6269
  /** Description of the graph */
@@ -6175,7 +6310,7 @@ declare interface Props_24 {
6175
6310
  graphID?: string;
6176
6311
  }
6177
6312
 
6178
- declare interface Props_25 {
6313
+ declare interface Props_26 {
6179
6314
  /** Array of data objects */
6180
6315
  data: StatCardsFromDataSheetDataType[];
6181
6316
  /** Title of the graph */
@@ -6226,7 +6361,7 @@ declare interface Props_25 {
6226
6361
  graphID?: string;
6227
6362
  }
6228
6363
 
6229
- declare interface Props_26 {
6364
+ declare interface Props_27 {
6230
6365
  /** Array of data objects */
6231
6366
  data: TreeMapDataType[];
6232
6367
  /** Title of the graph */
@@ -6312,7 +6447,7 @@ declare interface Props_26 {
6312
6447
  graphID?: string;
6313
6448
  }
6314
6449
 
6315
- declare interface Props_27 {
6450
+ declare interface Props_28 {
6316
6451
  /** Array of data objects */
6317
6452
  data: UnitChartDataType[];
6318
6453
  /** Title of the graph */
@@ -6373,7 +6508,7 @@ declare interface Props_27 {
6373
6508
  graphID?: string;
6374
6509
  }
6375
6510
 
6376
- declare interface Props_28 {
6511
+ declare interface Props_29 {
6377
6512
  /** Array of data objects */
6378
6513
  data: HeatMapDataType[];
6379
6514
  /** Title of the graph */
@@ -6465,51 +6600,6 @@ declare interface Props_28 {
6465
6600
  graphID?: string;
6466
6601
  }
6467
6602
 
6468
- declare interface Props_29 {
6469
- /** Array of data objects. If the data have a object for ket `rowStyle` then that is use to style the row of the table. */
6470
- data: object[];
6471
- /** Title of the graph */
6472
- graphTitle?: string | React.ReactNode;
6473
- /** Description of the graph */
6474
- graphDescription?: string | React.ReactNode;
6475
- /** Footnote for the graph */
6476
- footNote?: string | React.ReactNode;
6477
- /** Source data for the graph */
6478
- sources?: SourcesDataType[];
6479
- /** Accessibility label */
6480
- ariaLabel?: string;
6481
- /** Background color of the graph */
6482
- backgroundColor?: string | boolean;
6483
- /** Custom styles for the graph. Each object should be a valid React CSS style object. */
6484
- styles?: StyleObject;
6485
- /** Custom class names */
6486
- classNames?: ClassNameObject;
6487
- /** Width of the graph */
6488
- width?: number;
6489
- /** Minimum width of the table as string in px */
6490
- minWidth?: string;
6491
- /** Height of the graph */
6492
- height?: number;
6493
- /** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
6494
- padding?: string;
6495
- /** Column settings for each column shown in the table. */
6496
- columnData: DataTableColumnDataType[];
6497
- /** Specifies the number of decimal places to display in the value. */
6498
- precision?: number;
6499
- /** Defines how “NA” values should be displayed/labelled in the graph */
6500
- naLabel?: string;
6501
- /** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
6502
- resetSelectionOnDoubleClick?: boolean;
6503
- /** Callback for mouse click event */
6504
- onSeriesMouseClick?: (_d: any) => void;
6505
- /** Language setting */
6506
- language?: Languages;
6507
- /** Color theme */
6508
- theme?: 'light' | 'dark';
6509
- /** Unique ID for the graph */
6510
- graphID?: string;
6511
- }
6512
-
6513
6603
  declare interface Props_3 {
6514
6604
  /** Array of data objects */
6515
6605
  data: DonutChartDataType[];
@@ -6590,6 +6680,51 @@ declare interface Props_3 {
6590
6680
  }
6591
6681
 
6592
6682
  declare interface Props_30 {
6683
+ /** Array of data objects. If the data have a object for ket `rowStyle` then that is use to style the row of the table. */
6684
+ data: object[];
6685
+ /** Title of the graph */
6686
+ graphTitle?: string | React.ReactNode;
6687
+ /** Description of the graph */
6688
+ graphDescription?: string | React.ReactNode;
6689
+ /** Footnote for the graph */
6690
+ footNote?: string | React.ReactNode;
6691
+ /** Source data for the graph */
6692
+ sources?: SourcesDataType[];
6693
+ /** Accessibility label */
6694
+ ariaLabel?: string;
6695
+ /** Background color of the graph */
6696
+ backgroundColor?: string | boolean;
6697
+ /** Custom styles for the graph. Each object should be a valid React CSS style object. */
6698
+ styles?: StyleObject;
6699
+ /** Custom class names */
6700
+ classNames?: ClassNameObject;
6701
+ /** Width of the graph */
6702
+ width?: number;
6703
+ /** Minimum width of the table as string in px */
6704
+ minWidth?: string;
6705
+ /** Height of the graph */
6706
+ height?: number;
6707
+ /** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
6708
+ padding?: string;
6709
+ /** Column settings for each column shown in the table. */
6710
+ columnData: DataTableColumnDataType[];
6711
+ /** Specifies the number of decimal places to display in the value. */
6712
+ precision?: number;
6713
+ /** Defines how “NA” values should be displayed/labelled in the graph */
6714
+ naLabel?: string;
6715
+ /** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
6716
+ resetSelectionOnDoubleClick?: boolean;
6717
+ /** Callback for mouse click event */
6718
+ onSeriesMouseClick?: (_d: any) => void;
6719
+ /** Language setting */
6720
+ language?: Languages;
6721
+ /** Color theme */
6722
+ theme?: 'light' | 'dark';
6723
+ /** Unique ID for the graph */
6724
+ graphID?: string;
6725
+ }
6726
+
6727
+ declare interface Props_31 {
6593
6728
  /** Array of data objects */
6594
6729
  data: object[];
6595
6730
  /** Title of the graph */
@@ -6652,7 +6787,7 @@ declare interface Props_30 {
6652
6787
  graphID?: string;
6653
6788
  }
6654
6789
 
6655
- declare interface Props_31 {
6790
+ declare interface Props_32 {
6656
6791
  /** Array of data objects */
6657
6792
  data: StripChartDataType[];
6658
6793
  /** Orientation of the graph */
@@ -6753,7 +6888,7 @@ declare interface Props_31 {
6753
6888
  graphID?: string;
6754
6889
  }
6755
6890
 
6756
- declare interface Props_32 {
6891
+ declare interface Props_33 {
6757
6892
  /** Array of data objects */
6758
6893
  data: ParetoChartDataType[];
6759
6894
  /** Title of the graph */
@@ -6856,7 +6991,7 @@ declare interface Props_32 {
6856
6991
  graphID?: string;
6857
6992
  }
6858
6993
 
6859
- declare interface Props_33 {
6994
+ declare interface Props_34 {
6860
6995
  /** Array of data objects */
6861
6996
  data: ButterflyChartDataType[];
6862
6997
  /** Title of the graph */
@@ -6957,7 +7092,7 @@ declare interface Props_33 {
6957
7092
  graphID?: string;
6958
7093
  }
6959
7094
 
6960
- declare interface Props_34 {
7095
+ declare interface Props_35 {
6961
7096
  /** Array of data objects */
6962
7097
  data: HistogramDataType[];
6963
7098
  /** Type of the graph for histogram */
@@ -7044,7 +7179,7 @@ declare interface Props_34 {
7044
7179
  graphID?: string;
7045
7180
  }
7046
7181
 
7047
- declare interface Props_35 {
7182
+ declare interface Props_36 {
7048
7183
  /** Array of data objects */
7049
7184
  data: SankeyDataType[];
7050
7185
  /** Title of the graph */
@@ -7145,7 +7280,7 @@ declare interface Props_35 {
7145
7280
  graphID?: string;
7146
7281
  }
7147
7282
 
7148
- declare interface Props_36 {
7283
+ declare interface Props_37 {
7149
7284
  /** Array of data objects */
7150
7285
  data: RadarChartDataType[];
7151
7286
  /** Title of the graph */
@@ -7244,7 +7379,7 @@ declare interface Props_36 {
7244
7379
  graphID?: string;
7245
7380
  }
7246
7381
 
7247
- declare interface Props_37 {
7382
+ declare interface Props_38 {
7248
7383
  dashboardID?: string;
7249
7384
  dashboardLayout: DashboardLayoutDataType;
7250
7385
  dataSettings: DataSettingsDataType;
@@ -7263,7 +7398,7 @@ declare interface Props_37 {
7263
7398
  graphClassNames?: ClassNameObject;
7264
7399
  }
7265
7400
 
7266
- declare interface Props_38 {
7401
+ declare interface Props_39 {
7267
7402
  dashboardID?: string;
7268
7403
  dashboardLayout: PerformanceIntensiveDashboardLayoutDataType;
7269
7404
  dataSettings: DataSettingsDataType;
@@ -7282,22 +7417,6 @@ declare interface Props_38 {
7282
7417
  graphClassNames?: ClassNameObject;
7283
7418
  }
7284
7419
 
7285
- declare interface Props_39 {
7286
- dashboardID?: string;
7287
- dashboardLayout: DashboardFromWideToLongFormatLayoutDataType;
7288
- dataSettings: DataSettingsWideToLongDataType;
7289
- debugMode?: boolean;
7290
- theme?: 'dark' | 'light';
7291
- readableHeader?: {
7292
- value: string;
7293
- label: string;
7294
- }[];
7295
- dataFilters?: DataFilterDataType[];
7296
- uiMode?: 'light' | 'normal';
7297
- graphStyles?: StyleObject;
7298
- graphClassNames?: ClassNameObject;
7299
- }
7300
-
7301
7420
  declare interface Props_4 {
7302
7421
  /** Array of data objects */
7303
7422
  data: DumbbellChartDataType[];
@@ -7426,6 +7545,22 @@ declare interface Props_4 {
7426
7545
  }
7427
7546
 
7428
7547
  declare interface Props_40 {
7548
+ dashboardID?: string;
7549
+ dashboardLayout: DashboardFromWideToLongFormatLayoutDataType;
7550
+ dataSettings: DataSettingsWideToLongDataType;
7551
+ debugMode?: boolean;
7552
+ theme?: 'dark' | 'light';
7553
+ readableHeader?: {
7554
+ value: string;
7555
+ label: string;
7556
+ }[];
7557
+ dataFilters?: DataFilterDataType[];
7558
+ uiMode?: 'light' | 'normal';
7559
+ graphStyles?: StyleObject;
7560
+ graphClassNames?: ClassNameObject;
7561
+ }
7562
+
7563
+ declare interface Props_41 {
7429
7564
  graphSettings?: GraphSettingsDataType;
7430
7565
  readableHeader?: {
7431
7566
  value: string;
@@ -7449,14 +7584,14 @@ declare interface Props_40 {
7449
7584
  updateFilters?: (_d: string) => void;
7450
7585
  }
7451
7586
 
7452
- declare interface Props_41 {
7587
+ declare interface Props_42 {
7453
7588
  graphSettings?: GraphSettingsDataType;
7454
7589
  graphType: GeoHubGraphType;
7455
7590
  debugMode?: boolean;
7456
7591
  uiMode?: 'light' | 'normal';
7457
7592
  }
7458
7593
 
7459
- declare interface Props_42 {
7594
+ declare interface Props_43 {
7460
7595
  graphSettings?: GraphSettingsDataType;
7461
7596
  readableHeader?: {
7462
7597
  value: string;
@@ -7480,7 +7615,7 @@ declare interface Props_42 {
7480
7615
  updateFilters?: (_d: string) => void;
7481
7616
  }
7482
7617
 
7483
- declare interface Props_43 {
7618
+ declare interface Props_44 {
7484
7619
  noOfColumns?: number;
7485
7620
  columnGridBy: string;
7486
7621
  graphSettings?: GraphSettingsDataType;
@@ -7508,7 +7643,7 @@ declare interface Props_43 {
7508
7643
  theme?: 'dark' | 'light';
7509
7644
  }
7510
7645
 
7511
- declare interface Props_44 {
7646
+ declare interface Props_45 {
7512
7647
  /** Defines if the information is shown as overlay or on the side */
7513
7648
  mode?: 'overlay' | 'side';
7514
7649
  /** Defines the width of the info section */
@@ -7523,7 +7658,7 @@ declare interface Props_44 {
7523
7658
  infoBackgroundColor?: string;
7524
7659
  }
7525
7660
 
7526
- declare interface Props_45 {
7661
+ declare interface Props_46 {
7527
7662
  /** Defines if the information is shown as overlay or on the side */
7528
7663
  mode?: 'overlay' | 'side';
7529
7664
  /** Defines the width of the info section */
@@ -7538,20 +7673,16 @@ declare interface Props_45 {
7538
7673
  infoBackgroundColor?: string;
7539
7674
  }
7540
7675
 
7541
- declare interface Props_46 {
7542
- config: string | ConfigObject;
7543
- }
7544
-
7545
7676
  declare interface Props_47 {
7546
- config: string | ConfigObject_2;
7677
+ config: string | ConfigObject;
7547
7678
  }
7548
7679
 
7549
7680
  declare interface Props_48 {
7550
- config: string | ConfigObject_3;
7681
+ config: string | ConfigObject_2;
7551
7682
  }
7552
7683
 
7553
7684
  declare interface Props_49 {
7554
- config: string | ConfigObject_4;
7685
+ config: string | ConfigObject_3;
7555
7686
  }
7556
7687
 
7557
7688
  declare interface Props_5 {
@@ -7654,18 +7785,22 @@ declare interface Props_5 {
7654
7785
  }
7655
7786
 
7656
7787
  declare interface Props_50 {
7657
- config: string | ConfigObject_5;
7788
+ config: string | ConfigObject_4;
7658
7789
  }
7659
7790
 
7660
7791
  declare interface Props_51 {
7661
- config: string | ConfigObject_6;
7792
+ config: string | ConfigObject_5;
7662
7793
  }
7663
7794
 
7664
7795
  declare interface Props_52 {
7665
- config: string | ConfigObject_7;
7796
+ config: string | ConfigObject_6;
7666
7797
  }
7667
7798
 
7668
7799
  declare interface Props_53 {
7800
+ config: string | ConfigObject_7;
7801
+ }
7802
+
7803
+ declare interface Props_54 {
7669
7804
  buttonContent?: string | JSX_2.Element;
7670
7805
  buttonType?: 'primary' | 'primary-without-icon' | 'secondary' | 'secondary-without-icon' | 'tertiary';
7671
7806
  csvData: any;
@@ -7677,7 +7812,7 @@ declare interface Props_53 {
7677
7812
  className?: string;
7678
7813
  }
7679
7814
 
7680
- declare interface Props_54 {
7815
+ declare interface Props_55 {
7681
7816
  buttonContent?: string | JSX_2.Element;
7682
7817
  buttonType?: 'primary' | 'primary-without-icon' | 'secondary' | 'secondary-without-icon' | 'tertiary';
7683
7818
  nodeID: string | RefObject<HTMLDivElement | null>;
@@ -7686,7 +7821,7 @@ declare interface Props_54 {
7686
7821
  className?: string;
7687
7822
  }
7688
7823
 
7689
- declare interface Props_55 {
7824
+ declare interface Props_56 {
7690
7825
  buttonContent?: string | JSX_2.Element;
7691
7826
  buttonType?: 'primary' | 'primary-without-icon' | 'secondary' | 'secondary-without-icon' | 'tertiary';
7692
7827
  nodeID: string | HTMLElement;
@@ -7695,7 +7830,7 @@ declare interface Props_55 {
7695
7830
  className?: string;
7696
7831
  }
7697
7832
 
7698
- declare interface Props_56 {
7833
+ declare interface Props_57 {
7699
7834
  buttonContent?: string | JSX_2.Element;
7700
7835
  buttonType?: 'primary' | 'primary-without-icon' | 'secondary' | 'secondary-without-icon' | 'tertiary';
7701
7836
  csvData: any;
@@ -7706,7 +7841,7 @@ declare interface Props_56 {
7706
7841
  className?: string;
7707
7842
  }
7708
7843
 
7709
- declare interface Props_57 {
7844
+ declare interface Props_58 {
7710
7845
  text: string;
7711
7846
  successMessage?: string;
7712
7847
  buttonText?: string;
@@ -7714,7 +7849,7 @@ declare interface Props_57 {
7714
7849
  className?: string;
7715
7850
  }
7716
7851
 
7717
- declare interface Props_58 {
7852
+ declare interface Props_59 {
7718
7853
  colors: string[];
7719
7854
  colorDomain: (string | number)[];
7720
7855
  dashedLines?: (string | number)[];
@@ -7726,17 +7861,6 @@ declare interface Props_58 {
7726
7861
  className?: string;
7727
7862
  }
7728
7863
 
7729
- declare interface Props_59 {
7730
- colors: string[];
7731
- colorDomain: (string | number)[];
7732
- colorLegendTitle?: string;
7733
- showNAColor: boolean;
7734
- setSelectedColor: (_d?: string) => void;
7735
- width?: number;
7736
- isCenter?: boolean;
7737
- className?: string;
7738
- }
7739
-
7740
7864
  declare interface Props_6 {
7741
7865
  /** Array of data objects */
7742
7866
  data: DualAxisLineChartDataType[];
@@ -7834,13 +7958,24 @@ declare interface Props_6 {
7834
7958
 
7835
7959
  declare interface Props_60 {
7836
7960
  colors: string[];
7837
- colorDomain: number[];
7961
+ colorDomain: (string | number)[];
7838
7962
  colorLegendTitle?: string;
7963
+ showNAColor: boolean;
7964
+ setSelectedColor: (_d?: string) => void;
7839
7965
  width?: number;
7966
+ isCenter?: boolean;
7840
7967
  className?: string;
7841
7968
  }
7842
7969
 
7843
7970
  declare interface Props_61 {
7971
+ colors: string[];
7972
+ colorDomain: number[];
7973
+ colorLegendTitle?: string;
7974
+ width?: number;
7975
+ className?: string;
7976
+ }
7977
+
7978
+ declare interface Props_62 {
7844
7979
  colors: string[];
7845
7980
  colorDomain: number[];
7846
7981
  colorLegendTitle?: string;
@@ -7851,7 +7986,7 @@ declare interface Props_61 {
7851
7986
  showNAColor: boolean;
7852
7987
  }
7853
7988
 
7854
- declare interface Props_62 {
7989
+ declare interface Props_63 {
7855
7990
  footNote?: string | React.ReactNode;
7856
7991
  sources?: SourcesDataType[];
7857
7992
  width?: number;
@@ -7865,7 +8000,7 @@ declare interface Props_62 {
7865
8000
  };
7866
8001
  }
7867
8002
 
7868
- declare interface Props_63 {
8003
+ declare interface Props_64 {
7869
8004
  graphTitle?: string | React.ReactNode;
7870
8005
  graphDescription?: string | React.ReactNode;
7871
8006
  width?: number;
@@ -7882,19 +8017,19 @@ declare interface Props_63 {
7882
8017
  };
7883
8018
  }
7884
8019
 
7885
- declare interface Props_64 {
8020
+ declare interface Props_65 {
7886
8021
  text: string | default_2.ReactNode;
7887
8022
  style?: default_2.CSSProperties;
7888
8023
  className?: string;
7889
8024
  }
7890
8025
 
7891
- declare interface Props_65 {
8026
+ declare interface Props_66 {
7892
8027
  text: string | default_2.ReactNode;
7893
8028
  style?: default_2.CSSProperties;
7894
8029
  className?: string;
7895
8030
  }
7896
8031
 
7897
- declare interface Props_66 {
8032
+ declare interface Props_67 {
7898
8033
  text: string | default_2.ReactNode;
7899
8034
  isDashboard?: boolean;
7900
8035
  style?: default_2.CSSProperties;
@@ -8232,7 +8367,7 @@ declare interface Props_9 {
8232
8367
  graphID?: string;
8233
8368
  }
8234
8369
 
8235
- export declare function RadarChart(props: Props_36): JSX.Element;
8370
+ export declare function RadarChart(props: Props_37): JSX.Element;
8236
8371
 
8237
8372
  declare interface RadarChartDataType {
8238
8373
  values: number[];
@@ -8270,7 +8405,7 @@ declare interface ReferenceDataType {
8270
8405
  */
8271
8406
  export declare function removeOutliers(data: number[], outlierThreshold?: number): number[];
8272
8407
 
8273
- export declare function SankeyChart(props: Props_35): JSX.Element;
8408
+ export declare function SankeyChart(props: Props_36): JSX.Element;
8274
8409
 
8275
8410
  declare interface SankeyDataType {
8276
8411
  source: string | number;
@@ -8281,7 +8416,7 @@ declare interface SankeyDataType {
8281
8416
 
8282
8417
  declare type ScaleDataType = 'categorical' | 'linear' | 'threshold';
8283
8418
 
8284
- export declare function ScatterPlot(props: Props_20): JSX.Element;
8419
+ export declare function ScatterPlot(props: Props_21): JSX.Element;
8285
8420
 
8286
8421
  declare interface ScatterPlotDataType {
8287
8422
  x?: number | null;
@@ -8294,7 +8429,7 @@ declare interface ScatterPlotDataType {
8294
8429
  }
8295
8430
 
8296
8431
  /** ScrollStory is a scrollytelling container component that reveals content step-by-step as the user scrolls through the page. This does not include GeoHub maps and 3-D graph; for those please use `PerformanceIntensiveScrollStory`. */
8297
- export declare function ScrollStory(props: Props_44): JSX.Element;
8432
+ export declare function ScrollStory(props: Props_45): JSX.Element;
8298
8433
 
8299
8434
  declare interface SectionsDataType {
8300
8435
  graphSettings?: GraphSettingsDataType;
@@ -8317,19 +8452,19 @@ export declare function SimpleBarGraph(props: Props): JSX.Element;
8317
8452
 
8318
8453
  export declare function SimpleLineChart(props: Props_8): JSX.Element;
8319
8454
 
8320
- export declare function SingleGraphDashboard(props: Props_40): JSX.Element;
8455
+ export declare function SingleGraphDashboard(props: Props_41): JSX.Element;
8321
8456
 
8322
- export declare function SingleGraphDashboardFromConfig(props: Props_49): JSX.Element;
8457
+ export declare function SingleGraphDashboardFromConfig(props: Props_50): JSX.Element;
8323
8458
 
8324
- export declare function SingleGraphDashboardGeoHubMaps(props: Props_41): JSX.Element;
8459
+ export declare function SingleGraphDashboardGeoHubMaps(props: Props_42): JSX.Element;
8325
8460
 
8326
- export declare function SingleGraphDashboardGeoHubMapsFromConfig(props: Props_50): JSX.Element;
8461
+ export declare function SingleGraphDashboardGeoHubMapsFromConfig(props: Props_51): JSX.Element;
8327
8462
 
8328
- export declare function SingleGraphDashboardThreeDGraphs(props: Props_42): JSX.Element;
8463
+ export declare function SingleGraphDashboardThreeDGraphs(props: Props_43): JSX.Element;
8329
8464
 
8330
- export declare function SingleGraphDashboardThreeDGraphsFromConfig(props: Props_51): JSX.Element;
8465
+ export declare function SingleGraphDashboardThreeDGraphsFromConfig(props: Props_52): JSX.Element;
8331
8466
 
8332
- export declare function SlopeChart(props: Props_21): JSX.Element;
8467
+ export declare function SlopeChart(props: Props_22): JSX.Element;
8333
8468
 
8334
8469
  declare interface SlopeChartDataType {
8335
8470
  y1: number;
@@ -8485,14 +8620,14 @@ declare interface StackedBarChartProps {
8485
8620
 
8486
8621
  export declare function StackedBarGraph(props: StackedBarChartProps): JSX.Element;
8487
8622
 
8488
- export declare function StatCardFromData(props: Props_25): JSX.Element;
8623
+ export declare function StatCardFromData(props: Props_26): JSX.Element;
8489
8624
 
8490
8625
  declare type StatCardsFromDataSheetDataType = {
8491
8626
  value: number | string;
8492
8627
  data?: object;
8493
8628
  };
8494
8629
 
8495
- export declare function StripChart(props: Props_31): JSX.Element;
8630
+ export declare function StripChart(props: Props_32): JSX.Element;
8496
8631
 
8497
8632
  declare interface StripChartDataType {
8498
8633
  label: string | number;
@@ -8532,14 +8667,14 @@ declare interface StyleObject {
8532
8667
  */
8533
8668
  export declare function svgDownload(node: HTMLElement, filename: string): void;
8534
8669
 
8535
- export declare function SVGDownloadButton(props: Props_55): JSX.Element;
8670
+ export declare function SVGDownloadButton(props: Props_56): JSX.Element;
8536
8671
 
8537
8672
  /** For using these maps you will have to install [`three`](https://threejs.org/manual/) and [react-globe.gl](https://www.npmjs.com/package/react-globe.gl) package to your project */
8538
- export declare function ThreeDGlobe(props: Props_16): JSX.Element;
8673
+ export declare function ThreeDGlobe(props: Props_17): JSX.Element;
8539
8674
 
8540
8675
  declare type ThreeDGraphType = 'threeDGlobe';
8541
8676
 
8542
- export declare function ThresholdColorLegendWithMouseOver(props: Props_61): JSX.Element;
8677
+ export declare function ThresholdColorLegendWithMouseOver(props: Props_62): JSX.Element;
8543
8678
 
8544
8679
  declare interface TimelineDataType {
8545
8680
  autoplay: boolean;
@@ -8694,9 +8829,9 @@ declare interface TreeMapDataType {
8694
8829
  data?: object;
8695
8830
  }
8696
8831
 
8697
- export declare function TreeMapGraph(props: Props_26): JSX.Element;
8832
+ export declare function TreeMapGraph(props: Props_27): JSX.Element;
8698
8833
 
8699
- export declare function UnitChart(props: Props_27): JSX.Element | null;
8834
+ export declare function UnitChart(props: Props_28): JSX.Element | null;
8700
8835
 
8701
8836
  declare interface UnitChartDataType {
8702
8837
  label: number | string;