@automattic/charts 1.10.1 → 1.10.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 +12 -0
- package/dist/index.cjs +242 -224
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +29 -0
- package/dist/index.d.cts +40 -1
- package/dist/index.d.ts +40 -1
- package/dist/index.js +229 -199
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/src/charts/heatmap-chart/heatmap-chart.module.scss +23 -0
- package/src/charts/heatmap-chart/heatmap-chart.tsx +78 -13
- package/src/charts/heatmap-chart/private/build-calendar-data.ts +22 -3
- package/src/charts/heatmap-chart/private/use-heatmap-colors.ts +6 -2
- package/src/charts/heatmap-chart/test/build-calendar-data.test.ts +34 -0
- package/src/charts/heatmap-chart/test/heatmap-chart.test.tsx +81 -0
- package/src/charts/heatmap-chart/test/use-heatmap-colors.test.ts +4 -0
- package/src/charts/heatmap-chart/types.ts +28 -0
- package/src/charts/leaderboard-chart/test/leaderboard-chart.test.tsx +0 -6
- package/src/charts/pie-semi-circle-chart/test/pie-semi-circle-chart.test.tsx +0 -6
- package/src/charts/private/with-responsive/test/with-responsive.test.tsx +229 -18
- package/src/charts/private/with-responsive/with-responsive.module.scss +20 -1
- package/src/charts/private/with-responsive/with-responsive.tsx +114 -65
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ 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.10.2] - 2026-07-20
|
|
9
|
+
### Added
|
|
10
|
+
- Add HeatmapChart min/max cell size bounds and floor an all-zero heatmap at the scale bottom instead of full intensity. [#50517]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Make calendar heatmaps render ragged edges by default, with out-of-range days skipped by hover and keyboard navigation. [#50520]
|
|
14
|
+
- Update package dependencies. [#50510] [#50529]
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- Keep aspectRatio charts within their parent on both axes so a height-constrained container no longer overflows vertically. [#50468]
|
|
18
|
+
|
|
8
19
|
## [1.10.1] - 2026-07-13
|
|
9
20
|
### Changed
|
|
10
21
|
- HeatmapChart: Fix the grid's ARIA structure, shrink to fit short containers instead of scrolling, hide the colliding partial first-month calendar label, and keep in-cell text legible on themed and dark backgrounds. [#50136]
|
|
@@ -920,6 +931,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
920
931
|
- Fixed lints following ESLint rule changes for TS [#40584]
|
|
921
932
|
- Fixing a bug in Chart storybook data. [#40640]
|
|
922
933
|
|
|
934
|
+
[1.10.2]: https://github.com/Automattic/charts/compare/v1.10.1...v1.10.2
|
|
923
935
|
[1.10.1]: https://github.com/Automattic/charts/compare/v1.10.0...v1.10.1
|
|
924
936
|
[1.10.0]: https://github.com/Automattic/charts/compare/v1.9.0...v1.10.0
|
|
925
937
|
[1.9.0]: https://github.com/Automattic/charts/compare/v1.8.1...v1.9.0
|