@automattic/charts 1.12.0 → 2.0.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.
package/dist/index.css CHANGED
@@ -49,7 +49,7 @@
49
49
  }
50
50
 
51
51
  .a8ccharts-04TogW-legend-item-value {
52
- font-weight: var(--wpds-typography-font-weight-medium, 499);
52
+ font-weight: var(--wpds-typography-font-weight-emphasis, 499);
53
53
  flex-shrink: 0;
54
54
  }
55
55
  .a8ccharts--zY0xG-tooltip {
@@ -58,7 +58,7 @@
58
58
  color: #fff;
59
59
  border-radius: var(--wpds-border-radius-md, 4px);
60
60
  font-size: var(--wpds-typography-font-size-md, 13px);
61
- box-shadow: var(--wpds-elevation-sm, 0 1px 2px 0 #0000000d, 0 2px 3px 0 #0000000a, 0 6px 6px 0 #00000008, 0 8px 8px 0 #00000005);
61
+ 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);
62
62
  pointer-events: none;
63
63
  position: absolute;
64
64
  transform: translate(-50%, -100%);
@@ -112,10 +112,7 @@
112
112
  top: var(--wpds-dimension-gap-sm, 8px);
113
113
  right: var(--wpds-dimension-gap-sm, 8px);
114
114
  z-index: 2;
115
- box-shadow: var(--wpds-elevation-xs, 0 1px 1px 0 #00000008, 0 1px 2px 0 #00000005, 0 3px 3px 0 #00000005, 0 4px 4px 0 #00000003);
116
- --wp-ui-button-aspect-ratio: 1;
117
- --wp-ui-button-padding-inline: 0;
118
- --wp-ui-button-min-width: unset;
115
+ box-shadow: var(--a8c-charts-elevation-xs, 0 1px 1px 0 #00000008, 0 1px 2px 0 #00000005, 0 3px 3px 0 #00000005, 0 4px 4px 0 #00000003);
119
116
  position: absolute;
120
117
  }
121
118
 
@@ -143,7 +140,7 @@
143
140
  }
144
141
 
145
142
  .a8ccharts-inuQka-line-chart__tooltip-date {
146
- font-weight: var(--wpds-typography-font-weight-medium, 499);
143
+ font-weight: var(--wpds-typography-font-weight-emphasis, 499);
147
144
  padding-bottom: var(--wpds-dimension-padding-md, 12px);
148
145
  }
149
146
 
@@ -152,7 +149,7 @@
152
149
  }
153
150
 
154
151
  .a8ccharts-inuQka-line-chart__tooltip-label {
155
- font-weight: var(--wpds-typography-font-weight-medium, 499);
152
+ font-weight: var(--wpds-typography-font-weight-emphasis, 499);
156
153
  padding-right: var(--wpds-dimension-padding-lg, 16px);
157
154
  }
158
155
 
@@ -183,7 +180,7 @@
183
180
  border-radius: var(--wpds-border-radius-md, 4px);
184
181
  min-width: 125px;
185
182
  font-size: var(--wpds-typography-font-size-md, 13px);
186
- box-shadow: var(--wpds-elevation-sm, 0 1px 2px 0 #0000000d, 0 2px 3px 0 #0000000a, 0 6px 6px 0 #00000008, 0 8px 8px 0 #00000005);
183
+ 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);
187
184
  margin: var(--wpds-dimension-gap-sm, 8px);
188
185
  visibility: hidden;
189
186
  border: none;
@@ -287,7 +284,7 @@
287
284
  text-overflow: ellipsis;
288
285
  font-size: var(--wpds-typography-font-size-xl, 18px);
289
286
  font-style: normal;
290
- font-weight: var(--wpds-typography-font-weight-medium, 499);
287
+ font-weight: var(--wpds-typography-font-weight-emphasis, 499);
291
288
  line-height: var(--wpds-typography-line-height-sm, 20px);
292
289
  margin: 0;
293
290
  overflow: hidden;
@@ -297,7 +294,7 @@
297
294
  text-overflow: ellipsis;
298
295
  font-size: var(--wpds-typography-font-size-md, 13px);
299
296
  font-style: normal;
300
- font-weight: var(--wpds-typography-font-weight-medium, 499);
297
+ font-weight: var(--wpds-typography-font-weight-emphasis, 499);
301
298
  line-height: var(--wpds-typography-line-height-sm, 20px);
302
299
  margin: 0;
303
300
  overflow: hidden;
@@ -326,7 +323,7 @@
326
323
  .a8ccharts-mGEVca-step-label {
327
324
  color: var(--a8c-charts-color-label-secondary, var(--wpds-color-foreground-content-neutral-weak, #707070));
328
325
  font-size: var(--wpds-typography-font-size-sm, 12px);
329
- font-weight: var(--wpds-typography-font-weight-regular, 400);
326
+ font-weight: var(--wpds-typography-font-weight-default, 400);
330
327
  line-height: var(--wpds-typography-line-height-xs, 16px);
331
328
  white-space: nowrap;
332
329
  text-overflow: ellipsis;
@@ -336,7 +333,7 @@
336
333
  .a8ccharts-mGEVca-step-rate {
337
334
  color: var(--a8c-charts-color-label, var(--wpds-color-foreground-content-neutral, #1e1e1e));
338
335
  font-size: var(--wpds-typography-font-size-md, 13px);
339
- font-weight: var(--wpds-typography-font-weight-medium, 499);
336
+ font-weight: var(--wpds-typography-font-weight-emphasis, 499);
340
337
  line-height: var(--wpds-typography-line-height-xs, 16px);
341
338
  }
342
339
 
@@ -370,14 +367,14 @@
370
367
  background: var(--a8c-charts-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
371
368
  border-radius: var(--wpds-border-radius-md, 4px) !important;
372
369
  padding: var(--wpds-dimension-padding-md, 12px) !important;
373
- box-shadow: var(--wpds-elevation-sm, 0 1px 2px 0 #0000000d, 0 2px 3px 0 #0000000a, 0 6px 6px 0 #00000008, 0 8px 8px 0 #00000005) !important;
370
+ 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) !important;
374
371
  }
375
372
 
376
373
  .a8ccharts-mGEVca-tooltip-title {
377
374
  color: var(--a8c-charts-color-label, var(--wpds-color-foreground-content-neutral, #1e1e1e));
378
375
  font-size: var(--wpds-typography-font-size-sm, 12px);
379
376
  font-style: normal;
380
- font-weight: var(--wpds-typography-font-weight-regular, 400);
377
+ font-weight: var(--wpds-typography-font-weight-default, 400);
381
378
  line-height: var(--wpds-typography-line-height-xs, 16px);
382
379
  }
383
380
 
@@ -385,7 +382,7 @@
385
382
  color: var(--a8c-charts-color-label, var(--wpds-color-foreground-content-neutral, #1e1e1e));
386
383
  font-size: var(--wpds-typography-font-size-md, 13px);
387
384
  font-style: normal;
388
- font-weight: var(--wpds-typography-font-weight-medium, 499);
385
+ font-weight: var(--wpds-typography-font-weight-emphasis, 499);
389
386
  line-height: var(--wpds-typography-line-height-sm, 20px);
390
387
  }
391
388
 
@@ -692,7 +689,7 @@
692
689
  }
693
690
 
694
691
  .a8ccharts-YtTOxW-pie-semi-circle-chart .a8ccharts-YtTOxW-label {
695
- font-weight: var(--wpds-typography-font-weight-medium, 499);
692
+ font-weight: var(--wpds-typography-font-weight-emphasis, 499);
696
693
  font-size: var(--wpds-typography-font-size-lg, 16px);
697
694
  }
698
695
 
@@ -719,7 +716,7 @@
719
716
  }
720
717
  .a8ccharts-zR7F7G-trend-indicator {
721
718
  font-size: var(--wpds-typography-font-size-md, 13px);
722
- font-weight: var(--wpds-typography-font-weight-medium, 499);
719
+ font-weight: var(--wpds-typography-font-weight-emphasis, 499);
723
720
  align-items: center;
724
721
  gap: .125em;
725
722
  line-height: 1;
package/dist/index.d.cts CHANGED
@@ -347,6 +347,11 @@ type CompleteChartTheme = Required<ChartTheme> & {
347
347
  };
348
348
  heatmapChart: Omit<Required<NonNullable<ChartTheme['heatmapChart']>>, 'primaryColor'> & Pick<NonNullable<ChartTheme['heatmapChart']>, 'primaryColor'>;
349
349
  };
350
+ /**
351
+ * Bucket resolution of time-series data, as known by the caller (e.g. a
352
+ * granularity selector), for consumers that don't need to infer it.
353
+ */
354
+ type TickResolution = 'hour' | 'day' | 'week' | 'month' | 'year';
350
355
  type AxisOptions = {
351
356
  orientation?: OrientationType;
352
357
  numTicks?: number;
@@ -360,6 +365,15 @@ type AxisOptions = {
360
365
  labelClassName?: string;
361
366
  tickClassName?: string;
362
367
  tickFormat?: TickFormatter<ScaleInput<AxisScale>>;
368
+ /**
369
+ * Bucket resolution of the data on a time x-axis. When set, the automatic
370
+ * tick formatter derives tick formats from it directly instead of
371
+ * inferring the resolution from point spacing. The overall time span still
372
+ * constrains the choice — e.g. hourly buckets spanning more than a week
373
+ * get date ticks, since hour ticks would be unreadable at that span.
374
+ * Ignored when `tickFormat` is set.
375
+ */
376
+ tickResolution?: TickResolution;
363
377
  /**
364
378
  * Whether to display this axis. Defaults to true.
365
379
  */
@@ -2060,5 +2074,5 @@ declare const useGlobalChartsTheme: () => CompleteChartTheme;
2060
2074
  */
2061
2075
  declare const defaultTheme: CompleteChartTheme;
2062
2076
  //#endregion
2063
- export { AccessibleTooltip, type AnnotationStyles, type ArcData, AreaChartResponsive as AreaChart, type AreaChartProps, AreaChart as AreaChartUnresponsive, type AxisOptions, 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 CalendarHeatmapResult, type ChartLegendConfig, type ChartLegendOptions, type ChartTheme, type CompleteChartTheme, ConversionFunnelChartWithProvider as ConversionFunnelChart, type ConversionFunnelChartProps, 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 GeoRegion, type GeoResolution, GlobalChartsContext, GlobalChartsProvider, GlobalChartsProvider as ThemeProvider, type GoogleDataTableColumn, type GoogleDataTableColumnRoleType, type GoogleDataTableRow, type GradientConfig, type GradientStop, type GridProps, type GridStyles, type HeatmapCell, HeatmapChartResponsive as HeatmapChart, type HeatmapChartProps, HeatmapChart as HeatmapChartUnresponsive, type HeatmapColumn, 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 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, Sparkline, type SparklineDataPoint, type SparklineProps, SparklineUnresponsive, type StepLabelRenderProps, type StepRateRenderProps, type TooltipData, type TooltipDatum, type TooltipProps, type TooltipRenderProps, type TrendDirection, TrendIndicator, type TrendIndicatorProps, type XyChartTooltipProps, buildCalendarHeatmapData, defaultTheme, formatMetricValue, formatPercentage, getColorDistance, hexToRgba, isValidHexColor, lightenHexColor, mergeThemes, mixHexColors, normalizeColorToHex, parseAsLocalDate, parseHslString, parseRgbString, prefersLightText, relativeLuminance, useChartLegendItems, useGlobalChartsContext, useGlobalChartsTheme, useLeaderboardLegendItems, validateHexColor };
2077
+ export { AccessibleTooltip, type AnnotationStyles, type ArcData, AreaChartResponsive as AreaChart, type AreaChartProps, AreaChart as AreaChartUnresponsive, type AxisOptions, 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 CalendarHeatmapResult, type ChartLegendConfig, type ChartLegendOptions, type ChartTheme, type CompleteChartTheme, ConversionFunnelChartWithProvider as ConversionFunnelChart, type ConversionFunnelChartProps, 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 GeoRegion, type GeoResolution, GlobalChartsContext, GlobalChartsProvider, GlobalChartsProvider as ThemeProvider, type GoogleDataTableColumn, type GoogleDataTableColumnRoleType, type GoogleDataTableRow, type GradientConfig, type GradientStop, type GridProps, type GridStyles, type HeatmapCell, HeatmapChartResponsive as HeatmapChart, type HeatmapChartProps, HeatmapChart as HeatmapChartUnresponsive, type HeatmapColumn, 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 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, Sparkline, type SparklineDataPoint, type SparklineProps, SparklineUnresponsive, type StepLabelRenderProps, type StepRateRenderProps, type TickResolution, type TooltipData, type TooltipDatum, type TooltipProps, type TooltipRenderProps, type TrendDirection, TrendIndicator, type TrendIndicatorProps, type XyChartTooltipProps, buildCalendarHeatmapData, defaultTheme, formatMetricValue, formatPercentage, getColorDistance, hexToRgba, isValidHexColor, lightenHexColor, mergeThemes, mixHexColors, normalizeColorToHex, parseAsLocalDate, parseHslString, parseRgbString, prefersLightText, relativeLuminance, useChartLegendItems, useGlobalChartsContext, useGlobalChartsTheme, useLeaderboardLegendItems, validateHexColor };
2064
2078
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -347,6 +347,11 @@ type CompleteChartTheme = Required<ChartTheme> & {
347
347
  };
348
348
  heatmapChart: Omit<Required<NonNullable<ChartTheme['heatmapChart']>>, 'primaryColor'> & Pick<NonNullable<ChartTheme['heatmapChart']>, 'primaryColor'>;
349
349
  };
350
+ /**
351
+ * Bucket resolution of time-series data, as known by the caller (e.g. a
352
+ * granularity selector), for consumers that don't need to infer it.
353
+ */
354
+ type TickResolution = 'hour' | 'day' | 'week' | 'month' | 'year';
350
355
  type AxisOptions = {
351
356
  orientation?: OrientationType;
352
357
  numTicks?: number;
@@ -360,6 +365,15 @@ type AxisOptions = {
360
365
  labelClassName?: string;
361
366
  tickClassName?: string;
362
367
  tickFormat?: TickFormatter<ScaleInput<AxisScale>>;
368
+ /**
369
+ * Bucket resolution of the data on a time x-axis. When set, the automatic
370
+ * tick formatter derives tick formats from it directly instead of
371
+ * inferring the resolution from point spacing. The overall time span still
372
+ * constrains the choice — e.g. hourly buckets spanning more than a week
373
+ * get date ticks, since hour ticks would be unreadable at that span.
374
+ * Ignored when `tickFormat` is set.
375
+ */
376
+ tickResolution?: TickResolution;
363
377
  /**
364
378
  * Whether to display this axis. Defaults to true.
365
379
  */
@@ -2060,5 +2074,5 @@ declare const useGlobalChartsTheme: () => CompleteChartTheme;
2060
2074
  */
2061
2075
  declare const defaultTheme: CompleteChartTheme;
2062
2076
  //#endregion
2063
- export { AccessibleTooltip, type AnnotationStyles, type ArcData, AreaChartResponsive as AreaChart, type AreaChartProps, AreaChart as AreaChartUnresponsive, type AxisOptions, 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 CalendarHeatmapResult, type ChartLegendConfig, type ChartLegendOptions, type ChartTheme, type CompleteChartTheme, ConversionFunnelChartWithProvider as ConversionFunnelChart, type ConversionFunnelChartProps, 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 GeoRegion, type GeoResolution, GlobalChartsContext, GlobalChartsProvider, GlobalChartsProvider as ThemeProvider, type GoogleDataTableColumn, type GoogleDataTableColumnRoleType, type GoogleDataTableRow, type GradientConfig, type GradientStop, type GridProps, type GridStyles, type HeatmapCell, HeatmapChartResponsive as HeatmapChart, type HeatmapChartProps, HeatmapChart as HeatmapChartUnresponsive, type HeatmapColumn, 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 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, Sparkline, type SparklineDataPoint, type SparklineProps, SparklineUnresponsive, type StepLabelRenderProps, type StepRateRenderProps, type TooltipData, type TooltipDatum, type TooltipProps, type TooltipRenderProps, type TrendDirection, TrendIndicator, type TrendIndicatorProps, type XyChartTooltipProps, buildCalendarHeatmapData, defaultTheme, formatMetricValue, formatPercentage, getColorDistance, hexToRgba, isValidHexColor, lightenHexColor, mergeThemes, mixHexColors, normalizeColorToHex, parseAsLocalDate, parseHslString, parseRgbString, prefersLightText, relativeLuminance, useChartLegendItems, useGlobalChartsContext, useGlobalChartsTheme, useLeaderboardLegendItems, validateHexColor };
2077
+ export { AccessibleTooltip, type AnnotationStyles, type ArcData, AreaChartResponsive as AreaChart, type AreaChartProps, AreaChart as AreaChartUnresponsive, type AxisOptions, 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 CalendarHeatmapResult, type ChartLegendConfig, type ChartLegendOptions, type ChartTheme, type CompleteChartTheme, ConversionFunnelChartWithProvider as ConversionFunnelChart, type ConversionFunnelChartProps, 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 GeoRegion, type GeoResolution, GlobalChartsContext, GlobalChartsProvider, GlobalChartsProvider as ThemeProvider, type GoogleDataTableColumn, type GoogleDataTableColumnRoleType, type GoogleDataTableRow, type GradientConfig, type GradientStop, type GridProps, type GridStyles, type HeatmapCell, HeatmapChartResponsive as HeatmapChart, type HeatmapChartProps, HeatmapChart as HeatmapChartUnresponsive, type HeatmapColumn, 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 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, Sparkline, type SparklineDataPoint, type SparklineProps, SparklineUnresponsive, type StepLabelRenderProps, type StepRateRenderProps, type TickResolution, type TooltipData, type TooltipDatum, type TooltipProps, type TooltipRenderProps, type TrendDirection, TrendIndicator, type TrendIndicatorProps, type XyChartTooltipProps, buildCalendarHeatmapData, defaultTheme, formatMetricValue, formatPercentage, getColorDistance, hexToRgba, isValidHexColor, lightenHexColor, mergeThemes, mixHexColors, normalizeColorToHex, parseAsLocalDate, parseHslString, parseRgbString, prefersLightText, relativeLuminance, useChartLegendItems, useGlobalChartsContext, useGlobalChartsTheme, useLeaderboardLegendItems, validateHexColor };
2064
2078
  //# sourceMappingURL=index.d.ts.map