@graphysdk/react-renderer 1.9.0-beta.1794586691328 → 1.9.0-beta.1794840107396

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.
@@ -690,7 +690,7 @@ declare type DotNotation<T> = T extends object ? {
690
690
  }[keyof T & string] : never;
691
691
 
692
692
  /**
693
- * `GraphRenderer` with the editor layer wired in. A host toggles `mode` rather than swapping
693
+ * `GraphRenderer` with the editor layer wired in. A host toggles `GraphProvider`'s `mode` rather than swapping
694
694
  * components, so hover, animation, the scene store and the undo history survive the toggle.
695
695
  *
696
696
  * The editor store is held from here, above the renderer, because the editing surface fills a slot
@@ -702,12 +702,12 @@ declare type DotNotation<T> = T extends object ? {
702
702
  *
703
703
  * @example
704
704
  * ```tsx
705
- * <GraphProvider spec={input} data={data}>
706
- * <EditableGraphRenderer mode={isEditing ? 'annotate' : 'readonly'} />
705
+ * <GraphProvider spec={input} data={data} mode={isEditing ? 'annotate' : 'readonly'}>
706
+ * <EditableGraphRenderer />
707
707
  * </GraphProvider>
708
708
  * ```
709
709
  */
710
- export declare const EditableGraphRenderer: ({ slots, mode, palettePresets, editMenus, ...rest }: EditableGraphRendererProps) => JSX.Element;
710
+ export declare const EditableGraphRenderer: ({ slots, palettePresets, editMenus, ...rest }: EditableGraphRendererProps) => JSX.Element;
711
711
 
712
712
  /** Props for {@link EditableGraphRenderer}: the renderer's own, plus what only the editor reads. */
713
713
  export declare interface EditableGraphRendererProps extends GraphRendererProps {
@@ -2257,7 +2257,7 @@ declare interface GraphHandle {
2257
2257
  getPointSymbols: (coordType: CoordSystem['type']) => GeomRenderContract['symbols'];
2258
2258
  }
2259
2259
 
2260
- /** The mode a chart runs in, which `GraphRenderer` takes as a prop and every row of `MODE_RULES` is keyed by. */
2260
+ /** The mode a chart runs in, which `GraphProvider` takes as a prop and every row of `MODE_RULES` is keyed by. */
2261
2261
  declare type GraphMode = (typeof GRAPH_MODES)[keyof typeof GRAPH_MODES];
2262
2262
 
2263
2263
  /** What a chart writes on its own marks. The grid is chrome behind them, and has its own section. */
@@ -2286,7 +2286,6 @@ declare interface GraphRendererProps {
2286
2286
  * and so does a chart denser than `maxAnimatedGeoms`.
2287
2287
  */
2288
2288
  animation?: GraphAnimation;
2289
- mode?: GraphMode;
2290
2289
  /** Per-region component overrides. Unspecified regions render their default. */
2291
2290
  slots?: GraphSlots;
2292
2291
  }