@automattic/charts 1.4.3 → 1.5.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/CHANGELOG.md +9 -0
- package/SECURITY.md +0 -1
- package/dist/index.cjs +449 -137
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +38 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.js +747 -435
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/charts/area-chart/area-chart.tsx +24 -10
- package/src/charts/area-chart/test/area-chart.test.tsx +73 -3
- package/src/charts/area-chart/types.ts +15 -0
- package/src/charts/line-chart/line-chart.tsx +16 -5
- package/src/charts/line-chart/types.ts +6 -0
- package/src/charts/private/test/x-zoom.test.tsx +142 -0
- package/src/charts/private/x-zoom.module.scss +45 -0
- package/src/charts/private/x-zoom.tsx +162 -0
- package/src/types.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ 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.0] - 2026-06-01
|
|
9
|
+
### Added
|
|
10
|
+
- 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]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Charts: AreaChart Y-axis now rescales to the visible series when interactive legends toggle items off. Pass `rescaleYOnLegendToggle={ false }` to restore the previous pinned-extent behavior. [#49241]
|
|
14
|
+
- Update package dependencies. [#48404]
|
|
15
|
+
|
|
8
16
|
## [1.4.3] - 2026-05-25
|
|
9
17
|
### Changed
|
|
10
18
|
- Update dependencies. [#43811]
|
|
@@ -842,6 +850,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
842
850
|
- Fixed lints following ESLint rule changes for TS [#40584]
|
|
843
851
|
- Fixing a bug in Chart storybook data. [#40640]
|
|
844
852
|
|
|
853
|
+
[1.5.0]: https://github.com/Automattic/charts/compare/v1.4.3...v1.5.0
|
|
845
854
|
[1.4.3]: https://github.com/Automattic/charts/compare/v1.4.2...v1.4.3
|
|
846
855
|
[1.4.2]: https://github.com/Automattic/charts/compare/v1.4.1...v1.4.2
|
|
847
856
|
[1.4.1]: https://github.com/Automattic/charts/compare/v1.4.0...v1.4.1
|