@graphysdk/react-renderer 0.0.1-plugins.7 → 0.0.1-plugins.8
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 +2 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +1478 -1423
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -287,7 +287,7 @@ export declare type GraphMode = 'readonly' | 'editable';
|
|
|
287
287
|
* Owns the compiled spec for a graph and exposes it via {@link useCompiledSpec}, plus a
|
|
288
288
|
* `dispatch` for applying {@link Command}s.
|
|
289
289
|
*/
|
|
290
|
-
export declare const GraphProvider: ({ data, input, formattingLocale, onChange, customPalettes, theme, themeOverrides: themeOverridesInput, geoms, plugins, annotationPlugins, children, }: GraphProviderProps) => JSX.Element;
|
|
290
|
+
export declare const GraphProvider: ({ data, input, formattingLocale, onChange, customPalettes, theme, themeOverrides: themeOverridesInput, geoms, plugins, annotationPlugins, id, children, }: GraphProviderProps) => JSX.Element;
|
|
291
291
|
|
|
292
292
|
declare interface GraphProviderProps {
|
|
293
293
|
data: Data;
|
|
@@ -303,6 +303,8 @@ declare interface GraphProviderProps {
|
|
|
303
303
|
plugins?: readonly GeomPlugin[];
|
|
304
304
|
/** Custom annotation render plugins, injected per-instance and resolved by annotation `type` (ADR-035). */
|
|
305
305
|
annotationPlugins?: readonly AnnotationPlugin[];
|
|
306
|
+
/** Stable chart id. Stamped onto the rendered root as `data-graphy-id`; enables the editor bridge. */
|
|
307
|
+
id?: string;
|
|
306
308
|
children: ReactNode;
|
|
307
309
|
}
|
|
308
310
|
|