@carbon/charts-vue 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
package/dist/index.mjs CHANGED
@@ -12558,7 +12558,7 @@ class eu extends gt {
12558
12558
  render(t = !1) {
12559
12559
  const n = this.getOptions(), r = y(n, "legend"), i = y(r, "alignment"), s = y(n, "legend", "orientation");
12560
12560
  let a = this.model.getDataGroups();
12561
- const { DISABLED: o } = Rt.items.status, l = a.some((x) => x.status === o), c = y(r, "order"), u = this.getComponentContainer().classed("center-aligned", i === Ft.CENTER).classed("right-aligned", i === Ft.RIGHT).classed(s, !0).classed("has-deactivated-items", l).attr("role", ht.GROUP).attr("aria-label", "Data groups").attr("data-name", "legend-items");
12561
+ const { DISABLED: o } = Rt.items.status, l = a.some((x) => x.status === o), c = y(r, "order"), u = this.getComponentContainer().classed("center-aligned", i === Ft.CENTER).classed("right-aligned", i === Ft.RIGHT).classed(s || "horizontal", !0).classed("has-deactivated-items", l).attr("role", ht.GROUP).attr("aria-label", "Data groups").attr("data-name", "legend-items");
12562
12562
  c && (a = this.sortDataGroups(a, c));
12563
12563
  const d = u.selectAll("div.legend-item").data(a, (x) => x.name), h = d.enter().append("div").attr("class", "legend-item");
12564
12564
  h.merge(u.selectAll("div.legend-item")).classed("active", function(x) {