@automattic/charts 4.9.0 → 4.11.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 (67) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/TOKENS.md +7 -3
  3. package/dist/index.cjs +496 -774
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.css +66 -3
  6. package/dist/index.d.cts +65 -60
  7. package/dist/index.d.ts +65 -60
  8. package/dist/index.js +467 -726
  9. package/dist/index.js.map +1 -1
  10. package/dist/visx/group/index.js +1 -2
  11. package/dist/visx/legend/index.js +1 -2
  12. package/dist/visx/text/index.js +1 -2
  13. package/package.json +13 -12
  14. package/src/charts/area-chart/area-chart.tsx +2 -1
  15. package/src/charts/area-chart/test/area-chart.test.tsx +0 -8
  16. package/src/charts/area-chart/types.ts +0 -2
  17. package/src/charts/bar-chart/bar-chart.tsx +7 -2
  18. package/src/charts/bar-chart/test/bar-chart.test.tsx +0 -8
  19. package/src/charts/bar-chart/types.ts +0 -2
  20. package/src/charts/bar-list-chart/bar-list-chart.tsx +3 -0
  21. package/src/charts/conversion-funnel-chart/conversion-funnel-chart.module.scss +5 -0
  22. package/src/charts/conversion-funnel-chart/conversion-funnel-chart.tsx +23 -7
  23. package/src/charts/conversion-funnel-chart/test/conversion-funnel-chart.test.tsx +22 -0
  24. package/src/charts/conversion-funnel-chart/types.ts +1 -1
  25. package/src/charts/geo-chart/geo-chart.module.scss +27 -0
  26. package/src/charts/geo-chart/geo-chart.tsx +85 -45
  27. package/src/charts/geo-chart/private/use-tooltip-position.ts +106 -0
  28. package/src/charts/geo-chart/test/geo-chart.test.tsx +77 -46
  29. package/src/charts/geo-chart/test/use-tooltip-position.test.ts +43 -0
  30. package/src/charts/geo-chart/types.ts +1 -1
  31. package/src/charts/heatmap-chart/heatmap-chart.module.scss +3 -3
  32. package/src/charts/heatmap-chart/private/heatmap-scale.ts +48 -43
  33. package/src/charts/heatmap-chart/test/heatmap-chart.test.tsx +5 -11
  34. package/src/charts/heatmap-chart/test/heatmap-scale.test.ts +55 -27
  35. package/src/charts/heatmap-chart/types.ts +1 -3
  36. package/src/charts/leaderboard-chart/hooks/use-fitted-row-count.ts +2 -2
  37. package/src/charts/leaderboard-chart/leaderboard-chart.module.scss +6 -0
  38. package/src/charts/leaderboard-chart/leaderboard-chart.tsx +34 -19
  39. package/src/charts/leaderboard-chart/test/leaderboard-chart.test.tsx +35 -6
  40. package/src/charts/leaderboard-chart/types.ts +1 -0
  41. package/src/charts/line-chart/line-chart.tsx +3 -0
  42. package/src/charts/line-chart/test/line-chart.test.tsx +0 -8
  43. package/src/charts/line-chart/types.ts +0 -2
  44. package/src/charts/pie-chart/pie-chart.module.scss +3 -0
  45. package/src/charts/pie-chart/pie-chart.tsx +0 -5
  46. package/src/charts/pie-chart/test/pie-chart.test.tsx +4 -8
  47. package/src/charts/pie-semi-circle-chart/pie-semi-circle-chart.module.scss +3 -0
  48. package/src/charts/pie-semi-circle-chart/pie-semi-circle-chart.tsx +0 -5
  49. package/src/charts/private/pie-keyboard-navigation/pie-tooltip.tsx +8 -3
  50. package/src/charts/test/accessible-name.test.tsx +181 -0
  51. package/src/components/legend/hooks/test/use-chart-legend-items.test.tsx +63 -3
  52. package/src/components/legend/hooks/use-chart-legend-items.ts +63 -1
  53. package/src/components/legend/private/base-legend.module.scss +5 -0
  54. package/src/components/legend/private/base-legend.tsx +35 -17
  55. package/src/components/legend/test/legend.test.tsx +42 -0
  56. package/src/components/legend/types.ts +2 -0
  57. package/src/components/tooltip/_surface.scss +19 -0
  58. package/src/components/tooltip/private/bounded-tooltip.tsx +2 -2
  59. package/src/components/tooltip/tooltip-box.module.scss +3 -17
  60. package/src/hooks/test/use-xychart-theme.test.tsx +22 -0
  61. package/src/hooks/use-xychart-theme.ts +33 -2
  62. package/src/index.ts +1 -0
  63. package/src/styles/chart-scope.scss +6 -4
  64. package/src/styles/test/chart-scope.test.ts +6 -2
  65. package/src/types.ts +19 -1
  66. package/src/utils/resolve-font-size.ts +9 -10
  67. package/src/utils/test/resolve-font-size.test.ts +11 -2
package/dist/index.css CHANGED
@@ -1,4 +1,4 @@
1
- :where(.a8c-charts-scope, .a8c-charts-tooltip-scope) {
1
+ :where(.a8c-charts-scope, .a8c-charts-tooltip-scope, .geo-chart .google-visualization-tooltip) {
2
2
  --a8c-charts-color-series-1: var(--wp-admin-theme-color, var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)));
3
3
  --a8c-charts-color-grid: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
4
4
  --a8c-charts-color-axis-x: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
@@ -37,10 +37,12 @@
37
37
  --a8c-charts-border-radius-leaderboard-bar: 9999px;
38
38
  --a8c-charts-dimension-leaderboard-row-gap: var(--wpds-dimension-gap-md, 12px);
39
39
  --a8c-charts-dimension-leaderboard-column-gap: var(--wpds-dimension-gap-xs, 4px);
40
+ --a8c-charts-dimension-legend-column-gap: var(--wpds-dimension-gap-lg, 16px);
41
+ --a8c-charts-dimension-legend-row-gap: var(--wpds-dimension-gap-sm, 8px);
40
42
  }
41
43
 
42
44
  @media (forced-colors: active) {
43
- :where(.a8c-charts-scope, .a8c-charts-tooltip-scope) {
45
+ :where(.a8c-charts-scope, .a8c-charts-tooltip-scope, .geo-chart .google-visualization-tooltip) {
44
46
  --a8c-charts-color-label-axis: CanvasText;
45
47
  --a8c-charts-color-grid: GrayText;
46
48
  --a8c-charts-color-axis-x: GrayText;
@@ -51,6 +53,11 @@
51
53
  align-self: stretch;
52
54
  }
53
55
 
56
+ .a8ccharts-04TogW-legend--horizontal {
57
+ column-gap: var(--a8c-charts-dimension-legend-column-gap);
58
+ row-gap: var(--a8c-charts-dimension-legend-row-gap);
59
+ }
60
+
54
61
  .a8ccharts-04TogW-legend-item {
55
62
  font-size: var(--wpds-typography-font-size-md, 13px);
56
63
  }
@@ -428,6 +435,11 @@
428
435
  position: relative;
429
436
  }
430
437
 
438
+ .a8ccharts-mGEVca-bar-container:focus-visible {
439
+ outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
440
+ outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
441
+ }
442
+
431
443
  .a8ccharts-mGEVca-funnel-bar {
432
444
  border-radius: var(--a8c-charts-border-radius-bar) var(--a8c-charts-border-radius-bar) 0 0;
433
445
  width: 100%;
@@ -478,6 +490,43 @@
478
490
 
479
491
  .a8ccharts-8hS2IW-container .google-visualization-tooltip {
480
492
  white-space: nowrap;
493
+ padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
494
+ background-color: var(--a8c-charts-color-surface);
495
+ color: var(--a8c-charts-color-label);
496
+ border-radius: var(--wpds-border-radius-md, 4px);
497
+ font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
498
+ font-size: var(--wpds-typography-font-size-sm, 12px);
499
+ box-shadow: var(--a8c-charts-elevation-sm, 0 1px 2px 0 #0000000d, 0 2px 3px 0 #0000000a, 0 6px 6px 0 #00000008, 0 8px 8px 0 #00000005);
500
+ pointer-events: none;
501
+ border: 0;
502
+ min-width: fit-content;
503
+ line-height: 1.4;
504
+ }
505
+
506
+ @media (forced-colors: active) {
507
+ .a8ccharts-8hS2IW-container .google-visualization-tooltip {
508
+ border: var(--wpds-border-width-xs, 1px) solid CanvasText;
509
+ }
510
+ }
511
+
512
+ .a8ccharts-8hS2IW-container .google-visualization-tooltip-item-list {
513
+ margin: 0;
514
+ padding: 0;
515
+ }
516
+
517
+ .a8ccharts-8hS2IW-container .google-visualization-tooltip .google-visualization-tooltip-item-list .google-visualization-tooltip-item {
518
+ margin: 0;
519
+ padding: 0;
520
+ }
521
+
522
+ .a8ccharts-8hS2IW-container .google-visualization-tooltip .google-visualization-tooltip-item-list .google-visualization-tooltip-item:first-child {
523
+ padding-block-end: var(--wpds-dimension-padding-md, 12px);
524
+ }
525
+
526
+ .a8ccharts-8hS2IW-container .google-visualization-tooltip-item span {
527
+ color: inherit !important;
528
+ font-family: inherit !important;
529
+ font-size: inherit !important;
481
530
  }
482
531
  .a8ccharts-O3YMOW-heatmap-chart {
483
532
  isolation: isolate;
@@ -507,7 +556,7 @@
507
556
 
508
557
  .a8ccharts-O3YMOW-heatmap-chart__grid:focus-visible {
509
558
  outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
510
- outline-offset: 2px;
559
+ outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
511
560
  border-radius: var(--wpds-border-radius-sm, 2px);
512
561
  }
513
562
 
@@ -770,6 +819,12 @@
770
819
  inset: 0;
771
820
  }
772
821
 
822
+ .a8ccharts-GovfoW-rowItem {
823
+ grid-column: 1 / -1;
824
+ grid-template-columns: subgrid;
825
+ display: grid;
826
+ }
827
+
773
828
  .a8ccharts-GovfoW-row {
774
829
  grid-column: 1 / -1;
775
830
  grid-template-columns: subgrid;
@@ -890,6 +945,10 @@
890
945
  stroke: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
891
946
  stroke-width: calc(2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
892
947
  }
948
+ .a8ccharts-gnszbG-pie-chart {
949
+ isolation: isolate;
950
+ }
951
+
893
952
  .a8ccharts-gnszbG-pie-chart__plot {
894
953
  position: relative;
895
954
  }
@@ -918,6 +977,10 @@
918
977
  .a8ccharts-gnszbG-pie-chart__label-text--white {
919
978
  fill: #fff;
920
979
  }
980
+ .a8ccharts-YtTOxW-pie-semi-circle-chart {
981
+ isolation: isolate;
982
+ }
983
+
921
984
  .a8ccharts-YtTOxW-pie-semi-circle-chart__plot {
922
985
  position: relative;
923
986
  }
package/dist/index.d.cts CHANGED
@@ -32,7 +32,7 @@ type LegendShapeRenderProps<Data, Output> = {
32
32
  };
33
33
  type LegendShape<Data, Output> = 'rect' | 'circle' | 'line' | FC<LegendShapeRenderProps<Data, Output>> | ComponentClass<LegendShapeRenderProps<Data, Output>>;
34
34
  type GoogleDataTableColumnType = 'string' | 'number' | 'boolean' | 'date' | 'datetime' | 'timeofday';
35
- declare enum GoogleDataTableColumnRoleType {
35
+ export declare enum GoogleDataTableColumnRoleType {
36
36
  annotation = "annotation",
37
37
  annotationText = "annotationText",
38
38
  certainty = "certainty",
@@ -328,9 +328,15 @@ type ChartTheme = {
328
328
  *
329
329
  * `fontFamily: 'inherit'` is load-bearing here — it overrides the font stack
330
330
  * `buildChartTheme` injects inline on SVG `<text>`.
331
+ *
332
+ * Give `fontSize` in pixels (`12` or `'12px'`). Margins and pie labels cannot measure `rem`, `em`, `%` or `var()`, so they use the default size and labels can clip (CHARTS-303). An invalid size is dropped.
331
333
  */
332
334
  svgLabelSmall?: Omit<TextProps, 'fill'>;
333
- /** Styles for large SVG text (eg. axis titles), passed through to the XYChart theme. */
335
+ /**
336
+ * Styles for large SVG text (eg. axis titles), passed through to the XYChart theme.
337
+ *
338
+ * Give `fontSize` in pixels, as for `svgLabelSmall`.
339
+ */
334
340
  svgLabelBig?: TextProps;
335
341
  annotationStyles?: ThemeAnnotationStyles;
336
342
  /** LeaderboardChart specific settings */
@@ -574,6 +580,8 @@ type ChartLegendConfig<T = DataPoint | DataPointDate | LeaderboardEntry> = {
574
580
  */
575
581
  shapeStyles?: LegendShapeStyles;
576
582
  };
583
+ /** Names a comparison series' legend item after the label of the series it is compared with. */
584
+ type ComparisonItemLabel = (seriesLabel: string) => string;
577
585
  /**
578
586
  * Legend config for charts built from `SeriesData` (line, bar, area). Adds `collapseGroups` on top
579
587
  * of the shared config. It is intentionally absent from the base `ChartLegendConfig` so point-based
@@ -594,6 +602,11 @@ type SeriesChartLegendConfig = ChartLegendConfig<SeriesData[]> & {
594
602
  * Pass a string to replace the default label.
595
603
  */
596
604
  comparisonItem?: boolean | string;
605
+ /**
606
+ * Append one static item per comparison series instead, named by calling this with the label
607
+ * of the series it is compared with, and left out while that series is hidden.
608
+ */
609
+ comparisonSeriesItems?: ComparisonItemLabel;
597
610
  };
598
611
  /**
599
612
  * Initial visibility options for charts built from labelled series.
@@ -622,6 +635,10 @@ type BaseChartProps<T = DataPoint | DataPointDate | LeaderboardEntry> = {
622
635
  * Additional CSS class name for the chart container
623
636
  */
624
637
  className?: string;
638
+ /**
639
+ * Accessible name of the chart. Name it after what it shows, and give each chart on a page a different name. Each chart type has a localized default, such as "Line chart".
640
+ */
641
+ ariaLabel?: string;
625
642
  /**
626
643
  * Width of the chart container in pixels. When omitted, the chart fills its parent's width.
627
644
  */
@@ -761,10 +778,12 @@ type BaseLegendItem = {
761
778
  seriesLabels?: string[];
762
779
  /** Set to false for a static item that cannot be toggled or dimmed. */
763
780
  interactive?: boolean;
781
+ /** Label of the series this static item describes; the item is left out while it is hidden. */
782
+ describesSeries?: string;
764
783
  };
765
784
  //#endregion
766
785
  //#region src/components/legend/legend.d.ts
767
- declare const Legend: import("react").ForwardRefExoticComponent<Omit<BaseLegendProps, "items"> & {
786
+ export declare const Legend: import("react").ForwardRefExoticComponent<Omit<BaseLegendProps, "items"> & {
768
787
  items?: BaseLegendItem[];
769
788
  chartId?: string;
770
789
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -788,7 +807,9 @@ interface ChartLegendOptions {
788
807
  * `options.type === 'comparison'`. Skipped when that series already has its own
789
808
  * item. Pass a string to replace the default label.
790
809
  */
791
- comparisonItem?: boolean | string;
810
+ comparisonItem?: SeriesChartLegendConfig['comparisonItem'];
811
+ /** One static item per comparison series instead; see `SeriesChartLegendConfig`. */
812
+ comparisonSeriesItems?: SeriesChartLegendConfig['comparisonSeriesItems'];
792
813
  }
793
814
  /**
794
815
  * Hook to transform chart data into legend items
@@ -797,7 +818,7 @@ interface ChartLegendOptions {
797
818
  * @param legendShape - The shape type for legend items (string literal or React component)
798
819
  * @return Array of legend items ready for display
799
820
  */
800
- declare function useChartLegendItems<T extends SeriesData[] | DataPointDate[] | DataPointPercentageCalculated[]>(data: T, options?: ChartLegendOptions, legendShape?: LegendShape<SeriesData[], number>): BaseLegendItem[];
821
+ export declare function useChartLegendItems<T extends SeriesData[] | DataPointDate[] | DataPointPercentageCalculated[]>(data: T, options?: ChartLegendOptions, legendShape?: LegendShape<SeriesData[], number>): BaseLegendItem[];
801
822
  //#endregion
802
823
  //#region src/charts/private/chart-instance-context/chart-instance-context.d.ts
803
824
  interface ChartInstanceRef {
@@ -908,8 +929,6 @@ type RenderLineGlyphProps<Datum extends object> = GlyphProps<Datum> & {
908
929
  position?: 'start' | 'end';
909
930
  };
910
931
  interface LineChartProps extends BaseChartProps<SeriesData[]>, SeriesVisibilityProps {
911
- /** Accessible name of the chart. Defaults to a localized "Line chart". */
912
- ariaLabel?: string;
913
932
  /**
914
933
  * Legend configuration. Supports `collapseGroups` on top of the shared options.
915
934
  */
@@ -965,8 +984,6 @@ type TooltipDatum = {
965
984
  //#endregion
966
985
  //#region src/charts/area-chart/types.d.ts
967
986
  interface AreaChartProps extends BaseChartProps<SeriesData[]>, SeriesVisibilityProps {
968
- /** Accessible name of the chart. Defaults to a localized "Area chart". */
969
- ariaLabel?: string;
970
987
  /**
971
988
  * Legend configuration. Supports `collapseGroups` on top of the shared options.
972
989
  */
@@ -1076,8 +1093,6 @@ type BandHighlightSelection = {
1076
1093
  height: number;
1077
1094
  };
1078
1095
  interface BarChartProps extends BaseChartProps<SeriesData[]>, SeriesVisibilityProps {
1079
- /** Accessible name of the chart. Defaults to a localized "Bar chart". */
1080
- ariaLabel?: string;
1081
1096
  /**
1082
1097
  * Legend configuration. Supports `collapseGroups` on top of the shared options.
1083
1098
  */
@@ -1234,7 +1249,7 @@ interface TooltipRenderProps {
1234
1249
  /**
1235
1250
  * Props for the ConversionFunnelChart component
1236
1251
  */
1237
- interface ConversionFunnelChartProps extends Pick<BaseChartProps, 'className' | 'chartId' | 'animation'> {
1252
+ interface ConversionFunnelChartProps extends Pick<BaseChartProps, 'className' | 'chartId' | 'animation' | 'ariaLabel'> {
1238
1253
  /** Main conversion rate to highlight */
1239
1254
  mainRate: number;
1240
1255
  /** Change indicator (e.g., +2%, -1.5%) */
@@ -1294,7 +1309,7 @@ interface GeoChartError {
1294
1309
  detailedMessage?: string;
1295
1310
  options?: Record<string, unknown>;
1296
1311
  }
1297
- interface GeoChartProps extends Pick<BaseChartProps, 'className' | 'chartId' | 'width' | 'height'> {
1312
+ interface GeoChartProps extends Pick<BaseChartProps, 'className' | 'chartId' | 'ariaLabel' | 'width' | 'height'> {
1298
1313
  /**
1299
1314
  * Data in Google Charts native format for maximum flexibility.
1300
1315
  * First row contains column headers, subsequent rows contain data.
@@ -1413,8 +1428,6 @@ interface HeatmapChartProps extends Omit<BaseChartProps<HeatmapColumn[]>, 'showL
1413
1428
  * group past the edge, Page Up/Down by one group. Default `grid`.
1414
1429
  */
1415
1430
  keyboardNavigation?: 'grid' | 'calendar';
1416
- /** Accessible name of the grid. Defaults to a localized "Heatmap chart". */
1417
- ariaLabel?: string;
1418
1431
  /** Compact mode: hide in-cell values, tighten gap, thin axis labels. Default false. */
1419
1432
  compact?: boolean;
1420
1433
  /** Compact mode only: grow the cells to fill the chart's box, wrapping the column groups onto more rows when that makes them larger. Default false. */
@@ -1443,7 +1456,7 @@ interface HeatmapChartProps extends Omit<BaseChartProps<HeatmapColumn[]>, 'showL
1443
1456
  /** Floor a cell's height (px) in non-compact mode; see `minCellWidth`. */
1444
1457
  minCellHeight?: number;
1445
1458
  /**
1446
- * Color the cell scale is built from, deepened at the highest value toward 9:1
1459
+ * Color the cell scale is built from, deepened at the highest value toward 6:1
1447
1460
  * against the background. Defaults to the first series palette slot,
1448
1461
  * `--a8c-charts-color-series-1`.
1449
1462
  */
@@ -1533,7 +1546,7 @@ declare const HeatmapChartResponsive: FC<HeatmapChartProps & ResponsiveConfig> &
1533
1546
  * @param options - Grid shape, plus the locale and zone to read days in.
1534
1547
  * @return Columns and row labels for `HeatmapChart`.
1535
1548
  */
1536
- declare const buildCalendarHeatmapData: (series: DataPointDate[], options?: CalendarHeatmapOptions) => CalendarHeatmapResult;
1549
+ export declare const buildCalendarHeatmapData: (series: DataPointDate[], options?: CalendarHeatmapOptions) => CalendarHeatmapResult;
1537
1550
  //#endregion
1538
1551
  //#region src/charts/heatmap-chart/build-month-calendar-data.d.ts
1539
1552
  /**
@@ -1545,7 +1558,7 @@ declare const buildCalendarHeatmapData: (series: DataPointDate[], options?: Cale
1545
1558
  * @param options - Week start and label locale.
1546
1559
  * @return Columns and one group per month; empty for an invalid or reversed range.
1547
1560
  */
1548
- declare const buildMonthCalendarHeatmapData: (valueByDay: Record<string, number | null>, range: MonthCalendarHeatmapRange, options?: MonthCalendarHeatmapOptions) => MonthCalendarHeatmapResult;
1561
+ export declare const buildMonthCalendarHeatmapData: (valueByDay: Record<string, number | null>, range: MonthCalendarHeatmapRange, options?: MonthCalendarHeatmapOptions) => MonthCalendarHeatmapResult;
1549
1562
  //#endregion
1550
1563
  //#region src/charts/heatmap-chart/use-calendar-heatmap-data.d.ts
1551
1564
  /**
@@ -1556,7 +1569,7 @@ declare const buildMonthCalendarHeatmapData: (valueByDay: Record<string, number
1556
1569
  * @param options - As for `buildCalendarHeatmapData`; `locale` and `timeZone` win over the provider.
1557
1570
  * @return Columns and row labels for `HeatmapChart`.
1558
1571
  */
1559
- declare const useCalendarHeatmapData: (series: DataPointDate[], options?: CalendarHeatmapOptions) => CalendarHeatmapResult;
1572
+ export declare const useCalendarHeatmapData: (series: DataPointDate[], options?: CalendarHeatmapOptions) => CalendarHeatmapResult;
1560
1573
  //#endregion
1561
1574
  //#region src/charts/heatmap-chart/use-month-calendar-heatmap-data.d.ts
1562
1575
  /**
@@ -1568,10 +1581,10 @@ declare const useCalendarHeatmapData: (series: DataPointDate[], options?: Calend
1568
1581
  * @param options - As for `buildMonthCalendarHeatmapData`; `locale` wins over the provider.
1569
1582
  * @return Columns and groups for `HeatmapChart`.
1570
1583
  */
1571
- declare const useMonthCalendarHeatmapData: (valueByDay: Record<string, number | null>, range: MonthCalendarHeatmapRange, options?: MonthCalendarHeatmapOptions) => MonthCalendarHeatmapResult;
1584
+ export declare const useMonthCalendarHeatmapData: (valueByDay: Record<string, number | null>, range: MonthCalendarHeatmapRange, options?: MonthCalendarHeatmapOptions) => MonthCalendarHeatmapResult;
1572
1585
  //#endregion
1573
1586
  //#region src/charts/leaderboard-chart/types.d.ts
1574
- interface LeaderboardChartProps extends Pick<BaseChartProps<LeaderboardEntry>, 'className' | 'showLegend' | 'legend' | 'chartId' | 'width' | 'height' | 'size' | 'gap' | 'animation'> {
1587
+ interface LeaderboardChartProps extends Pick<BaseChartProps<LeaderboardEntry>, 'className' | 'showLegend' | 'legend' | 'chartId' | 'width' | 'height' | 'size' | 'gap' | 'animation' | 'ariaLabel'> {
1575
1588
  /**
1576
1589
  * Entries to display. Declared here rather than picked, since the base type
1577
1590
  * would split the entry union into one array type per member.
@@ -1665,7 +1678,7 @@ declare const LeaderboardChartResponsive: (({ resizeDebounceTime, maxWidth, aspe
1665
1678
  * @param tickResolution - Caller-declared bucket resolution, when known.
1666
1679
  * @return The declared or inferred bucket, and the resolution formats key on.
1667
1680
  */
1668
- declare const getBucketInfo: (data: SeriesData[], tickResolution?: TickResolution) => BucketInfo;
1681
+ export declare const getBucketInfo: (data: SeriesData[], tickResolution?: TickResolution) => BucketInfo;
1669
1682
  //#endregion
1670
1683
  //#region src/utils/date-parsing.d.ts
1671
1684
  /**
@@ -1684,7 +1697,7 @@ declare const getBucketInfo: (data: SeriesData[], tickResolution?: TickResolutio
1684
1697
  * @param {string} [timeZone] - IANA zone a naive string is read in; the runtime's own when absent, and ignored by a string that carries its own offset
1685
1698
  * @return {Date} A Date object representing the parsed instant, or an invalid Date if parsing fails
1686
1699
  */
1687
- declare const parseAsLocalDate: (dateString: string, timeZone?: string) => Date;
1700
+ export declare const parseAsLocalDate: (dateString: string, timeZone?: string) => Date;
1688
1701
  //#endregion
1689
1702
  //#region src/utils/format-metric-value.d.ts
1690
1703
  /**
@@ -1708,7 +1721,7 @@ type FormatMetricValueOptions = {
1708
1721
  * @param options.signDisplay - Controls when to display the sign (auto, always, never, exceptZero)
1709
1722
  * @return Formatted string
1710
1723
  */
1711
- declare const formatMetricValue: (value: string | number, type?: MetricValueType, { decimals, useMultipliers, signDisplay }?: FormatMetricValueOptions) => string;
1724
+ export declare const formatMetricValue: (value: string | number, type?: MetricValueType, { decimals, useMultipliers, signDisplay }?: FormatMetricValueOptions) => string;
1712
1725
  //#endregion
1713
1726
  //#region src/utils/format-percentage.d.ts
1714
1727
  /**
@@ -1719,7 +1732,7 @@ declare const formatMetricValue: (value: string | number, type?: MetricValueType
1719
1732
  * @param value - The percentage value (0-100 range)
1720
1733
  * @return Formatted percentage string (e.g., "30%", "30.1%", "30.25%")
1721
1734
  */
1722
- declare const formatPercentage: (value: number) => string;
1735
+ export declare const formatPercentage: (value: number) => string;
1723
1736
  //#endregion
1724
1737
  //#region src/utils/merge-themes.d.ts
1725
1738
  /**
@@ -1730,8 +1743,8 @@ declare const formatPercentage: (value: number) => string;
1730
1743
  * @param overrideTheme - Theme to override base with (takes precedence)
1731
1744
  * @return Merged theme with overrideTheme values taking precedence
1732
1745
  */
1733
- declare function mergeThemes(baseTheme: CompleteChartTheme, overrideTheme: Partial<ChartTheme>): CompleteChartTheme;
1734
- declare function mergeThemes(baseTheme: ChartTheme, overrideTheme: Partial<ChartTheme>): ChartTheme;
1746
+ export declare function mergeThemes(baseTheme: CompleteChartTheme, overrideTheme: Partial<ChartTheme>): CompleteChartTheme;
1747
+ export declare function mergeThemes(baseTheme: ChartTheme, overrideTheme: Partial<ChartTheme>): ChartTheme;
1735
1748
  //#endregion
1736
1749
  //#region src/utils/color-utils.d.ts
1737
1750
  /**
@@ -1739,13 +1752,13 @@ declare function mergeThemes(baseTheme: ChartTheme, overrideTheme: Partial<Chart
1739
1752
  * @param hex - The value to check
1740
1753
  * @return true if valid hex color format (e.g., '#ff0000')
1741
1754
  */
1742
- declare const isValidHexColor: (hex: unknown) => hex is string;
1755
+ export declare const isValidHexColor: (hex: unknown) => hex is string;
1743
1756
  /**
1744
1757
  * Validate hex color format, throwing descriptive errors if invalid
1745
1758
  * @param hex - The hex color string to validate
1746
1759
  * @throws {Error} if hex string is malformed
1747
1760
  */
1748
- declare const validateHexColor: (hex: unknown) => void;
1761
+ export declare const validateHexColor: (hex: unknown) => void;
1749
1762
  /**
1750
1763
  * Convert hex color to rgba with specified opacity.
1751
1764
  * This is genuinely reusable across chart components.
@@ -1754,7 +1767,7 @@ declare const validateHexColor: (hex: unknown) => void;
1754
1767
  * @return The rgba color string (e.g., 'rgba(255, 0, 0, 0.5)')
1755
1768
  * @throws {Error} if hex string is malformed or alpha is not a valid number
1756
1769
  */
1757
- declare const hexToRgba: (hex: string, alpha: number) => string;
1770
+ export declare const hexToRgba: (hex: string, alpha: number) => string;
1758
1771
  /**
1759
1772
  * Weighted Euclidean distance between two HSL colors.
1760
1773
  *
@@ -1763,14 +1776,14 @@ declare const hexToRgba: (hex: string, alpha: number) => string;
1763
1776
  * @param hsl2 - second color in HSL format [h, s, l]
1764
1777
  * @return distance value (0-100+, lower means more similar)
1765
1778
  */
1766
- declare const getColorDistance: (hsl1: [number, number, number], hsl2: [number, number, number]) => number;
1779
+ export declare const getColorDistance: (hsl1: [number, number, number], hsl2: [number, number, number]) => number;
1767
1780
  /**
1768
1781
  * Parse an HSL string like 'hsl(120, 50%, 50%)' into an HSL tuple.
1769
1782
  *
1770
1783
  * @param hslString - HSL color string
1771
1784
  * @return HSL tuple [h, s, l] or null if invalid
1772
1785
  */
1773
- declare const parseHslString: (hslString: string) => [number, number, number] | null;
1786
+ export declare const parseHslString: (hslString: string) => [number, number, number] | null;
1774
1787
  /**
1775
1788
  * Normalize any CSS color value to a hex color string.
1776
1789
  * Handles hex, HSL, HSLA, RGB, RGBA, named CSS colors, and CSS variables.
@@ -1781,7 +1794,7 @@ declare const parseHslString: (hslString: string) => [number, number, number] |
1781
1794
  * @param _depth - Internal recursion depth counter to prevent infinite loops
1782
1795
  * @return hex color string, or the original value if conversion fails
1783
1796
  */
1784
- declare const normalizeColorToHex: (color: string, element?: HTMLElement | null, resolveCss?: (value: string, el?: HTMLElement | null) => string | null, _depth?: number) => string;
1797
+ export declare const normalizeColorToHex: (color: string, element?: HTMLElement | null, resolveCss?: (value: string, el?: HTMLElement | null) => string | null, _depth?: number) => string;
1785
1798
  /**
1786
1799
  * Lighten a hex color by blending it with white.
1787
1800
  * Useful for creating color gradients or lighter variants.
@@ -1791,7 +1804,7 @@ declare const normalizeColorToHex: (color: string, element?: HTMLElement | null,
1791
1804
  * @return Lightened hex color string (e.g., '#cce4ef')
1792
1805
  * @throws {Error} if hex string is malformed
1793
1806
  */
1794
- declare const lightenHexColor: (hex: string, blend: number) => string;
1807
+ export declare const lightenHexColor: (hex: string, blend: number) => string;
1795
1808
  /**
1796
1809
  * Blend one hex color toward another, per-channel in sRGB.
1797
1810
  *
@@ -1801,7 +1814,7 @@ declare const lightenHexColor: (hex: string, blend: number) => string;
1801
1814
  * @return Blended hex color string
1802
1815
  * @throws {Error} if either hex string is malformed
1803
1816
  */
1804
- declare const mixHexColors: (fromHex: string, toHex: string, blend: number) => string;
1817
+ export declare const mixHexColors: (fromHex: string, toHex: string, blend: number) => string;
1805
1818
  /**
1806
1819
  * WCAG relative luminance of a hex color (0 = black, 1 = white).
1807
1820
  *
@@ -1809,7 +1822,7 @@ declare const mixHexColors: (fromHex: string, toHex: string, blend: number) => s
1809
1822
  * @return Relative luminance in the range [0, 1]
1810
1823
  * @throws {Error} if hex string is malformed
1811
1824
  */
1812
- declare const relativeLuminance: (hex: string) => number;
1825
+ export declare const relativeLuminance: (hex: string) => number;
1813
1826
  /**
1814
1827
  * Whether light text reads better than dark text on the given background, using the W3C
1815
1828
  * luminance threshold (0.179) that maximizes contrast against black vs white.
@@ -1818,7 +1831,7 @@ declare const relativeLuminance: (hex: string) => number;
1818
1831
  * @param backgroundHex - Hex background color
1819
1832
  * @return true if light text should be used; false (dark text) for malformed colors
1820
1833
  */
1821
- declare const prefersLightText: (backgroundHex: string) => boolean;
1834
+ export declare const prefersLightText: (backgroundHex: string) => boolean;
1822
1835
  //#endregion
1823
1836
  //#region src/utils/resolve-css-var.d.ts
1824
1837
  /**
@@ -1833,7 +1846,7 @@ declare const prefersLightText: (backgroundHex: string) => boolean;
1833
1846
  * @param element - Optional DOM element to resolve the variable from (defaults to document.documentElement)
1834
1847
  * @return The resolved value, fallback value, or null if unresolvable
1835
1848
  */
1836
- declare const resolveCssVariable: (value: string, element?: HTMLElement | null) => string | null;
1849
+ export declare const resolveCssVariable: (value: string, element?: HTMLElement | null) => string | null;
1837
1850
  //#endregion
1838
1851
  //#region src/charts/leaderboard-chart/hooks/use-leaderboard-legend-items.d.ts
1839
1852
  /**
@@ -1849,7 +1862,7 @@ declare const resolveCssVariable: (value: string, element?: HTMLElement | null)
1849
1862
  * @param root0.legendLabels.comparison - Label for comparison period data
1850
1863
  * @return Array of legend items for the leaderboard chart
1851
1864
  */
1852
- declare function useLeaderboardLegendItems({ data, primaryColor, secondaryColor, withComparison, withOverlayLabel, legendLabels }: {
1865
+ export declare function useLeaderboardLegendItems({ data, primaryColor, secondaryColor, withComparison, withOverlayLabel, legendLabels }: {
1853
1866
  data: LeaderboardEntry[];
1854
1867
  primaryColor?: string;
1855
1868
  secondaryColor?: string;
@@ -1962,10 +1975,6 @@ interface PieChartProps extends BaseChartProps<DataPointPercentage[]> {
1962
1975
  * When provided, replaces the default `label: value` tooltip with custom content.
1963
1976
  */
1964
1977
  renderTooltip?: (params: PieChartRenderTooltipParams) => ReactNode;
1965
- /**
1966
- * Accessible name of the chart. Defaults to a localized "Pie chart".
1967
- */
1968
- ariaLabel?: string;
1969
1978
  }
1970
1979
  type PieChartBaseProps = Optional<PieChartProps, 'size'>;
1971
1980
  type PieChartComponent = ChartComponentWithComposition<PieChartBaseProps>;
@@ -2032,10 +2041,6 @@ interface PieSemiCircleChartProps extends BaseChartProps<DataPointPercentage[]>
2032
2041
  * When provided, replaces the default `label: value` tooltip with custom content.
2033
2042
  */
2034
2043
  renderTooltip?: (params: PieSemiCircleChartRenderTooltipParams) => ReactNode;
2035
- /**
2036
- * Accessible name of the chart. Defaults to a localized "Semi-circle chart".
2037
- */
2038
- ariaLabel?: string;
2039
2044
  }
2040
2045
  type PieSemiCircleChartBaseProps = Optional<PieSemiCircleChartProps, 'width'>;
2041
2046
  type PieSemiCircleChartComponent = ChartComponentWithComposition<PieSemiCircleChartBaseProps>;
@@ -2213,7 +2218,7 @@ type BaseTooltipProps = TooltipCommonProps & (DefaultDataTooltip | CustomTooltip
2213
2218
  * @param props.renderContainer - Deprecated; render the content alone when false.
2214
2219
  * @return The tooltip.
2215
2220
  */
2216
- declare const BaseTooltip: ({ data, top, left, component: Component, children, className, style, renderContainer }: BaseTooltipProps) => string | number | true | import("react").JSX.Element | Iterable<ReactNode>;
2221
+ export declare const BaseTooltip: ({ data, top, left, component: Component, children, className, style, renderContainer }: BaseTooltipProps) => string | number | true | import("react").JSX.Element | Iterable<ReactNode>;
2217
2222
  //#endregion
2218
2223
  //#region src/components/tooltip/xy-chart-tooltip.d.ts
2219
2224
  type FlattenedTooltipData = {
@@ -2244,9 +2249,9 @@ interface XYChartTooltipProps extends Omit<XyChartTooltipProps<DataPointDate>, '
2244
2249
  */
2245
2250
  mode?: 'individual' | 'group';
2246
2251
  }
2247
- declare const XYChartTooltip: React.FC<XYChartTooltipProps>;
2252
+ export declare const XYChartTooltip: React.FC<XYChartTooltipProps>;
2248
2253
  /** @deprecated Use `XYChartTooltip`. */
2249
- declare const AccessibleTooltip: import("react").FC<XYChartTooltipProps>;
2254
+ export declare const AccessibleTooltip: import("react").FC<XYChartTooltipProps>;
2250
2255
  //#endregion
2251
2256
  //#region src/components/tooltip/tooltip-box.d.ts
2252
2257
  type TooltipBoxProps = HTMLAttributes<HTMLDivElement> & {
@@ -2261,7 +2266,7 @@ type TooltipBoxProps = HTMLAttributes<HTMLDivElement> & {
2261
2266
  * @param ref - Forwarded to the box element.
2262
2267
  * @return The tooltip box.
2263
2268
  */
2264
- declare const TooltipBox: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
2269
+ export declare const TooltipBox: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
2265
2270
  /** Drop the chart surface, scope class and dark theme, leaving a bare box. */
2266
2271
  unstyled?: boolean;
2267
2272
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -2306,7 +2311,7 @@ type TrendIndicatorProps = {
2306
2311
  * @param {TrendIndicatorProps} props - Component props
2307
2312
  * @return {JSX.Element} The rendered trend indicator
2308
2313
  */
2309
- declare function TrendIndicator({ direction, value, className, style, showIcon }: TrendIndicatorProps): JSX.Element;
2314
+ export declare function TrendIndicator({ direction, value, className, style, showIcon }: TrendIndicatorProps): JSX.Element;
2310
2315
  //#endregion
2311
2316
  //#region src/providers/chart-context/types.d.ts
2312
2317
  interface ChartRegistration {
@@ -2349,7 +2354,7 @@ interface GlobalChartsContextValue {
2349
2354
  }
2350
2355
  //#endregion
2351
2356
  //#region src/providers/chart-context/global-charts-provider.d.ts
2352
- declare const GlobalChartsContext: import("react").Context<GlobalChartsContextValue>;
2357
+ export declare const GlobalChartsContext: import("react").Context<GlobalChartsContextValue>;
2353
2358
  interface GlobalChartsProviderProps {
2354
2359
  children: ReactNode;
2355
2360
  theme?: Partial<ChartTheme>;
@@ -2364,13 +2369,13 @@ interface GlobalChartsProviderProps {
2364
2369
  */
2365
2370
  timeZone?: string;
2366
2371
  }
2367
- declare const GlobalChartsProvider: FC<GlobalChartsProviderProps>;
2372
+ export declare const GlobalChartsProvider: FC<GlobalChartsProviderProps>;
2368
2373
  //#endregion
2369
2374
  //#region src/providers/chart-context/hooks/use-global-charts-context.d.ts
2370
- declare const useGlobalChartsContext: () => GlobalChartsContextValue;
2375
+ export declare const useGlobalChartsContext: () => GlobalChartsContextValue;
2371
2376
  //#endregion
2372
2377
  //#region src/providers/chart-context/hooks/use-chart-registration.d.ts
2373
- declare const useChartRegistration: ({ chartId, legendItems, chartType, isDataValid, metadata }: {
2378
+ export declare const useChartRegistration: ({ chartId, legendItems, chartType, isDataValid, metadata }: {
2374
2379
  chartId: string;
2375
2380
  legendItems: BaseLegendItem[];
2376
2381
  chartType: ChartType;
@@ -2384,7 +2389,7 @@ declare const useChartRegistration: ({ chartId, legendItems, chartType, isDataVa
2384
2389
  *
2385
2390
  * @return The global chart theme
2386
2391
  */
2387
- declare const useGlobalChartsTheme: () => CompleteChartTheme;
2392
+ export declare const useGlobalChartsTheme: () => CompleteChartTheme;
2388
2393
  //#endregion
2389
2394
  //#region src/providers/chart-context/hooks/use-chart-formatting.d.ts
2390
2395
  /**
@@ -2396,7 +2401,7 @@ declare const useGlobalChartsTheme: () => CompleteChartTheme;
2396
2401
  *
2397
2402
  * @return The host's formatting context.
2398
2403
  */
2399
- declare const useChartFormatting: () => ChartFormatting;
2404
+ export declare const useChartFormatting: () => ChartFormatting;
2400
2405
  //#endregion
2401
2406
  //#region src/providers/chart-context/themes.d.ts
2402
2407
  /**
@@ -2413,7 +2418,7 @@ declare const defaultTheme: CompleteChartTheme;
2413
2418
  *
2414
2419
  * @return {HTMLElement | null} The nearest chart scope element, or `null`.
2415
2420
  */
2416
- declare const useChartScopeElement: () => HTMLElement | null;
2421
+ export declare const useChartScopeElement: () => HTMLElement | null;
2417
2422
  //#endregion
2418
- export { AccessibleTooltip, 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, BaseTooltip, type BaseTooltipProps, type BucketInfo, type CalendarHeatmapOptions, type CalendarHeatmapResult, type ChartFormatting, type ChartLegendConfig, type ChartLegendOptions, type ChartTheme, 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, GlobalChartsContext, GlobalChartsProvider, GlobalChartsProvider as ThemeProvider, type GoogleDataTableColumn, GoogleDataTableColumnRoleType, 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, Legend, 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, TooltipBox, type TooltipBoxProps, type TooltipData, type TooltipDatum, type TooltipPlacement, type TooltipProps, type TooltipRenderProps, type TrendDirection, TrendIndicator, type TrendIndicatorProps, XYChartTooltip, type XyChartTooltipProps, buildCalendarHeatmapData, buildMonthCalendarHeatmapData, defaultTheme, formatMetricValue, formatPercentage, getBucketInfo, getColorDistance, hexToRgba, isValidHexColor, lightenHexColor, mergeThemes, mixHexColors, normalizeColorToHex, parseAsLocalDate, parseHslString, prefersLightText, relativeLuminance, resolveCssVariable, useCalendarHeatmapData, useChartFormatting, useChartLegendItems, useChartRegistration, useChartScopeElement, useGlobalChartsContext, useGlobalChartsTheme, useLeaderboardLegendItems, useMonthCalendarHeatmapData, validateHexColor };
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 };
2419
2424
  //# sourceMappingURL=index.d.cts.map