@automattic/charts 1.4.0 → 1.4.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.
- package/CHANGELOG.md +15 -5
- package/dist/index.cjs +162 -114
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +120 -72
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/charts/area-chart/area-chart.tsx +124 -54
- package/src/charts/area-chart/test/area-chart.test.tsx +203 -0
- package/AGENTS.md +0 -78
package/CHANGELOG.md
CHANGED
|
@@ -5,15 +5,23 @@ 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
|
+
## [1.4.2] - 2026-05-21
|
|
9
|
+
### Changed
|
|
10
|
+
- Update package dependencies. [#48405]
|
|
11
|
+
- Update package dependencies. [#49012]
|
|
12
|
+
|
|
13
|
+
## [1.4.1] - 2026-05-19
|
|
14
|
+
### Changed
|
|
15
|
+
- Keep stacked area chart paths mounted on legend toggle so only the hidden series animates down and the y-axis stays fixed. [#48804]
|
|
16
|
+
|
|
8
17
|
## [1.4.0] - 2026-05-14
|
|
9
18
|
### Changed
|
|
10
|
-
- Charts:
|
|
11
|
-
- Charts:
|
|
12
|
-
- Update package dependencies. [#48695]
|
|
13
|
-
- Update package dependencies. [#48696]
|
|
19
|
+
- Charts: Expose a source-side `./style.css` alias so monorepo consumers can resolve the import without a prior build. [#48682]
|
|
20
|
+
- Charts: Expose tickValues on AxisOptions and nice on ScaleOptions so callers can force exact axis ticks. [#48722]
|
|
21
|
+
- Update package dependencies. [#48695] [#48696]
|
|
14
22
|
|
|
15
23
|
### Removed
|
|
16
|
-
- Charts:
|
|
24
|
+
- Charts: Remove the `useTooltipPortalRelocator` hook and the `portalContainer` prop on `GlobalChartsProvider`. The relocator (added in #47118 / 0.56.4) caused tooltip glyphs and the tooltip box to drift away from the chart line by exactly the page scroll offset on scrolled pages. [#48617]
|
|
17
25
|
|
|
18
26
|
## [1.3.1] - 2026-05-11
|
|
19
27
|
### Changed
|
|
@@ -830,6 +838,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
830
838
|
- Fixed lints following ESLint rule changes for TS [#40584]
|
|
831
839
|
- Fixing a bug in Chart storybook data. [#40640]
|
|
832
840
|
|
|
841
|
+
[1.4.2]: https://github.com/Automattic/charts/compare/v1.4.1...v1.4.2
|
|
842
|
+
[1.4.1]: https://github.com/Automattic/charts/compare/v1.4.0...v1.4.1
|
|
833
843
|
[1.4.0]: https://github.com/Automattic/charts/compare/v1.3.1...v1.4.0
|
|
834
844
|
[1.3.1]: https://github.com/Automattic/charts/compare/v1.3.0...v1.3.1
|
|
835
845
|
[1.3.0]: https://github.com/Automattic/charts/compare/v1.2.1...v1.3.0
|