55``` ts
66
77import { $Values } from ' utility-types' ;
8+ import { ComponentType } from ' react' ;
89import React from ' react' ;
910
1011// @public
@@ -403,6 +404,9 @@ export const CurveType: Readonly<{
403404// @public (undocumented)
404405export type CurveType = $Values <typeof CurveType >;
405406
407+ // @public
408+ export type CustomTooltip = ComponentType <TooltipInfo >;
409+
406410// Warning: (ae-missing-release-tag) "DARK_THEME" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
407411//
408412// @public (undocumented)
@@ -493,14 +497,10 @@ export const DEFAULT_MISSING_COLOR = "red";
493497// @public (undocumented)
494498export const DEFAULT_SETTINGS_SPEC: SettingsSpec ;
495499
496- // Warning: (ae-missing-release-tag) "DEFAULT_TOOLTIP_SNAP" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
497- //
498- // @public (undocumented)
500+ // @public
499501export const DEFAULT_TOOLTIP_SNAP = true ;
500502
501- // Warning: (ae-missing-release-tag) "DEFAULT_TOOLTIP_TYPE" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
502- //
503- // @public (undocumented)
503+ // @public
504504export const DEFAULT_TOOLTIP_TYPE: " vertical" ;
505505
506506// Warning: (ae-missing-release-tag) "DefaultSettingsProps" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -678,9 +678,9 @@ export type HistogramModeAlignment = 'start' | 'center' | 'end';
678678//
679679// @public (undocumented)
680680export const HistogramModeAlignments: Readonly <{
681- Start: HistogramModeAlignment ;
682- Center: HistogramModeAlignment ;
683- End: HistogramModeAlignment ;
681+ Start: LineAlignSetting ;
682+ Center: LineAlignSetting ;
683+ End: LineAlignSetting ;
684684}>;
685685
686686// Warning: (ae-forgotten-export) The symbol "BinaryAccessorFn" needs to be exported by the entry point index.d.ts
@@ -931,6 +931,28 @@ export const PartitionLayout: Readonly<{
931931// @public (undocumented)
932932export type PartitionLayout = $Values <typeof PartitionLayout >;
933933
934+ // @public
935+ export const Placement: Readonly <{
936+ Top: " top" ;
937+ Bottom: " bottom" ;
938+ Left: " left" ;
939+ Right: " right" ;
940+ TopStart: " top-start" ;
941+ TopEnd: " top-end" ;
942+ BottomStart: " bottom-start" ;
943+ BottomEnd: " bottom-end" ;
944+ RightStart: " right-start" ;
945+ RightEnd: " right-end" ;
946+ LeftStart: " left-start" ;
947+ LeftEnd: " left-end" ;
948+ Auto: " auto" ;
949+ AutoStart: " auto-start" ;
950+ AutoEnd: " auto-end" ;
951+ }>;
952+
953+ // @public
954+ export type Placement = $Values <typeof Placement >;
955+
934956// Warning: (ae-missing-release-tag) "PointerEvent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
935957//
936958// @public (undocumented)
@@ -1296,7 +1318,7 @@ export interface SettingsSpec extends Spec {
12961318 showLegend: boolean ;
12971319 showLegendExtra: boolean ;
12981320 theme? : PartialTheme | PartialTheme [];
1299- tooltip: TooltipType | TooltipProps ;
1321+ tooltip: TooltipSettings ;
13001322 // Warning: (ae-forgotten-export) The symbol "Domain" needs to be exported by the entry point index.d.ts
13011323 //
13021324 // (undocumented)
@@ -1428,23 +1450,28 @@ export type TickStyle = StrokeStyle & Visible;
14281450// @public (undocumented)
14291451export function timeFormatter(format : string ): TickFormatter ;
14301452
1431- // Warning: (ae-missing-release-tag) "TooltipProps" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1432- //
1433- // @public (undocumented)
1453+ // @public
1454+ export interface TooltipInfo {
1455+ header: TooltipValue | null ;
1456+ values: TooltipValue [];
1457+ }
1458+
1459+ // @public
14341460export interface TooltipProps {
1435- // (undocumented)
1461+ boundary? : HTMLElement | ' chart' ;
1462+ customTooltip? : CustomTooltip ;
1463+ fallbackPlacements? : Placement [];
14361464 headerFormatter? : TooltipValueFormatter ;
1437- // (undocumented)
1465+ placement ? : Placement ;
14381466 snap? : boolean ;
1439- // (undocumented)
14401467 type? : TooltipType ;
1441- // (undocumented)
1468+ // @alpha
14421469 unit? : string ;
14431470}
14441471
1445- // Warning: (ae-missing-release-tag) "TooltipType" is exported by the package, but it is missing a release tag (@alpha, @beta, @ public, or @internal)
1446- // Warning: (ae-missing-release-tag) " TooltipType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1447- //
1472+ // @ public
1473+ export type TooltipSettings = TooltipType | TooltipProps ;
1474+
14481475// @public
14491476export const TooltipType: Readonly <{
14501477 VerticalCursor: " vertical" ;
@@ -1453,12 +1480,10 @@ export const TooltipType: Readonly<{
14531480 None: " none" ;
14541481}>;
14551482
1456- // @public (undocumented)
1483+ // @public
14571484export type TooltipType = $Values <typeof TooltipType >;
14581485
1459- // Warning: (ae-missing-release-tag) "TooltipValue" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1460- //
1461- // @public (undocumented)
1486+ // @public
14621487export interface TooltipValue {
14631488 color: Color ;
14641489 isHighlighted: boolean ;
@@ -1470,9 +1495,7 @@ export interface TooltipValue {
14701495 valueAccessor? : Accessor ;
14711496}
14721497
1473- // Warning: (ae-missing-release-tag) "TooltipValueFormatter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1474- //
1475- // @public (undocumented)
1498+ // @public
14761499export type TooltipValueFormatter = (data : TooltipValue ) => JSX .Element | string ;
14771500
14781501// @public
0 commit comments