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.
@@ -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, shows a visible error box
11
- * with the component name and error message instead of crashing the page.
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`.