@automattic/charts 1.5.0 → 1.5.1
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 +6 -0
- package/dist/index.cjs +194 -157
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +114 -77
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/charts/area-chart/area-chart.tsx +16 -12
- package/src/charts/area-chart/test/area-chart.test.tsx +10 -0
- package/src/charts/line-chart/line-chart.tsx +87 -80
- package/src/charts/line-chart/test/line-chart.test.tsx +41 -0
- package/src/charts/private/x-zoom.tsx +48 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ 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.5.1] - 2026-06-05
|
|
9
|
+
### Changed
|
|
10
|
+
- Charts: clip zoomable LineChart/AreaChart series to the plot area so zoomed views don't paint outside the axes. [#49357]
|
|
11
|
+
- Update dependencies. [#49354]
|
|
12
|
+
|
|
8
13
|
## [1.5.0] - 2026-06-01
|
|
9
14
|
### Added
|
|
10
15
|
- Charts: Optional zoomable X-axis on LineChart and AreaChart. Pass `zoomable` to enable drag-to-zoom; a reset button appears in the top-right while zoomed. [#49167]
|
|
@@ -850,6 +855,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
850
855
|
- Fixed lints following ESLint rule changes for TS [#40584]
|
|
851
856
|
- Fixing a bug in Chart storybook data. [#40640]
|
|
852
857
|
|
|
858
|
+
[1.5.1]: https://github.com/Automattic/charts/compare/v1.5.0...v1.5.1
|
|
853
859
|
[1.5.0]: https://github.com/Automattic/charts/compare/v1.4.3...v1.5.0
|
|
854
860
|
[1.4.3]: https://github.com/Automattic/charts/compare/v1.4.2...v1.4.3
|
|
855
861
|
[1.4.2]: https://github.com/Automattic/charts/compare/v1.4.1...v1.4.2
|