@automattic/charts 0.54.1 → 0.54.2

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 (46) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/charts/bar-chart/index.d.cts +1 -1
  3. package/dist/charts/bar-chart/index.d.ts +1 -1
  4. package/dist/charts/bar-list-chart/index.d.cts +1 -1
  5. package/dist/charts/bar-list-chart/index.d.ts +1 -1
  6. package/dist/charts/conversion-funnel-chart/index.d.cts +1 -1
  7. package/dist/charts/conversion-funnel-chart/index.d.ts +1 -1
  8. package/dist/charts/geo-chart/index.d.cts +1 -1
  9. package/dist/charts/geo-chart/index.d.ts +1 -1
  10. package/dist/charts/leaderboard-chart/index.cjs +2 -2
  11. package/dist/charts/leaderboard-chart/index.d.cts +2 -2
  12. package/dist/charts/leaderboard-chart/index.d.ts +2 -2
  13. package/dist/charts/leaderboard-chart/index.js +1 -1
  14. package/dist/charts/line-chart/index.d.cts +1 -1
  15. package/dist/charts/line-chart/index.d.ts +1 -1
  16. package/dist/charts/pie-chart/index.d.cts +1 -1
  17. package/dist/charts/pie-chart/index.d.ts +1 -1
  18. package/dist/charts/pie-semi-circle-chart/index.d.cts +1 -1
  19. package/dist/charts/pie-semi-circle-chart/index.d.ts +1 -1
  20. package/dist/{chunk-PNDL3WWM.cjs → chunk-K6HA4GYQ.cjs} +62 -62
  21. package/dist/chunk-K6HA4GYQ.cjs.map +1 -0
  22. package/dist/{chunk-LK5JTV76.js → chunk-Y523WUMU.js} +62 -62
  23. package/dist/chunk-Y523WUMU.js.map +1 -0
  24. package/dist/components/legend/index.d.cts +1 -1
  25. package/dist/components/legend/index.d.ts +1 -1
  26. package/dist/components/tooltip/index.d.cts +1 -1
  27. package/dist/components/tooltip/index.d.ts +1 -1
  28. package/dist/hooks/index.d.cts +1 -1
  29. package/dist/hooks/index.d.ts +1 -1
  30. package/dist/index.cjs +2 -2
  31. package/dist/index.d.cts +3 -3
  32. package/dist/index.d.ts +3 -3
  33. package/dist/index.js +1 -1
  34. package/dist/{leaderboard-chart-Df6kkqtI.d.cts → leaderboard-chart-BOhDvlVM.d.cts} +2 -2
  35. package/dist/{leaderboard-chart-BOgMT2BT.d.ts → leaderboard-chart-qYnpqDpu.d.ts} +2 -2
  36. package/dist/providers/index.d.cts +2 -2
  37. package/dist/providers/index.d.ts +2 -2
  38. package/dist/{themes-GEPvLhum.d.ts → themes-CRV5fVzJ.d.ts} +2 -2
  39. package/dist/{themes-BTFVRiJ8.d.cts → themes-DQs9rbN5.d.cts} +2 -2
  40. package/dist/{types-B1_Q_Lhh.d.cts → types-BCFQlzTM.d.cts} +1 -1
  41. package/dist/{types-B1_Q_Lhh.d.ts → types-BCFQlzTM.d.ts} +1 -1
  42. package/dist/utils/index.d.cts +1 -1
  43. package/dist/utils/index.d.ts +1 -1
  44. package/package.json +3 -3
  45. package/dist/chunk-LK5JTV76.js.map +0 -1
  46. package/dist/chunk-PNDL3WWM.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.54.2] - 2026-02-02
9
+ ### Changed
10
+ - Update package dependencies. [#46854]
11
+
8
12
  ## [0.54.1] - 2026-01-26
9
13
  ### Changed
10
14
  - Update dependencies. [#43811]
@@ -640,6 +644,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
640
644
  - Fixed lints following ESLint rule changes for TS [#40584]
641
645
  - Fixing a bug in Chart storybook data. [#40640]
642
646
 
647
+ [0.54.2]: https://github.com/Automattic/charts/compare/v0.54.1...v0.54.2
643
648
  [0.54.1]: https://github.com/Automattic/charts/compare/v0.54.0...v0.54.1
644
649
  [0.54.0]: https://github.com/Automattic/charts/compare/v0.53.4...v0.54.0
645
650
  [0.53.4]: https://github.com/Automattic/charts/compare/v0.53.3...v0.53.4
@@ -1,5 +1,5 @@
1
1
  import { L as Legend } from '../../legend-C9ahiwOt.cjs';
2
- import { O as Optional, B as BaseChartProps, d as SeriesData, b as DataPointDate } from '../../types-B1_Q_Lhh.cjs';
2
+ import { O as Optional, B as BaseChartProps, j as SeriesData, c as DataPointDate } from '../../types-BCFQlzTM.cjs';
3
3
  import { FC, ReactNode, ComponentType } from 'react';
4
4
  import { R as ResponsiveConfig } from '../../with-responsive-Cp2qnQPo.cjs';
5
5
  import { RenderTooltipParams } from '@visx/xychart/lib/components/Tooltip';
@@ -1,5 +1,5 @@
1
1
  import { L as Legend } from '../../legend-jjMmhSg3.js';
2
- import { O as Optional, B as BaseChartProps, d as SeriesData, b as DataPointDate } from '../../types-B1_Q_Lhh.js';
2
+ import { O as Optional, B as BaseChartProps, j as SeriesData, c as DataPointDate } from '../../types-BCFQlzTM.js';
3
3
  import { FC, ReactNode, ComponentType } from 'react';
4
4
  import { R as ResponsiveConfig } from '../../with-responsive-Cp2qnQPo.js';
5
5
  import { RenderTooltipParams } from '@visx/xychart/lib/components/Tooltip';
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { R as ResponsiveConfig } from '../../with-responsive-Cp2qnQPo.cjs';
3
3
  import { TextProps } from '@visx/text';
4
4
  import { BarChartProps } from '../bar-chart/index.cjs';
5
- import { g as ScaleOptions, d as SeriesData } from '../../types-B1_Q_Lhh.cjs';
5
+ import { S as ScaleOptions, j as SeriesData } from '../../types-BCFQlzTM.cjs';
6
6
  import { ComponentType, FC } from 'react';
7
7
  import '../../legend-C9ahiwOt.cjs';
8
8
  import '../../types-C05PdDJa.cjs';
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { R as ResponsiveConfig } from '../../with-responsive-Cp2qnQPo.js';
3
3
  import { TextProps } from '@visx/text';
4
4
  import { BarChartProps } from '../bar-chart/index.js';
5
- import { g as ScaleOptions, d as SeriesData } from '../../types-B1_Q_Lhh.js';
5
+ import { S as ScaleOptions, j as SeriesData } from '../../types-BCFQlzTM.js';
6
6
  import { ComponentType, FC } from 'react';
7
7
  import '../../legend-jjMmhSg3.js';
8
8
  import '../../types-C05PdDJa.js';
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { B as BaseChartProps } from '../../types-B1_Q_Lhh.cjs';
2
+ import { B as BaseChartProps } from '../../types-BCFQlzTM.cjs';
3
3
  import '@visx/annotation/lib/components/CircleSubject';
4
4
  import '@visx/annotation/lib/components/Connector';
5
5
  import '@visx/annotation/lib/components/Label';
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { B as BaseChartProps } from '../../types-B1_Q_Lhh.js';
2
+ import { B as BaseChartProps } from '../../types-BCFQlzTM.js';
3
3
  import '@visx/annotation/lib/components/CircleSubject';
4
4
  import '@visx/annotation/lib/components/Connector';
5
5
  import '@visx/annotation/lib/components/Label';
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { R as ResponsiveConfig } from '../../with-responsive-Cp2qnQPo.cjs';
3
3
  import { FC } from 'react';
4
- import { B as BaseChartProps, G as GeoData } from '../../types-B1_Q_Lhh.cjs';
4
+ import { B as BaseChartProps, G as GeoData } from '../../types-BCFQlzTM.cjs';
5
5
  import '@visx/annotation/lib/components/CircleSubject';
6
6
  import '@visx/annotation/lib/components/Connector';
7
7
  import '@visx/annotation/lib/components/Label';
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { R as ResponsiveConfig } from '../../with-responsive-Cp2qnQPo.js';
3
3
  import { FC } from 'react';
4
- import { B as BaseChartProps, G as GeoData } from '../../types-B1_Q_Lhh.js';
4
+ import { B as BaseChartProps, G as GeoData } from '../../types-BCFQlzTM.js';
5
5
  import '@visx/annotation/lib/components/CircleSubject';
6
6
  import '@visx/annotation/lib/components/Connector';
7
7
  import '@visx/annotation/lib/components/Label';
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkPNDL3WWMcjs = require('../../chunk-PNDL3WWM.cjs');
5
+ var _chunkK6HA4GYQcjs = require('../../chunk-K6HA4GYQ.cjs');
6
6
  require('../../chunk-HIWNB5PK.cjs');
7
7
  require('../../chunk-ZPJHWKEK.cjs');
8
8
  require('../../chunk-MUUSZ7J5.cjs');
@@ -16,5 +16,5 @@ require('../../chunk-EMMSS5I5.cjs');
16
16
 
17
17
 
18
18
 
19
- exports.LeaderboardChart = _chunkPNDL3WWMcjs.LeaderboardChartResponsive; exports.LeaderboardChartUnresponsive = _chunkPNDL3WWMcjs.LeaderboardChart; exports.formatMetricValue = _chunkZVGEDXDPcjs.formatMetricValue; exports.useLeaderboardLegendItems = _chunkPNDL3WWMcjs.useLeaderboardLegendItems;
19
+ exports.LeaderboardChart = _chunkK6HA4GYQcjs.LeaderboardChartResponsive; exports.LeaderboardChartUnresponsive = _chunkK6HA4GYQcjs.LeaderboardChart; exports.formatMetricValue = _chunkZVGEDXDPcjs.formatMetricValue; exports.useLeaderboardLegendItems = _chunkK6HA4GYQcjs.useLeaderboardLegendItems;
20
20
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- export { L as LeaderboardChart, b as LeaderboardChartProps, a as LeaderboardChartUnresponsive } from '../../leaderboard-chart-Df6kkqtI.cjs';
2
- import { L as LeaderboardEntry } from '../../types-B1_Q_Lhh.cjs';
1
+ export { L as LeaderboardChart, a as LeaderboardChartProps, b as LeaderboardChartUnresponsive } from '../../leaderboard-chart-BOhDvlVM.cjs';
2
+ import { L as LeaderboardEntry } from '../../types-BCFQlzTM.cjs';
3
3
  export { M as MetricValueType, f as formatMetricValue } from '../../format-metric-value-MXm5DtQ_.cjs';
4
4
  import { B as BaseLegendItem } from '../../types-C05PdDJa.cjs';
5
5
  import 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
- export { L as LeaderboardChart, b as LeaderboardChartProps, a as LeaderboardChartUnresponsive } from '../../leaderboard-chart-BOgMT2BT.js';
2
- import { L as LeaderboardEntry } from '../../types-B1_Q_Lhh.js';
1
+ export { L as LeaderboardChart, a as LeaderboardChartProps, b as LeaderboardChartUnresponsive } from '../../leaderboard-chart-qYnpqDpu.js';
2
+ import { L as LeaderboardEntry } from '../../types-BCFQlzTM.js';
3
3
  export { M as MetricValueType, f as formatMetricValue } from '../../format-metric-value-MXm5DtQ_.js';
4
4
  import { B as BaseLegendItem } from '../../types-C05PdDJa.js';
5
5
  import 'react/jsx-runtime';
@@ -2,7 +2,7 @@ import {
2
2
  LeaderboardChart,
3
3
  LeaderboardChartResponsive,
4
4
  useLeaderboardLegendItems
5
- } from "../../chunk-LK5JTV76.js";
5
+ } from "../../chunk-Y523WUMU.js";
6
6
  import "../../chunk-CEZGL6YP.js";
7
7
  import "../../chunk-ALDWCNLH.js";
8
8
  import "../../chunk-NONODB3K.js";
@@ -1,5 +1,5 @@
1
1
  import { L as Legend } from '../../legend-C9ahiwOt.cjs';
2
- import { B as BaseChartProps, d as SeriesData, b as DataPointDate, A as AnnotationStyles, O as Optional } from '../../types-B1_Q_Lhh.cjs';
2
+ import { B as BaseChartProps, j as SeriesData, c as DataPointDate, A as AnnotationStyles, O as Optional } from '../../types-BCFQlzTM.cjs';
3
3
  import { FC, ReactNode, SVGProps } from 'react';
4
4
  import { GlyphProps } from '@visx/xychart';
5
5
  import { RenderTooltipParams } from '@visx/xychart/lib/components/Tooltip';
@@ -1,5 +1,5 @@
1
1
  import { L as Legend } from '../../legend-jjMmhSg3.js';
2
- import { B as BaseChartProps, d as SeriesData, b as DataPointDate, A as AnnotationStyles, O as Optional } from '../../types-B1_Q_Lhh.js';
2
+ import { B as BaseChartProps, j as SeriesData, c as DataPointDate, A as AnnotationStyles, O as Optional } from '../../types-BCFQlzTM.js';
3
3
  import { FC, ReactNode, SVGProps } from 'react';
4
4
  import { GlyphProps } from '@visx/xychart';
5
5
  import { RenderTooltipParams } from '@visx/xychart/lib/components/Tooltip';
@@ -1,7 +1,7 @@
1
1
  import { R as ResponsiveConfig } from '../../with-responsive-Cp2qnQPo.cjs';
2
2
  import { ReactNode } from 'react';
3
3
  import { LegendValueDisplay } from '../../components/legend/index.cjs';
4
- import { O as Optional, B as BaseChartProps, e as DataPointPercentage } from '../../types-B1_Q_Lhh.cjs';
4
+ import { O as Optional, B as BaseChartProps, d as DataPointPercentage } from '../../types-BCFQlzTM.cjs';
5
5
  import { C as ChartComponentWithComposition } from '../../types-BBwg4Evw.cjs';
6
6
  import '../../legend-C9ahiwOt.cjs';
7
7
  import '../../types-C05PdDJa.cjs';
@@ -1,7 +1,7 @@
1
1
  import { R as ResponsiveConfig } from '../../with-responsive-Cp2qnQPo.js';
2
2
  import { ReactNode } from 'react';
3
3
  import { LegendValueDisplay } from '../../components/legend/index.js';
4
- import { O as Optional, B as BaseChartProps, e as DataPointPercentage } from '../../types-B1_Q_Lhh.js';
4
+ import { O as Optional, B as BaseChartProps, d as DataPointPercentage } from '../../types-BCFQlzTM.js';
5
5
  import { C as ChartComponentWithComposition } from '../../types-DQNnq5Fr.js';
6
6
  import '../../legend-jjMmhSg3.js';
7
7
  import '../../types-C05PdDJa.js';
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { LegendValueDisplay } from '../../components/legend/index.cjs';
3
- import { O as Optional, B as BaseChartProps, e as DataPointPercentage } from '../../types-B1_Q_Lhh.cjs';
3
+ import { O as Optional, B as BaseChartProps, d as DataPointPercentage } from '../../types-BCFQlzTM.cjs';
4
4
  import { C as ChartComponentWithComposition } from '../../types-BBwg4Evw.cjs';
5
5
  import { R as ResponsiveConfig } from '../../with-responsive-Cp2qnQPo.cjs';
6
6
  import { PieArcDatum } from '@visx/shape/lib/shapes/Pie';
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { LegendValueDisplay } from '../../components/legend/index.js';
3
- import { O as Optional, B as BaseChartProps, e as DataPointPercentage } from '../../types-B1_Q_Lhh.js';
3
+ import { O as Optional, B as BaseChartProps, d as DataPointPercentage } from '../../types-BCFQlzTM.js';
4
4
  import { C as ChartComponentWithComposition } from '../../types-DQNnq5Fr.js';
5
5
  import { R as ResponsiveConfig } from '../../with-responsive-Cp2qnQPo.js';
6
6
  import { PieArcDatum } from '@visx/shape/lib/shapes/Pie';