@nice2dev/ui-science 1.2.2 → 1.3.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.cjs +15 -14
- package/dist/index.d.ts +6 -1
- package/dist/index.mjs +1425 -1361
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1065,7 +1065,7 @@ export declare interface NicePhylogeneticTreeProps {
|
|
|
1065
1065
|
style?: default_2.CSSProperties;
|
|
1066
1066
|
}
|
|
1067
1067
|
|
|
1068
|
-
export declare function NiceScientificChart({ series, title, subtitle, width, height, type, xAxis: _xAxis, yAxis: _yAxis, statOverlays, annotations, legend, tooltip, zoom, export: exportConfig, statisticalTests, gridLines, aspectRatio, animation: _animation, theme, onPointClick, onPointHover, onZoomChange, onAnnotationChange: _onAnnotationChange, className, style, }: NiceScientificChartProps): default_2.ReactElement;
|
|
1068
|
+
export declare function NiceScientificChart({ series, title, subtitle, width, height, type, xAxis: _xAxis, yAxis: _yAxis, statOverlays, annotations, legend, tooltip, zoom, export: exportConfig, statisticalTests, gridLines, aspectRatio, animation: _animation, theme, onPointClick, onPointHover, onZoomChange, onAnnotationChange: _onAnnotationChange, onExport, className, style, }: NiceScientificChartProps): default_2.ReactElement;
|
|
1069
1069
|
|
|
1070
1070
|
export declare interface NiceScientificChartProps {
|
|
1071
1071
|
/** Data series to display */
|
|
@@ -1117,6 +1117,11 @@ export declare interface NiceScientificChartProps {
|
|
|
1117
1117
|
onZoomChange?: (xRange: [number, number] | null, yRange: [number, number] | null) => void;
|
|
1118
1118
|
/** On annotation change */
|
|
1119
1119
|
onAnnotationChange?: (annotation: AnnotationConfig) => void;
|
|
1120
|
+
/**
|
|
1121
|
+
* Handles the export buttons itself. Without it the chart downloads CSV, JSON, SVG and PNG on
|
|
1122
|
+
* its own; PDF is offered only with a handler.
|
|
1123
|
+
*/
|
|
1124
|
+
onExport?: (format: ExportConfig['formats'][number]) => void;
|
|
1120
1125
|
/** Class name */
|
|
1121
1126
|
className?: string;
|
|
1122
1127
|
/** Style */
|