@opendata-ai/openchart-react 8.0.0-rc.1 → 8.0.0-rc.11

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/src/index.ts DELETED
@@ -1,104 +0,0 @@
1
- /**
2
- * @opendata-ai/openchart-react
3
- *
4
- * React adapter for openchart. Provides <Chart /> and <DataTable />
5
- * components that wrap the vanilla adapter with React lifecycle management.
6
- *
7
- * Re-exports the full core type system and utilities so React consumers
8
- * only need a single @opendata-ai/openchart-react dependency.
9
- */
10
-
11
- // ---------------------------------------------------------------------------
12
- // Core: full type system, theme, colors, locale, accessibility, helpers
13
- // ---------------------------------------------------------------------------
14
-
15
- export * from '@opendata-ai/openchart-core';
16
-
17
- // ---------------------------------------------------------------------------
18
- // Vanilla: export utilities (SVG/PNG/JPG/CSV)
19
- // ---------------------------------------------------------------------------
20
-
21
- export type {
22
- JPGExportOptions,
23
- PNGExportOptions,
24
- SVGExportOptions,
25
- } from '@opendata-ai/openchart-vanilla';
26
- export {
27
- exportCSV,
28
- exportJPG,
29
- exportPNG,
30
- exportSVG,
31
- exportSVGWithFonts,
32
- } from '@opendata-ai/openchart-vanilla';
33
-
34
- // ---------------------------------------------------------------------------
35
- // Engine: compile API and types not covered by core
36
- // ---------------------------------------------------------------------------
37
-
38
- export type {
39
- ChartRenderer,
40
- CompiledGraphEdge,
41
- CompiledGraphNode,
42
- CompileResult,
43
- GraphCompilation,
44
- NormalizedBarListSpec,
45
- NormalizedChartSpec,
46
- NormalizedChrome,
47
- NormalizedGraphSpec,
48
- NormalizedMapSpec,
49
- NormalizedSankeySpec,
50
- NormalizedSpec,
51
- NormalizedTableSpec,
52
- NormalizedTileMapSpec,
53
- SimulationConfig,
54
- ValidationError,
55
- ValidationErrorCode,
56
- ValidationResult,
57
- } from '@opendata-ai/openchart-engine';
58
- export {
59
- clearRenderers,
60
- compile,
61
- compileBarList,
62
- compileChart,
63
- compileGraph,
64
- compileMap,
65
- compileSankey,
66
- compileTable,
67
- compileTileMap,
68
- getChartRenderer,
69
- normalizeSpec,
70
- registerChartRenderer,
71
- validateSpec,
72
- } from '@opendata-ai/openchart-engine';
73
- export type { BarListHandle, BarListProps } from './BarList';
74
- export { BarList } from './BarList';
75
- export type { ChartHandle, ChartProps } from './Chart';
76
- // Components
77
- export { Chart } from './Chart';
78
- export type { ChartStoryHandle, ChartStoryProps } from './ChartStory';
79
- // Scrollytelling
80
- export { ChartStory } from './ChartStory';
81
- export type { DataTableProps } from './DataTable';
82
- export { DataTable } from './DataTable';
83
- export type { GraphProps } from './Graph';
84
- export { Graph } from './Graph';
85
- export type { UseChartOptions, UseChartReturn } from './hooks';
86
- // Hooks
87
- export { useChart, useDarkMode } from './hooks';
88
- export type { GraphHandle, UseGraphReturn } from './hooks/useGraph';
89
- export { useGraph } from './hooks/useGraph';
90
- export type { UseTableReturn } from './hooks/useTable';
91
- export { useTable } from './hooks/useTable';
92
- export type { UseTableStateOptions, UseTableStateReturn } from './hooks/useTableState';
93
- export { useTableState } from './hooks/useTableState';
94
- export type { MapHandle, MapProps } from './Map';
95
- export { GeoMap } from './Map';
96
- export type { SankeyHandle, SankeyProps } from './Sankey';
97
- export { Sankey } from './Sankey';
98
- export type { VizThemeProviderProps } from './ThemeContext';
99
- // Theme context
100
- export { useVizDarkMode, useVizTheme, VizThemeProvider } from './ThemeContext';
101
- export type { TileMapHandle, TileMapProps } from './TileMap';
102
- export { TileMap } from './TileMap';
103
- export type { VisualizationProps } from './Visualization';
104
- export { Visualization } from './Visualization';