@automattic/charts 1.10.2 → 1.10.3

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 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
+ ## [1.10.3] - 2026-07-22
9
+ ### Fixed
10
+ - LeaderboardChart: Keep row spacing and column alignment identical whether or not a row is interactive. [#50657]
11
+
8
12
  ## [1.10.2] - 2026-07-20
9
13
  ### Added
10
14
  - Add HeatmapChart min/max cell size bounds and floor an all-zero heatmap at the scale bottom instead of full intensity. [#50517]
@@ -931,6 +935,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
931
935
  - Fixed lints following ESLint rule changes for TS [#40584]
932
936
  - Fixing a bug in Chart storybook data. [#40640]
933
937
 
938
+ [1.10.3]: https://github.com/Automattic/charts/compare/v1.10.2...v1.10.3
934
939
  [1.10.2]: https://github.com/Automattic/charts/compare/v1.10.1...v1.10.2
935
940
  [1.10.1]: https://github.com/Automattic/charts/compare/v1.10.0...v1.10.1
936
941
  [1.10.0]: https://github.com/Automattic/charts/compare/v1.9.0...v1.10.0
package/dist/index.cjs CHANGED
@@ -9076,6 +9076,7 @@ var leaderboard_chart_module_default = {
9076
9076
  "leaderboardChart--responsive": "a8ccharts-GovfoW-leaderboardChart--responsive",
9077
9077
  "overlap": "a8ccharts-GovfoW-overlap",
9078
9078
  "overlayLabel": "a8ccharts-GovfoW-overlayLabel",
9079
+ "row": "a8ccharts-GovfoW-row",
9079
9080
  "stretch": "a8ccharts-GovfoW-stretch",
9080
9081
  "valueContainer": "a8ccharts-GovfoW-valueContainer"
9081
9082
  };
@@ -9346,7 +9347,7 @@ const LeaderboardChartInternal = ({ data, chartId: providedChartId, width: propW
9346
9347
  })] });
9347
9348
  if (entry.onClick) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
9348
9349
  type: "button",
9349
- className: leaderboard_chart_module_default.interactiveRow,
9350
+ className: (0, clsx.default)(leaderboard_chart_module_default.row, leaderboard_chart_module_default.interactiveRow),
9350
9351
  onClick: entry.onClick,
9351
9352
  "aria-label": entry.ariaLabel,
9352
9353
  children: [rowCells, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_icons.Icon, {
@@ -9355,7 +9356,10 @@ const LeaderboardChartInternal = ({ data, chartId: providedChartId, width: propW
9355
9356
  size: 24
9356
9357
  })]
9357
9358
  }, entry.id);
9358
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react$1.Fragment, { children: rowCells }, entry.id);
9359
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
9360
+ className: leaderboard_chart_module_default.row,
9361
+ children: rowCells
9362
+ }, entry.id);
9359
9363
  })
9360
9364
  })
9361
9365
  })