@automattic/charts 4.11.1 → 4.13.0

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.
Files changed (73) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/index.cjs +1412 -787
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.css +59 -25
  5. package/dist/index.d.cts +64 -120
  6. package/dist/index.d.ts +64 -120
  7. package/dist/index.js +1400 -765
  8. package/dist/index.js.map +1 -1
  9. package/package.json +9 -9
  10. package/src/charts/area-chart/area-chart.tsx +16 -6
  11. package/src/charts/area-chart/test/area-chart.test.tsx +42 -9
  12. package/src/charts/bar-chart/bar-chart.tsx +143 -142
  13. package/src/charts/bar-chart/index.ts +3 -0
  14. package/src/charts/bar-chart/private/band-tooltip.tsx +41 -15
  15. package/src/charts/bar-chart/private/bar-layer.tsx +132 -0
  16. package/src/charts/bar-chart/private/comparison-bars-geometry.ts +22 -34
  17. package/src/charts/bar-chart/private/comparison-bars.tsx +9 -18
  18. package/src/charts/bar-chart/private/comparison-constants.ts +4 -10
  19. package/src/charts/bar-chart/private/grouped-bars.ts +68 -0
  20. package/src/charts/bar-chart/private/index.ts +7 -1
  21. package/src/charts/bar-chart/private/overlap-bars.ts +183 -0
  22. package/src/charts/bar-chart/private/selected-bar-ring.tsx +84 -0
  23. package/src/charts/bar-chart/private/slot-tooltip-members.tsx +28 -0
  24. package/src/charts/bar-chart/private/slotted-bar-series.tsx +84 -0
  25. package/src/charts/bar-chart/private/test/comparison-bars-geometry.test.ts +4 -11
  26. package/src/charts/bar-chart/private/test/comparison-bars.test.tsx +2 -3
  27. package/src/charts/bar-chart/private/test/grouped-bars.test.ts +87 -0
  28. package/src/charts/bar-chart/private/test/overlap-bars.test.ts +159 -0
  29. package/src/charts/bar-chart/private/use-bar-stops.ts +87 -0
  30. package/src/charts/bar-chart/private/use-overlap-slots.ts +213 -0
  31. package/src/charts/bar-chart/private/value-domain.ts +0 -10
  32. package/src/charts/bar-chart/test/bar-chart-overlap.test.tsx +347 -0
  33. package/src/charts/bar-chart/test/bar-chart.test.tsx +181 -19
  34. package/src/charts/bar-chart/test/use-bar-legend-items.test.tsx +81 -0
  35. package/src/charts/bar-chart/types.ts +3 -0
  36. package/src/charts/bar-chart/use-bar-colors.ts +46 -0
  37. package/src/charts/bar-chart/use-bar-legend-items.ts +87 -0
  38. package/src/charts/conversion-funnel-chart/conversion-funnel-chart.module.scss +24 -11
  39. package/src/charts/conversion-funnel-chart/conversion-funnel-chart.tsx +235 -182
  40. package/src/charts/conversion-funnel-chart/index.ts +2 -0
  41. package/src/charts/conversion-funnel-chart/private/index.ts +1 -0
  42. package/src/charts/conversion-funnel-chart/private/use-funnel-selection.ts +9 -47
  43. package/src/charts/conversion-funnel-chart/private/use-roving-step-focus.ts +83 -0
  44. package/src/charts/conversion-funnel-chart/test/conversion-funnel-chart.test.tsx +312 -92
  45. package/src/charts/conversion-funnel-chart/test/use-funnel-selection.test.ts +23 -188
  46. package/src/charts/conversion-funnel-chart/types.ts +22 -0
  47. package/src/charts/leaderboard-chart/leaderboard-chart.module.scss +41 -1
  48. package/src/charts/leaderboard-chart/leaderboard-chart.tsx +101 -30
  49. package/src/charts/leaderboard-chart/test/leaderboard-chart.test.tsx +47 -0
  50. package/src/charts/line-chart/line-chart.tsx +25 -18
  51. package/src/charts/line-chart/test/line-chart.test.tsx +240 -1
  52. package/src/charts/pie-chart/pie-chart.tsx +7 -2
  53. package/src/charts/pie-semi-circle-chart/pie-semi-circle-chart.tsx +7 -2
  54. package/src/charts/private/pie-keyboard-navigation/index.ts +0 -1
  55. package/src/charts/private/{pie-keyboard-navigation/pie-keyboard-navigation.module.scss → selected-ring/selected-ring.module.scss} +11 -6
  56. package/src/charts/private/selected-ring/selected-ring.tsx +73 -0
  57. package/src/charts/private/{pie-keyboard-navigation/test/selected-segment-ring.test.ts → selected-ring/test/selected-ring.test.ts} +1 -1
  58. package/src/components/legend/hooks/test/use-chart-legend-items.test.tsx +20 -0
  59. package/src/components/legend/hooks/use-chart-legend-items.ts +27 -3
  60. package/src/components/tooltip/private/at-nearest-date.ts +49 -0
  61. package/src/components/tooltip/private/keyboard-stops.ts +67 -0
  62. package/src/components/tooltip/private/xy-chart-tooltip-overlay.tsx +10 -2
  63. package/src/components/tooltip/test/keyboard-stops.test.ts +36 -0
  64. package/src/components/tooltip/test/xy-chart-tooltip.test.tsx +135 -1
  65. package/src/components/tooltip/xy-chart-tooltip.tsx +11 -14
  66. package/src/index.ts +10 -2
  67. package/src/providers/chart-context/global-charts-provider.tsx +2 -0
  68. package/src/providers/chart-context/test/chart-context.test.tsx +0 -13
  69. package/src/providers/chart-context/themes.ts +0 -1
  70. package/src/providers/chart-context/types.ts +2 -0
  71. package/src/test-utils/selected-bar-ring.ts +14 -0
  72. package/src/types.ts +14 -5
  73. package/src/charts/private/pie-keyboard-navigation/selected-segment-ring.tsx +0 -47
package/dist/index.d.ts CHANGED
@@ -7,7 +7,6 @@ import { LegendOrdinal } from "@visx/legend";
7
7
  import { CircleSubjectProps, ConnectorProps, LabelProps, LineSubjectProps } from "@visx/annotation";
8
8
  import { PieProvidedProps } from "@visx/shape";
9
9
  import { AxisRendererProps, AxisScale, Orientation, TickFormatter } from "@visx/axis";
10
- //#region src/types.d.ts
11
10
  type ValueOf<T> = T[keyof T];
12
11
  type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
13
12
  /**
@@ -164,12 +163,13 @@ type LeaderboardEntryFields = {
164
163
  */
165
164
  previousValue?: number;
166
165
  /**
167
- * Width of current bar, as % of the current value
166
+ * Width of current bar, as % of the largest absolute value across rows. A negative share
167
+ * extends the bar from a shared zero point toward the inline start, for every row.
168
168
  */
169
169
  currentShare: number;
170
170
  /**
171
- * Width of previous bar, as % of the current value. Omit when this row has
172
- * no matching comparison-period value.
171
+ * Width of previous bar, as % of the largest absolute value across rows. Omit when this
172
+ * row has no matching comparison-period value.
173
173
  */
174
174
  previousShare?: number;
175
175
  /**
@@ -244,13 +244,20 @@ type SeriesData = {
244
244
  };
245
245
  /**
246
246
  * Visual styling for a bar series of a given semantic type (e.g. 'comparison').
247
- * `widthFactor` is the bar width relative to the primary bar slot (1.5 = 150%);
248
- * `opacity` sets the shadow translucency.
247
+ * `widthFactor` is the bar width relative to the primary bar slot (1.5 = 150%).
249
248
  */
250
249
  type BarStyles = {
251
250
  widthFactor?: number;
251
+ /**
252
+ * Draws the comparison bar translucent, in its primary's color, instead of the opaque tones the chart picks.
253
+ * @deprecated Comparison bars are opaque. Leave this unset; set the comparison series' `options.stroke` for a color of its own.
254
+ */
252
255
  opacity?: number;
253
256
  };
257
+ /**
258
+ * How a bar chart places its series in a category. `grouped` puts each primary series in a slot of its own; `overlap` puts every primary in one slot and every comparison in a second, and overlaps the `group`s within each slot.
259
+ */
260
+ type BarChartLayout = 'grouped' | 'overlap';
254
261
  type MultipleDataPointsDate = {
255
262
  label: string;
256
263
  data: DataPointDate[];
@@ -727,8 +734,6 @@ type BaseChartProps<T = DataPoint | DataPointDate | LeaderboardEntry> = {
727
734
  };
728
735
  };
729
736
  };
730
- //#endregion
731
- //#region src/components/legend/types.d.ts
732
737
  type VisxLegendProps = Pick<ComponentProps<typeof LegendOrdinal>, 'className' | 'shape' | 'fill' | 'size' | 'labelFormat' | 'labelTransform'>;
733
738
  type BaseLegendProps = VisxLegendProps & {
734
739
  items: BaseLegendItem[];
@@ -781,14 +786,10 @@ type BaseLegendItem = {
781
786
  /** Label of the series this static item describes; the item is left out while it is hidden. */
782
787
  describesSeries?: string;
783
788
  };
784
- //#endregion
785
- //#region src/components/legend/legend.d.ts
786
789
  export declare const Legend: import("react").ForwardRefExoticComponent<Omit<BaseLegendProps, "items"> & {
787
790
  items?: BaseLegendItem[];
788
791
  chartId?: string;
789
792
  } & import("react").RefAttributes<HTMLDivElement>>;
790
- //#endregion
791
- //#region src/components/legend/hooks/use-chart-legend-items.d.ts
792
793
  type LegendValueDisplay = 'percentage' | 'value' | 'valueDisplay' | 'none';
793
794
  interface ChartLegendOptions {
794
795
  withGlyph?: boolean;
@@ -810,6 +811,8 @@ interface ChartLegendOptions {
810
811
  comparisonItem?: SeriesChartLegendConfig['comparisonItem'];
811
812
  /** One static item per comparison series instead; see `SeriesChartLegendConfig`. */
812
813
  comparisonSeriesItems?: SeriesChartLegendConfig['comparisonSeriesItems'];
814
+ /** Each series' swatch color, by index, in place of its series color. */
815
+ seriesColors?: string[];
813
816
  }
814
817
  /**
815
818
  * Hook to transform chart data into legend items
@@ -819,8 +822,6 @@ interface ChartLegendOptions {
819
822
  * @return Array of legend items ready for display
820
823
  */
821
824
  export declare function useChartLegendItems<T extends SeriesData[] | DataPointDate[] | DataPointPercentageCalculated[]>(data: T, options?: ChartLegendOptions, legendShape?: LegendShape<SeriesData[], number>): BaseLegendItem[];
822
- //#endregion
823
- //#region src/charts/private/chart-instance-context/chart-instance-context.d.ts
824
825
  interface ChartInstanceRef {
825
826
  getScales: () => {
826
827
  xScale: unknown;
@@ -837,8 +838,6 @@ interface ChartInstanceRef {
837
838
  };
838
839
  };
839
840
  }
840
- //#endregion
841
- //#region src/visx/types.d.ts
842
841
  type RenderTooltipParams<Datum extends object> = TooltipContextType<Datum> & {
843
842
  colorScale?: PickD3Scale<'ordinal', string, string>;
844
843
  };
@@ -905,8 +904,6 @@ type XyChartTooltipProps<Datum extends object> = {
905
904
  */
906
905
  resizeObserverPolyfill?: UseTooltipPortalOptions['polyfill'];
907
906
  } & Omit<TooltipProps$1, 'left' | 'top' | 'children' | 'applyPositionStyle'>;
908
- //#endregion
909
- //#region src/charts/line-chart/types.d.ts
910
907
  type LineChartAnnotationProps = {
911
908
  datum: DataPointDate;
912
909
  title: string;
@@ -981,8 +978,6 @@ type TooltipDatum = {
981
978
  /** The series' reading, or null when the bucket has none. */
982
979
  value: number | null;
983
980
  };
984
- //#endregion
985
- //#region src/charts/area-chart/types.d.ts
986
981
  interface AreaChartProps extends BaseChartProps<SeriesData[]>, SeriesVisibilityProps {
987
982
  /**
988
983
  * Legend configuration. Supports `collapseGroups` on top of the shared options.
@@ -1049,8 +1044,6 @@ interface AreaChartProps extends BaseChartProps<SeriesData[]>, SeriesVisibilityP
1049
1044
  rescaleYOnVisibilityChange?: boolean;
1050
1045
  children?: ReactNode;
1051
1046
  }
1052
- //#endregion
1053
- //#region src/charts/private/with-responsive/with-responsive.d.ts
1054
1047
  type ResponsiveConfig = {
1055
1048
  /**
1056
1049
  * The maximum width of the chart. Defaults to 1200.
@@ -1071,8 +1064,6 @@ type ResponsiveConfig = {
1071
1064
  */
1072
1065
  resizeDebounceTime?: number;
1073
1066
  };
1074
- //#endregion
1075
- //#region src/charts/area-chart/area-chart.d.ts
1076
1067
  type AreaChartSubComponents = {
1077
1068
  Legend: typeof Legend;
1078
1069
  };
@@ -1081,8 +1072,6 @@ type AreaChartComponent = React.ForwardRefExoticComponent<AreaChartBaseProps & R
1081
1072
  type AreaChartResponsiveComponent = React.ForwardRefExoticComponent<AreaChartBaseProps & ResponsiveConfig & React.RefAttributes<ChartInstanceRef>> & AreaChartSubComponents;
1082
1073
  declare const AreaChart: AreaChartComponent;
1083
1074
  declare const AreaChartResponsive: AreaChartResponsiveComponent;
1084
- //#endregion
1085
- //#region src/charts/bar-chart/types.d.ts
1086
1075
  type BandHighlightSelection = {
1087
1076
  datum: DataPointDate;
1088
1077
  key: string;
@@ -1107,6 +1096,8 @@ interface BarChartProps extends BaseChartProps<SeriesData[]>, SeriesVisibilityPr
1107
1096
  /** CSS class for each primary bar, in addition to visx-bar. */
1108
1097
  barClassName?: (datum: DataPointDate) => string | undefined;
1109
1098
  orientation?: 'horizontal' | 'vertical';
1099
+ /** Defaults to `grouped`. */
1100
+ layout?: BarChartLayout;
1110
1101
  withPatterns?: boolean;
1111
1102
  showZeroValues?: boolean;
1112
1103
  /** Highlight the active band across the plot when tooltips are enabled. */
@@ -1115,8 +1106,6 @@ interface BarChartProps extends BaseChartProps<SeriesData[]>, SeriesVisibilityPr
1115
1106
  onBandHighlightChange?: (selection: BandHighlightSelection | null) => void;
1116
1107
  children?: ReactNode;
1117
1108
  }
1118
- //#endregion
1119
- //#region src/charts/bar-chart/bar-chart.d.ts
1120
1109
  type BarChartBaseProps = Optional<BarChartProps, 'width' | 'height' | 'size'>;
1121
1110
  interface BarChartSubComponents {
1122
1111
  Legend: ComponentType<React.ComponentProps<typeof Legend>>;
@@ -1125,8 +1114,28 @@ type BarChartComponent = FC<BarChartBaseProps> & BarChartSubComponents;
1125
1114
  type BarChartResponsiveComponent = FC<BarChartBaseProps & ResponsiveConfig> & BarChartSubComponents;
1126
1115
  declare const BarChart: BarChartComponent;
1127
1116
  declare const BarChartResponsive: BarChartResponsiveComponent;
1128
- //#endregion
1129
- //#region src/charts/bar-list-chart/bar-list-chart.d.ts
1117
+ type GetBarColors = (series: SeriesData[], options?: {
1118
+ layout?: BarChartLayout;
1119
+ }) => string[];
1120
+ /**
1121
+ * Reads the colors `BarChart` fills series with, so a custom tooltip or legend can match the bars.
1122
+ *
1123
+ * @return A function from series and a layout to each series' bar color, by index.
1124
+ */
1125
+ export declare function useBarColors(): GetBarColors;
1126
+ type BarLegendOptions = Omit<ChartLegendOptions, 'seriesColors'> & {
1127
+ /** The layout the bars are drawn in. Unset, the items are the chart legend's own. */
1128
+ layout?: BarChartLayout;
1129
+ };
1130
+ /**
1131
+ * Builds legend items that match `BarChart`'s bars in a layout, for a custom legend or a chart's own.
1132
+ *
1133
+ * @param data - The series the chart draws.
1134
+ * @param options - The legend options, and the layout the bars are drawn in.
1135
+ * @param legendShape - The shape of the legend swatches.
1136
+ * @return The legend items.
1137
+ */
1138
+ export declare function useBarLegendItems(data: SeriesData[], options?: BarLegendOptions, legendShape?: LegendShape<SeriesData[], number>): BaseLegendItem[];
1130
1139
  interface BarListChartProps extends Exclude<BarChartProps, 'orientation' | 'size' | 'gridVisibility'> {
1131
1140
  options?: {
1132
1141
  /**
@@ -1195,8 +1204,6 @@ declare const BarListChartResponsive: ({ resizeDebounceTime, maxWidth, aspectRat
1195
1204
  height?: number;
1196
1205
  size?: number;
1197
1206
  } & ResponsiveConfig) => import("react").JSX.Element;
1198
- //#endregion
1199
- //#region src/charts/conversion-funnel-chart/types.d.ts
1200
1207
  /**
1201
1208
  * Represents a single step in the conversion funnel
1202
1209
  */
@@ -1235,12 +1242,30 @@ interface MainMetricRenderProps {
1235
1242
  className?: string;
1236
1243
  changeColor?: string;
1237
1244
  }
1245
+ /**
1246
+ * A labeled line in a funnel step's tooltip
1247
+ */
1248
+ interface FunnelTooltipRow {
1249
+ label: string;
1250
+ value: string;
1251
+ }
1252
+ /**
1253
+ * What a funnel step's tooltip shows below or beside the step's name. Screen readers read the same content after the name.
1254
+ */
1255
+ interface FunnelTooltipContent {
1256
+ /** Shown on the name's line, e.g. the step's count */
1257
+ value?: string;
1258
+ /** Labeled lines below the name */
1259
+ rows?: FunnelTooltipRow[];
1260
+ }
1238
1261
  /**
1239
1262
  * Render prop for customizing tooltip content
1240
1263
  */
1241
1264
  interface TooltipRenderProps {
1242
1265
  step: FunnelStep;
1243
1266
  index: number;
1267
+ /** The step's tooltip content. Screen readers read the whole rendered tooltip as the step's description. */
1268
+ content: FunnelTooltipContent;
1244
1269
  top: number;
1245
1270
  left: number;
1246
1271
  /** @deprecated The tooltip box draws the package surface; this is no longer set. */
@@ -1270,11 +1295,11 @@ interface ConversionFunnelChartProps extends Pick<BaseChartProps, 'className' |
1270
1295
  renderMainMetric?: (props: MainMetricRenderProps) => React.ReactNode;
1271
1296
  /** Custom render function for tooltip content */
1272
1297
  renderTooltip?: (props: TooltipRenderProps) => React.ReactNode;
1298
+ /** What each step's tooltip shows, which screen readers also read after the step's name. Defaults to the count and the conversion rate. */
1299
+ getTooltipContent?: (step: FunnelStep, index: number) => FunnelTooltipContent;
1273
1300
  /** Inline styles merged over the tooltip box defaults. */
1274
1301
  tooltipStyle?: React.CSSProperties;
1275
1302
  }
1276
- //#endregion
1277
- //#region src/charts/conversion-funnel-chart/conversion-funnel-chart.d.ts
1278
1303
  /**
1279
1304
  * ConversionFunnelChart component with provider wrapper
1280
1305
  *
@@ -1282,8 +1307,6 @@ interface ConversionFunnelChartProps extends Pick<BaseChartProps, 'className' |
1282
1307
  * @return JSX element representing the conversion funnel chart
1283
1308
  */
1284
1309
  declare const ConversionFunnelChartWithProvider: FC<ConversionFunnelChartProps>;
1285
- //#endregion
1286
- //#region src/charts/geo-chart/types.d.ts
1287
1310
  /**
1288
1311
  * Region to display on the map.
1289
1312
  * Use 'world' for global view or any ISO 3166-1 alpha-2 country code
@@ -1352,16 +1375,12 @@ interface GeoChartProps extends Pick<BaseChartProps, 'className' | 'chartId' | '
1352
1375
  */
1353
1376
  renderPlaceholder?: () => React.ReactNode;
1354
1377
  }
1355
- //#endregion
1356
- //#region src/charts/geo-chart/geo-chart.d.ts
1357
1378
  declare const GeoChartWithProvider: FC<GeoChartProps>;
1358
1379
  declare const GeoChartResponsive: ({ resizeDebounceTime, maxWidth, aspectRatio, size, width, height, ...chartProps }: Omit<GeoChartProps, "height" | "size" | "width"> & {
1359
1380
  width?: number;
1360
1381
  height?: number;
1361
1382
  size?: number;
1362
1383
  } & ResponsiveConfig) => import("react").JSX.Element;
1363
- //#endregion
1364
- //#region src/charts/heatmap-chart/types.d.ts
1365
1384
  /** A single heatmap cell. `value: null` marks an empty cell, as does a zero when no value is negative. */
1366
1385
  type HeatmapCell = {
1367
1386
  /** Per-cell label used in the tooltip / accessible name. */
@@ -1516,8 +1535,6 @@ type MonthCalendarHeatmapResult = {
1516
1535
  /** For `HeatmapChart`'s `columnGroups`: one per month, in order. */
1517
1536
  columnGroups: HeatmapColumnGroup[];
1518
1537
  };
1519
- //#endregion
1520
- //#region src/charts/heatmap-chart/private/heatmap-legend.d.ts
1521
1538
  interface HeatmapLegendProps {
1522
1539
  /** Number of color swatches in the scale, not counting the empty-cell swatch. Default 5. */
1523
1540
  steps?: number;
@@ -1530,15 +1547,11 @@ interface HeatmapLegendProps {
1530
1547
  moreLabel?: string;
1531
1548
  }
1532
1549
  declare const HeatmapLegend: FC<HeatmapLegendProps>;
1533
- //#endregion
1534
- //#region src/charts/heatmap-chart/heatmap-chart.d.ts
1535
1550
  interface HeatmapChartSubComponents {
1536
1551
  Legend: typeof HeatmapLegend;
1537
1552
  }
1538
1553
  declare const HeatmapChart: FC<HeatmapChartProps> & HeatmapChartSubComponents;
1539
1554
  declare const HeatmapChartResponsive: FC<HeatmapChartProps & ResponsiveConfig> & HeatmapChartSubComponents;
1540
- //#endregion
1541
- //#region src/charts/heatmap-chart/build-calendar-data.d.ts
1542
1555
  /**
1543
1556
  * Lay a day-bucketed series out as calendar columns.
1544
1557
  *
@@ -1547,8 +1560,6 @@ declare const HeatmapChartResponsive: FC<HeatmapChartProps & ResponsiveConfig> &
1547
1560
  * @return Columns and row labels for `HeatmapChart`.
1548
1561
  */
1549
1562
  export declare const buildCalendarHeatmapData: (series: DataPointDate[], options?: CalendarHeatmapOptions) => CalendarHeatmapResult;
1550
- //#endregion
1551
- //#region src/charts/heatmap-chart/build-month-calendar-data.d.ts
1552
1563
  /**
1553
1564
  * Lay a day-keyed map out as one month calendar per month, weekdays across and
1554
1565
  * weeks down, for `HeatmapChart` with `columnGroups`.
@@ -1559,8 +1570,6 @@ export declare const buildCalendarHeatmapData: (series: DataPointDate[], options
1559
1570
  * @return Columns and one group per month; empty for an invalid or reversed range.
1560
1571
  */
1561
1572
  export declare const buildMonthCalendarHeatmapData: (valueByDay: Record<string, number | null>, range: MonthCalendarHeatmapRange, options?: MonthCalendarHeatmapOptions) => MonthCalendarHeatmapResult;
1562
- //#endregion
1563
- //#region src/charts/heatmap-chart/use-calendar-heatmap-data.d.ts
1564
1573
  /**
1565
1574
  * `buildCalendarHeatmapData` with the locale and zone taken from
1566
1575
  * `GlobalChartsProvider` where the caller names neither.
@@ -1570,8 +1579,6 @@ export declare const buildMonthCalendarHeatmapData: (valueByDay: Record<string,
1570
1579
  * @return Columns and row labels for `HeatmapChart`.
1571
1580
  */
1572
1581
  export declare const useCalendarHeatmapData: (series: DataPointDate[], options?: CalendarHeatmapOptions) => CalendarHeatmapResult;
1573
- //#endregion
1574
- //#region src/charts/heatmap-chart/use-month-calendar-heatmap-data.d.ts
1575
1582
  /**
1576
1583
  * `buildMonthCalendarHeatmapData` with the locale taken from `GlobalChartsProvider`
1577
1584
  * where the caller names none.
@@ -1582,8 +1589,6 @@ export declare const useCalendarHeatmapData: (series: DataPointDate[], options?:
1582
1589
  * @return Columns and groups for `HeatmapChart`.
1583
1590
  */
1584
1591
  export declare const useMonthCalendarHeatmapData: (valueByDay: Record<string, number | null>, range: MonthCalendarHeatmapRange, options?: MonthCalendarHeatmapOptions) => MonthCalendarHeatmapResult;
1585
- //#endregion
1586
- //#region src/charts/leaderboard-chart/types.d.ts
1587
1592
  interface LeaderboardChartProps extends Pick<BaseChartProps<LeaderboardEntry>, 'className' | 'showLegend' | 'legend' | 'chartId' | 'width' | 'height' | 'size' | 'gap' | 'animation' | 'ariaLabel'> {
1588
1593
  /**
1589
1594
  * Entries to display. Declared here rather than picked, since the base type
@@ -1651,8 +1656,6 @@ interface LeaderboardChartProps extends Pick<BaseChartProps<LeaderboardEntry>, '
1651
1656
  */
1652
1657
  children?: ReactNode;
1653
1658
  }
1654
- //#endregion
1655
- //#region src/charts/leaderboard-chart/leaderboard-chart.d.ts
1656
1659
  declare const LeaderboardChart: FC<LeaderboardChartProps> & {
1657
1660
  Legend: import("react").ForwardRefExoticComponent<Omit<BaseLegendProps, "items"> & {
1658
1661
  items?: BaseLegendItem[];
@@ -1669,8 +1672,6 @@ declare const LeaderboardChartResponsive: (({ resizeDebounceTime, maxWidth, aspe
1669
1672
  chartId?: string;
1670
1673
  } & import("react").RefAttributes<HTMLDivElement>>;
1671
1674
  };
1672
- //#endregion
1673
- //#region src/utils/bucket-info.d.ts
1674
1675
  /**
1675
1676
  * How this data was classified, for consumers that render their own labels.
1676
1677
  *
@@ -1679,8 +1680,6 @@ declare const LeaderboardChartResponsive: (({ resizeDebounceTime, maxWidth, aspe
1679
1680
  * @return The declared or inferred bucket, and the resolution formats key on.
1680
1681
  */
1681
1682
  export declare const getBucketInfo: (data: SeriesData[], tickResolution?: TickResolution) => BucketInfo;
1682
- //#endregion
1683
- //#region src/utils/date-parsing.d.ts
1684
1683
  /**
1685
1684
  * Parses any supported date string format into an instant, dated in `timeZone` or the runtime's own
1686
1685
  *
@@ -1698,8 +1697,6 @@ export declare const getBucketInfo: (data: SeriesData[], tickResolution?: TickRe
1698
1697
  * @return {Date} A Date object representing the parsed instant, or an invalid Date if parsing fails
1699
1698
  */
1700
1699
  export declare const parseAsLocalDate: (dateString: string, timeZone?: string) => Date;
1701
- //#endregion
1702
- //#region src/utils/format-metric-value.d.ts
1703
1700
  /**
1704
1701
  * Types for formatMetricValue
1705
1702
  */
@@ -1722,8 +1719,6 @@ type FormatMetricValueOptions = {
1722
1719
  * @return Formatted string
1723
1720
  */
1724
1721
  export declare const formatMetricValue: (value: string | number, type?: MetricValueType, { decimals, useMultipliers, signDisplay }?: FormatMetricValueOptions) => string;
1725
- //#endregion
1726
- //#region src/utils/format-percentage.d.ts
1727
1722
  /**
1728
1723
  * Format a percentage value with smart decimal handling.
1729
1724
  * Uses `@automattic/number-formatters` for consistent formatting.
@@ -1733,8 +1728,6 @@ export declare const formatMetricValue: (value: string | number, type?: MetricVa
1733
1728
  * @return Formatted percentage string (e.g., "30%", "30.1%", "30.25%")
1734
1729
  */
1735
1730
  export declare const formatPercentage: (value: number) => string;
1736
- //#endregion
1737
- //#region src/utils/merge-themes.d.ts
1738
1731
  /**
1739
1732
  * Merges chart themes with proper precedence.
1740
1733
  * The second theme (override) takes precedence over the first theme (base).
@@ -1745,8 +1738,6 @@ export declare const formatPercentage: (value: number) => string;
1745
1738
  */
1746
1739
  export declare function mergeThemes(baseTheme: CompleteChartTheme, overrideTheme: Partial<ChartTheme>): CompleteChartTheme;
1747
1740
  export declare function mergeThemes(baseTheme: ChartTheme, overrideTheme: Partial<ChartTheme>): ChartTheme;
1748
- //#endregion
1749
- //#region src/utils/color-utils.d.ts
1750
1741
  /**
1751
1742
  * Check if a value is a valid 6-digit hex color
1752
1743
  * @param hex - The value to check
@@ -1832,8 +1823,6 @@ export declare const relativeLuminance: (hex: string) => number;
1832
1823
  * @return true if light text should be used; false (dark text) for malformed colors
1833
1824
  */
1834
1825
  export declare const prefersLightText: (backgroundHex: string) => boolean;
1835
- //#endregion
1836
- //#region src/utils/resolve-css-var.d.ts
1837
1826
  /**
1838
1827
  * Resolves a CSS custom property (variable) to its computed value.
1839
1828
  * Handles multiple formats:
@@ -1847,8 +1836,6 @@ export declare const prefersLightText: (backgroundHex: string) => boolean;
1847
1836
  * @return The resolved value, fallback value, or null if unresolvable
1848
1837
  */
1849
1838
  export declare const resolveCssVariable: (value: string, element?: HTMLElement | null) => string | null;
1850
- //#endregion
1851
- //#region src/charts/leaderboard-chart/hooks/use-leaderboard-legend-items.d.ts
1852
1839
  /**
1853
1840
  * Hook to create legend items from leaderboard data
1854
1841
  * @param root0 - Configuration object
@@ -1873,17 +1860,11 @@ export declare function useLeaderboardLegendItems({ data, primaryColor, secondar
1873
1860
  comparison?: string;
1874
1861
  };
1875
1862
  }): BaseLegendItem[];
1876
- //#endregion
1877
- //#region src/charts/line-chart/private/line-chart-annotations-overlay.d.ts
1878
1863
  interface LineChartAnnotationsProps {
1879
1864
  children?: ReactNode;
1880
1865
  }
1881
1866
  declare const LineChartAnnotationsOverlay: FC<LineChartAnnotationsProps>;
1882
- //#endregion
1883
- //#region src/charts/line-chart/private/line-chart-annotation.d.ts
1884
1867
  declare const LineChartAnnotation: FC<LineChartAnnotationProps>;
1885
- //#endregion
1886
- //#region src/charts/line-chart/line-chart.d.ts
1887
1868
  type LineChartAnnotationComponents = {
1888
1869
  AnnotationsOverlay: typeof LineChartAnnotationsOverlay;
1889
1870
  Annotation: typeof LineChartAnnotation;
@@ -1894,8 +1875,6 @@ type LineChartComponent = React.ForwardRefExoticComponent<LineChartBaseProps & R
1894
1875
  type LineChartResponsiveComponent = React.ForwardRefExoticComponent<LineChartBaseProps & ResponsiveConfig & React.RefAttributes<ChartInstanceRef>> & LineChartAnnotationComponents;
1895
1876
  declare const LineChart: LineChartComponent;
1896
1877
  declare const LineChartResponsive: LineChartResponsiveComponent;
1897
- //#endregion
1898
- //#region src/charts/private/chart-composition/types.d.ts
1899
1878
  /**
1900
1879
  * Base interface for chart subcomponents in the composition API
1901
1880
  */
@@ -1910,8 +1889,6 @@ interface BaseChartSubComponents {
1910
1889
  * @template TSubComponents - Additional subcomponents beyond the base ones
1911
1890
  */
1912
1891
  type ChartComponentWithComposition<TProps, TSubComponents extends BaseChartSubComponents = BaseChartSubComponents> = FC<TProps> & TSubComponents;
1913
- //#endregion
1914
- //#region src/charts/pie-chart/pie-chart.d.ts
1915
1892
  /**
1916
1893
  * Parameters passed to the renderTooltip function for pie charts.
1917
1894
  */
@@ -1981,8 +1958,6 @@ type PieChartComponent = ChartComponentWithComposition<PieChartBaseProps>;
1981
1958
  type PieChartResponsiveComponent = ChartComponentWithComposition<PieChartBaseProps & ResponsiveConfig>;
1982
1959
  declare const PieChart: PieChartComponent;
1983
1960
  declare const PieChartResponsive: PieChartResponsiveComponent;
1984
- //#endregion
1985
- //#region src/charts/pie-semi-circle-chart/pie-semi-circle-chart.d.ts
1986
1961
  /**
1987
1962
  * Parameters passed to the renderTooltip function for semi-circle charts.
1988
1963
  */
@@ -2048,8 +2023,6 @@ type PieSemiCircleChartResponsiveComponent = ChartComponentWithComposition<PieSe
2048
2023
  type ArcData = PieProvidedProps<DataPointPercentageCalculated>['arcs'][number];
2049
2024
  declare const PieSemiCircleChart: PieSemiCircleChartComponent;
2050
2025
  declare const PieSemiCircleChartResponsive: PieSemiCircleChartResponsiveComponent;
2051
- //#endregion
2052
- //#region src/charts/sparkline/types.d.ts
2053
2026
  type SparklineDataPoint = number;
2054
2027
  type GradientConfig = {
2055
2028
  /**
@@ -2137,8 +2110,6 @@ interface SparklineProps {
2137
2110
  */
2138
2111
  animation?: boolean;
2139
2112
  }
2140
- //#endregion
2141
- //#region src/charts/sparkline/sparkline.d.ts
2142
2113
  /**
2143
2114
  * Sparkline - A minimal line chart for inline data visualization.
2144
2115
  *
@@ -2158,8 +2129,6 @@ declare const Sparkline: ({ resizeDebounceTime, maxWidth, aspectRatio, size, wid
2158
2129
  height?: number;
2159
2130
  size?: number;
2160
2131
  } & ResponsiveConfig) => import("react").JSX.Element;
2161
- //#endregion
2162
- //#region src/components/tooltip/types.d.ts
2163
2132
  type TooltipProps = {
2164
2133
  data: {
2165
2134
  label: string;
@@ -2171,8 +2140,6 @@ type TooltipData = {
2171
2140
  value: number;
2172
2141
  valueDisplay?: string;
2173
2142
  };
2174
- //#endregion
2175
- //#region src/components/tooltip/base-tooltip.d.ts
2176
2143
  type TooltipComponentProps = {
2177
2144
  data: TooltipData;
2178
2145
  className?: string;
@@ -2218,9 +2185,7 @@ type BaseTooltipProps = TooltipCommonProps & (DefaultDataTooltip | CustomTooltip
2218
2185
  * @param props.renderContainer - Deprecated; render the content alone when false.
2219
2186
  * @return The tooltip.
2220
2187
  */
2221
- export declare const BaseTooltip: ({ data, top, left, component: Component, children, className, style, renderContainer }: BaseTooltipProps) => string | number | true | import("react").JSX.Element | Iterable<ReactNode>;
2222
- //#endregion
2223
- //#region src/components/tooltip/xy-chart-tooltip.d.ts
2188
+ export declare const BaseTooltip: ({ data, top, left, component: Component, children, className, style, renderContainer }: BaseTooltipProps) => string | number | bigint | true | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal>;
2224
2189
  type FlattenedTooltipData = {
2225
2190
  datum: DataPointDate;
2226
2191
  seriesLabel: string;
@@ -2239,7 +2204,7 @@ interface XYChartTooltipProps extends Omit<XyChartTooltipProps<DataPointDate>, '
2239
2204
  */
2240
2205
  tooltipData?: FlattenedTooltipData[];
2241
2206
  /**
2242
- * For line charts: series data to show all series at selected data point
2207
+ * For line charts: series data to show every series at the selected date
2243
2208
  * When provided, shows all series instead of individual tooltips
2244
2209
  */
2245
2210
  series?: SeriesData[];
@@ -2252,8 +2217,6 @@ interface XYChartTooltipProps extends Omit<XyChartTooltipProps<DataPointDate>, '
2252
2217
  export declare const XYChartTooltip: React.FC<XYChartTooltipProps>;
2253
2218
  /** @deprecated Use `XYChartTooltip`. */
2254
2219
  export declare const AccessibleTooltip: import("react").FC<XYChartTooltipProps>;
2255
- //#endregion
2256
- //#region src/components/tooltip/tooltip-box.d.ts
2257
2220
  type TooltipBoxProps = HTMLAttributes<HTMLDivElement> & {
2258
2221
  /** Drop the chart surface, scope class and dark theme, leaving a bare box. */
2259
2222
  unstyled?: boolean;
@@ -2270,8 +2233,6 @@ export declare const TooltipBox: import("react").ForwardRefExoticComponent<HTMLA
2270
2233
  /** Drop the chart surface, scope class and dark theme, leaving a bare box. */
2271
2234
  unstyled?: boolean;
2272
2235
  } & import("react").RefAttributes<HTMLDivElement>>;
2273
- //#endregion
2274
- //#region src/components/trend-indicator/types.d.ts
2275
2236
  /**
2276
2237
  * The direction of the trend
2277
2238
  */
@@ -2302,8 +2263,6 @@ type TrendIndicatorProps = {
2302
2263
  */
2303
2264
  showIcon?: boolean;
2304
2265
  };
2305
- //#endregion
2306
- //#region src/components/trend-indicator/trend-indicator.d.ts
2307
2266
  /**
2308
2267
  * TrendIndicator displays a directional trend with a value.
2309
2268
  * Used to show percentage changes or growth metrics.
@@ -2312,8 +2271,6 @@ type TrendIndicatorProps = {
2312
2271
  * @return {JSX.Element} The rendered trend indicator
2313
2272
  */
2314
2273
  export declare function TrendIndicator({ direction, value, className, style, showIcon }: TrendIndicatorProps): JSX.Element;
2315
- //#endregion
2316
- //#region src/providers/chart-context/types.d.ts
2317
2274
  interface ChartRegistration {
2318
2275
  legendItems: BaseLegendItem[];
2319
2276
  chartType: ChartType;
@@ -2341,6 +2298,8 @@ interface GlobalChartsContextValue {
2341
2298
  /** Locale and time zone every date the charts print is rendered in. */
2342
2299
  formatting: ChartFormatting;
2343
2300
  getElementStyles: (params: GetElementStylesParams) => ElementStyles;
2301
+ /** The chart background as an opaque hex, for colors that must keep contrast against it. Optional so a hand-built context value still type-checks. */
2302
+ backgroundColor?: string;
2344
2303
  toggleSeriesVisibility: (chartId: string, seriesLabel: string) => void;
2345
2304
  setSeriesVisibility: (chartId: string, seriesLabel: string, visible: boolean) => void;
2346
2305
  setChartHiddenSeries: (chartId: string, seriesLabels: readonly string[]) => void;
@@ -2352,8 +2311,6 @@ interface GlobalChartsContextValue {
2352
2311
  getHiddenSeries: (chartId: string) => Set<string>;
2353
2312
  isColorPaletteResolved: boolean;
2354
2313
  }
2355
- //#endregion
2356
- //#region src/providers/chart-context/global-charts-provider.d.ts
2357
2314
  export declare const GlobalChartsContext: import("react").Context<GlobalChartsContextValue>;
2358
2315
  interface GlobalChartsProviderProps {
2359
2316
  children: ReactNode;
@@ -2370,11 +2327,7 @@ interface GlobalChartsProviderProps {
2370
2327
  timeZone?: string;
2371
2328
  }
2372
2329
  export declare const GlobalChartsProvider: FC<GlobalChartsProviderProps>;
2373
- //#endregion
2374
- //#region src/providers/chart-context/hooks/use-global-charts-context.d.ts
2375
2330
  export declare const useGlobalChartsContext: () => GlobalChartsContextValue;
2376
- //#endregion
2377
- //#region src/providers/chart-context/hooks/use-chart-registration.d.ts
2378
2331
  export declare const useChartRegistration: ({ chartId, legendItems, chartType, isDataValid, metadata }: {
2379
2332
  chartId: string;
2380
2333
  legendItems: BaseLegendItem[];
@@ -2382,16 +2335,12 @@ export declare const useChartRegistration: ({ chartId, legendItems, chartType, i
2382
2335
  isDataValid: boolean;
2383
2336
  metadata?: Record<string, unknown>;
2384
2337
  }) => void;
2385
- //#endregion
2386
- //#region src/providers/chart-context/hooks/use-global-charts-theme.d.ts
2387
2338
  /**
2388
2339
  * Hook to get the global chart theme from GlobalChartsProvider
2389
2340
  *
2390
2341
  * @return The global chart theme
2391
2342
  */
2392
2343
  export declare const useGlobalChartsTheme: () => CompleteChartTheme;
2393
- //#endregion
2394
- //#region src/providers/chart-context/hooks/use-chart-formatting.d.ts
2395
2344
  /**
2396
2345
  * The locale and time zone dates are rendered in, as set on `GlobalChartsProvider`.
2397
2346
  *
@@ -2402,8 +2351,6 @@ export declare const useGlobalChartsTheme: () => CompleteChartTheme;
2402
2351
  * @return The host's formatting context.
2403
2352
  */
2404
2353
  export declare const useChartFormatting: () => ChartFormatting;
2405
- //#endregion
2406
- //#region src/providers/chart-context/themes.d.ts
2407
2354
  /**
2408
2355
  * Default theme configuration: the shape and spacing a consumer can override.
2409
2356
  *
@@ -2411,14 +2358,11 @@ export declare const useChartFormatting: () => ChartFormatting;
2411
2358
  * chains that deliver those live in `private/catalog-pointers.ts`.
2412
2359
  */
2413
2360
  declare const defaultTheme: CompleteChartTheme;
2414
- //#endregion
2415
- //#region src/providers/chart-scope/use-chart-scope-element.d.ts
2416
2361
  /**
2417
2362
  * Returns the nearest chart scope element, or `null` when rendered outside any scope (and during SSR, before the ref is attached).
2418
2363
  *
2419
2364
  * @return {HTMLElement | null} The nearest chart scope element, or `null`.
2420
2365
  */
2421
2366
  export declare const useChartScopeElement: () => HTMLElement | null;
2422
- //#endregion
2423
- export { type AnnotationStyles, type ArcData, AreaChartResponsive as AreaChart, type AreaChartProps, AreaChart as AreaChartUnresponsive, type AxisOptions, type BandHighlightSelection, BarChartResponsive as BarChart, type BarChartProps, BarChart as BarChartUnresponsive, BarListChartResponsive as BarListChart, type BarListChartProps, BarListChart as BarListChartUnresponsive, type BaseChartProps, type BaseLegendItem, type BaseLegendProps, type BaseTooltipProps, type BucketInfo, type CalendarHeatmapOptions, type CalendarHeatmapResult, type ChartFormatting, type ChartLegendConfig, type ChartLegendOptions, type ChartTheme, type ComparisonItemLabel, type CompleteChartTheme, ConversionFunnelChartWithProvider as ConversionFunnelChart, type ConversionFunnelChartProps, type CrosshairStyle, type CurveType, type DataPoint, type DataPointDate, type DataPointPercentage, type EventHandlerParams, type FunnelStep, GeoChartResponsive as GeoChart, type GeoChartError, type GeoChartProps, GeoChartWithProvider as GeoChartUnresponsive, type GeoData, type GeoDisplayMode, type GeoRegion, type GeoResolution, GlobalChartsProvider as ThemeProvider, type GoogleDataTableColumn, type GoogleDataTableRow, type GradientConfig, type GradientStop, type GridStyles, type HeatmapCell, HeatmapChartResponsive as HeatmapChart, type HeatmapChartProps, HeatmapChart as HeatmapChartUnresponsive, type HeatmapColumn, type HeatmapColumnGroup, type HeatmapTooltipData, LeaderboardChartResponsive as LeaderboardChart, type LeaderboardChartProps, LeaderboardChart as LeaderboardChartUnresponsive, type LeaderboardEntry, type LegendItemStyles, type LegendLabelStyles, type LegendPosition, type LegendProps, type LegendShape, type LegendShapeLabel, type LegendShapeRenderProps, type LegendShapeStyles, type LegendValueDisplay, LineChartResponsive as LineChart, type LineChartAnnotationProps, type LineChartProps, LineChart as LineChartUnresponsive, type LineStyles, type MainMetricRenderProps, type MetricValueType, type MonthCalendarHeatmapOptions, type MonthCalendarHeatmapRange, type MonthCalendarHeatmapResult, type MultipleDataPointsDate, type Optional, type OrientationType, PieChartResponsive as PieChart, type PieChartProps, type PieChartRenderTooltipParams, PieChart as PieChartUnresponsive, PieSemiCircleChartResponsive as PieSemiCircleChart, type PieSemiCircleChartProps, type PieSemiCircleChartRenderTooltipParams, PieSemiCircleChart as PieSemiCircleChartUnresponsive, type RenderLabelProps, type RenderLineGlyphProps, type RenderTooltipGlyphProps, type RenderTooltipParams, type RenderValueProps, type ScaleOptions, type SeriesChartLegendConfig, type SeriesData, type SeriesDataOptions, type SeriesVisibilityProps, Sparkline, type SparklineDataPoint, type SparklineProps, SparklineUnresponsive, type StepLabelRenderProps, type StepRateRenderProps, type TickResolution, type TooltipBoxProps, type TooltipData, type TooltipDatum, type TooltipPlacement, type TooltipProps, type TooltipRenderProps, type TrendDirection, type TrendIndicatorProps, type XyChartTooltipProps, defaultTheme };
2367
+ export { type AnnotationStyles, type ArcData, AreaChartResponsive as AreaChart, type AreaChartProps, AreaChart as AreaChartUnresponsive, type AxisOptions, type BandHighlightSelection, BarChartResponsive as BarChart, type BarChartLayout, type BarChartProps, BarChart as BarChartUnresponsive, type BarLegendOptions, BarListChartResponsive as BarListChart, type BarListChartProps, BarListChart as BarListChartUnresponsive, type BaseChartProps, type BaseLegendItem, type BaseLegendProps, type BaseTooltipProps, type BucketInfo, type CalendarHeatmapOptions, type CalendarHeatmapResult, type ChartFormatting, type ChartLegendConfig, type ChartLegendOptions, type ChartTheme, type ComparisonItemLabel, type CompleteChartTheme, ConversionFunnelChartWithProvider as ConversionFunnelChart, type ConversionFunnelChartProps, type CrosshairStyle, type CurveType, type DataPoint, type DataPointDate, type DataPointPercentage, type EventHandlerParams, type FunnelStep, type FunnelTooltipContent, type FunnelTooltipRow, GeoChartResponsive as GeoChart, type GeoChartError, type GeoChartProps, GeoChartWithProvider as GeoChartUnresponsive, type GeoData, type GeoDisplayMode, type GeoRegion, type GeoResolution, GlobalChartsProvider as ThemeProvider, type GoogleDataTableColumn, type GoogleDataTableRow, type GradientConfig, type GradientStop, type GridStyles, type HeatmapCell, HeatmapChartResponsive as HeatmapChart, type HeatmapChartProps, HeatmapChart as HeatmapChartUnresponsive, type HeatmapColumn, type HeatmapColumnGroup, type HeatmapTooltipData, LeaderboardChartResponsive as LeaderboardChart, type LeaderboardChartProps, LeaderboardChart as LeaderboardChartUnresponsive, type LeaderboardEntry, type LegendItemStyles, type LegendLabelStyles, type LegendPosition, type LegendProps, type LegendShape, type LegendShapeLabel, type LegendShapeRenderProps, type LegendShapeStyles, type LegendValueDisplay, LineChartResponsive as LineChart, type LineChartAnnotationProps, type LineChartProps, LineChart as LineChartUnresponsive, type LineStyles, type MainMetricRenderProps, type MetricValueType, type MonthCalendarHeatmapOptions, type MonthCalendarHeatmapRange, type MonthCalendarHeatmapResult, type MultipleDataPointsDate, type Optional, type OrientationType, PieChartResponsive as PieChart, type PieChartProps, type PieChartRenderTooltipParams, PieChart as PieChartUnresponsive, PieSemiCircleChartResponsive as PieSemiCircleChart, type PieSemiCircleChartProps, type PieSemiCircleChartRenderTooltipParams, PieSemiCircleChart as PieSemiCircleChartUnresponsive, type RenderLabelProps, type RenderLineGlyphProps, type RenderTooltipGlyphProps, type RenderTooltipParams, type RenderValueProps, type ScaleOptions, type SeriesChartLegendConfig, type SeriesData, type SeriesDataOptions, type SeriesVisibilityProps, Sparkline, type SparklineDataPoint, type SparklineProps, SparklineUnresponsive, type StepLabelRenderProps, type StepRateRenderProps, type TickResolution, type TooltipBoxProps, type TooltipData, type TooltipDatum, type TooltipPlacement, type TooltipProps, type TooltipRenderProps, type TrendDirection, type TrendIndicatorProps, type XyChartTooltipProps, defaultTheme };
2424
2368
  //# sourceMappingURL=index.d.ts.map