@carbon/charts 1.23.11 → 1.23.12

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
@@ -3,6 +3,19 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 1.23.12 (2025-06-17)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **Legend:** handling of longer labels in vertical orientation
11
+ ([#2005](https://github.com/carbon-design-system/carbon-charts/issues/2005))
12
+ ([9a5c567](https://github.com/carbon-design-system/carbon-charts/commit/9a5c567ee0b5f8cd8b3c8812d3d2e7882731a518))
13
+
14
+ # Change Log
15
+
16
+ All notable changes to this project will be documented in this file. See
17
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
18
+
6
19
  ## 1.23.11 (2025-06-16)
7
20
 
8
21
  ### Bug Fixes
@@ -3942,7 +3942,7 @@ class Dd extends dt {
3942
3942
  render(t = !1) {
3943
3943
  const e = this.getOptions(), n = O(e, "legend"), s = O(n, "alignment"), a = O(e, "legend", "orientation");
3944
3944
  let r = this.model.getDataGroups();
3945
- const { DISABLED: o } = Mt.items.status, c = r.some((S) => S.status === o), l = O(n, "order"), h = this.getComponentContainer().classed("center-aligned", s === te.CENTER).classed("right-aligned", s === te.RIGHT).classed(a, !0).classed("has-deactivated-items", c).attr("role", lt.GROUP).attr("aria-label", "Data groups").attr("data-name", "legend-items");
3945
+ const { DISABLED: o } = Mt.items.status, c = r.some((S) => S.status === o), l = O(n, "order"), h = this.getComponentContainer().classed("center-aligned", s === te.CENTER).classed("right-aligned", s === te.RIGHT).classed(a || "horizontal", !0).classed("has-deactivated-items", c).attr("role", lt.GROUP).attr("aria-label", "Data groups").attr("data-name", "legend-items");
3946
3946
  l && (r = this.sortDataGroups(r, l));
3947
3947
  const d = h.selectAll("div.legend-item").data(r, (S) => S.name), u = d.enter().append("div").attr("class", "legend-item");
3948
3948
  u.merge(h.selectAll("div.legend-item")).classed("active", function(S) {
@@ -10765,4 +10765,4 @@ export {
10765
10765
  qm as y,
10766
10766
  Vm as z
10767
10767
  };
10768
- //# sourceMappingURL=choropleth-i0nOtDVK.mjs.map
10768
+ //# sourceMappingURL=choropleth-DJ5n2HvY.mjs.map