@opendata-ai/openchart-react 9.8.0 → 9.9.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/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { BarListSpec, ThemeConfig, DarkMode, DataRow, ChartEventHandlers, ChartSpec, LayerSpec, ElementRef, GeoMapSpec, TableSpec, SortState, GeoReaderSelection, ReaderChangeMeta, GraphSpec, ChartLayout, RaceSpec, RaceFrame, SankeySpec, TileMapSpec, VizSpec } from '@opendata-ai/openchart-core';
2
2
  export * from '@opendata-ai/openchart-core';
3
3
  import { BarListInstance, InteractionMode, ChartReaderProps, ChartInstance, MountOptions, GeoReaderOptions, GeoMapMountOptions, GeoMapMarkEvent, Camera, GeoMapCameraChangeMeta, GeoMapInstance, CameraFlightOptions, GraphFlyTarget, GraphCamera, GraphHighlightTarget, GraphLegendData, GraphInstance, GraphTooltipFormatter, TableInstance, TableState, TableMountOptions, RaceMountOptions, RaceInstance, SankeyInstance, TileMapInstance } from '@opendata-ai/openchart-vanilla';
4
- export { GeoMapCameraChangeMeta, InteractionMode, JPGExportOptions, PNGExportOptions, PlaybackController, PlaybackPeriod, PlaybackState, SVGExportOptions, SpecSequenceOptions, exportCSV, exportJPG, exportPNG, exportSVG, exportSVGWithFonts, exportSpecSequence } from '@opendata-ai/openchart-vanilla';
4
+ export { ExportFormatUnsupportedError, GeoMapCameraChangeMeta, InteractionMode, JPGExportOptions, LossyExportOptions, PNGExportOptions, PlaybackController, PlaybackPeriod, PlaybackState, RasterFormat, SVGExportOptions, SpecSequenceOptions, WEBPExportOptions, exportCSV, exportJPG, exportPNG, exportSVG, exportSVGWithFonts, exportSpecSequence, exportWEBP } from '@opendata-ai/openchart-vanilla';
5
5
  export { ChartRenderer, CompileResult, CompiledGraphEdge, CompiledGraphNode, GraphCompilation, NormalizedBarListSpec, NormalizedChartSpec, NormalizedChrome, NormalizedGeoMapSpec, NormalizedGraphSpec, NormalizedSankeySpec, NormalizedSpec, NormalizedTableSpec, NormalizedTileMapSpec, SimulationConfig, ValidationError, ValidationErrorCode, ValidationResult, clearRenderers, compile, compileBarList, compileChart, compileGeoMap, compileGraph, compileSankey, compileTable, compileTileMap, getChartRenderer, normalizeSpec, registerChartRenderer, validateSpec } from '@opendata-ai/openchart-engine';
6
6
  import * as react from 'react';
7
7
  import { CSSProperties, ReactNode, Ref } from 'react';
package/dist/index.js CHANGED
@@ -1,12 +1,14 @@
1
1
  // src/index.ts
2
2
  export * from "@opendata-ai/openchart-core";
3
3
  import {
4
+ ExportFormatUnsupportedError,
4
5
  exportCSV,
5
6
  exportJPG,
6
7
  exportPNG,
7
8
  exportSpecSequence,
8
9
  exportSVG,
9
- exportSVGWithFonts
10
+ exportSVGWithFonts,
11
+ exportWEBP
10
12
  } from "@opendata-ai/openchart-vanilla";
11
13
  import {
12
14
  clearRenderers,
@@ -1539,6 +1541,7 @@ export {
1539
1541
  Chart,
1540
1542
  ChartStory,
1541
1543
  DataTable,
1544
+ ExportFormatUnsupportedError,
1542
1545
  GeoMap,
1543
1546
  Graph,
1544
1547
  Race,
@@ -1561,6 +1564,7 @@ export {
1561
1564
  exportSVG,
1562
1565
  exportSVGWithFonts,
1563
1566
  exportSpecSequence,
1567
+ exportWEBP,
1564
1568
  getChartRenderer,
1565
1569
  normalizeSpec,
1566
1570
  registerChartRenderer,