semiotic 3.1.0 → 3.1.2
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/README.md +104 -0
- package/ai/dist/componentRegistry.js +5 -0
- package/ai/dist/mcp-server.js +378 -46
- package/ai/dist/renderHOCToSVG.js +5 -3
- package/ai/schema.json +1 -1
- package/dist/components/charts/shared/ChartError.d.ts +3 -1
- package/dist/components/charts/shared/withChartWrapper.d.ts +4 -3
- package/dist/geo.min.js +1 -1
- package/dist/geo.module.min.js +1 -1
- package/dist/network.min.js +1 -1
- package/dist/network.module.min.js +1 -1
- package/dist/ordinal.min.js +1 -1
- package/dist/ordinal.module.min.js +1 -1
- package/dist/realtime.min.js +1 -1
- package/dist/realtime.module.min.js +1 -1
- package/dist/semiotic-ai-statisticalOverlays-C1f7TYyD.js +1 -0
- package/dist/semiotic-ai.min.js +1 -1
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-statisticalOverlays-C1f7TYyD.js +1 -0
- package/dist/semiotic.min.js +1 -1
- package/dist/semiotic.module.min.js +1 -1
- package/dist/xy-statisticalOverlays-C1f7TYyD.js +1 -0
- package/dist/xy.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +50 -4
|
@@ -3,14 +3,15 @@ interface SafeRenderProps {
|
|
|
3
3
|
componentName: string;
|
|
4
4
|
width: number;
|
|
5
5
|
height: number;
|
|
6
|
+
chartProps?: Record<string, unknown>;
|
|
6
7
|
children: React.ReactNode;
|
|
7
8
|
}
|
|
8
9
|
/**
|
|
9
10
|
* Wraps a chart's rendered output with an error boundary.
|
|
10
|
-
* If the chart throws during render,
|
|
11
|
-
*
|
|
11
|
+
* If the chart throws during render, runs diagnoseConfig to produce
|
|
12
|
+
* actionable fix suggestions alongside the error message.
|
|
12
13
|
*/
|
|
13
|
-
export declare function SafeRender({ componentName, width, height, children }: SafeRenderProps): React.JSX.Element;
|
|
14
|
+
export declare function SafeRender({ componentName, width, height, chartProps, children }: SafeRenderProps): React.JSX.Element;
|
|
14
15
|
/**
|
|
15
16
|
* Renders a "No data available" placeholder when data is empty.
|
|
16
17
|
* Returns null when data is present or emptyContent is `false`.
|