@carbon/charts-vue 1.23.11 → 1.23.13

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,32 @@
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.13 (2025-06-20)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add field name in aria label for pie and donut chart
11
+ ([#1993](https://github.com/carbon-design-system/carbon-charts/issues/1993))
12
+ ([418fbe9](https://github.com/carbon-design-system/carbon-charts/commit/418fbe9132b86864833a0e146d34acce2901ac56))
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
+
19
+ ## 1.23.12 (2025-06-17)
20
+
21
+ ### Bug Fixes
22
+
23
+ - **Legend:** handling of longer labels in vertical orientation
24
+ ([#2005](https://github.com/carbon-design-system/carbon-charts/issues/2005))
25
+ ([9a5c567](https://github.com/carbon-design-system/carbon-charts/commit/9a5c567ee0b5f8cd8b3c8812d3d2e7882731a518))
26
+
27
+ # Change Log
28
+
29
+ All notable changes to this project will be documented in this file. See
30
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
31
+
6
32
  ## 1.23.11 (2025-06-16)
7
33
 
8
34
  ### 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) {
@@ -16608,10 +16608,11 @@ class xv extends gt {
16608
16608
  name: "pie_slice_enter_update",
16609
16609
  animate: t
16610
16610
  })
16611
- ).attr("opacity", 1).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr(
16612
- "aria-label",
16613
- (A) => `${A[a]}, ${wo(A.data[a], o, a) + "%"}`
16614
- ).attrTween("d", function(A) {
16611
+ ).attr("opacity", 1).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr("aria-label", (A) => [
16612
+ A[a],
16613
+ wo(A.data[a], o, a) + "%",
16614
+ A.data[s]
16615
+ ].filter(Boolean).join(", ")).attrTween("d", function(A) {
16615
16616
  return SD.bind(this)(A, n.arc);
16616
16617
  }).on("end", () => {
16617
16618
  n.isRendering = !1;