@graphysdk/react-renderer 1.9.0-beta.1789582064893 → 1.9.0-beta.1789643389031
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/editable.cjs +1 -1
- package/dist/editable.d.ts +9 -1
- package/dist/editable.mjs +2495 -2411
- package/dist/{history-chords-S1G_f-FU.js → history-chords-BEesSXz6.js} +2665 -2411
- package/dist/history-chords-CgQJHeIs.cjs +2 -0
- package/dist/history-chords.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +62 -2
- package/dist/index.mjs +307 -295
- package/package.json +2 -2
- package/dist/history-chords-vcFCt26X.cjs +0 -2
package/dist/editable.d.ts
CHANGED
|
@@ -568,6 +568,8 @@ declare interface EditorSurfaceSlotProps {
|
|
|
568
568
|
frameElement: HTMLElement;
|
|
569
569
|
/** The panel's rect within that box, so chrome positioned from `layout` shares its origin. */
|
|
570
570
|
panelRect: Rect;
|
|
571
|
+
/** The axes as the chart paints them, whose ticks a stamped tick index addresses. */
|
|
572
|
+
formattedAxes: readonly FormattedAxis[];
|
|
571
573
|
}
|
|
572
574
|
|
|
573
575
|
/**
|
|
@@ -981,7 +983,13 @@ export declare interface LegendSectionProps extends OverridableSectionProps {
|
|
|
981
983
|
positions?: readonly LegendPosition[];
|
|
982
984
|
}
|
|
983
985
|
|
|
984
|
-
/**
|
|
986
|
+
/**
|
|
987
|
+
* Props for the Legend slot, overridable via `slots.Legend` on `GraphRenderer`.
|
|
988
|
+
*
|
|
989
|
+
* A legend filling this slot spreads `stampLegendEditTarget` on every pill it paints where
|
|
990
|
+
* `useGuidesTakePress` is true, and lets the pill take the pointer, or a press there selects the chart:
|
|
991
|
+
* the press reads the legend and the item a pill stands for off those attributes.
|
|
992
|
+
*/
|
|
985
993
|
declare interface LegendSlotProps {
|
|
986
994
|
formattedLegends: FormattedLegend[];
|
|
987
995
|
rects: Partial<Record<LayoutEdge, Rect>>;
|