@carbon/charts-react 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/dist/index.mjs CHANGED
@@ -12565,7 +12565,7 @@ class lu extends mt {
12565
12565
  render(t = !1) {
12566
12566
  const n = this.getOptions(), r = y(n, "legend"), i = y(r, "alignment"), s = y(n, "legend", "orientation");
12567
12567
  let a = this.model.getDataGroups();
12568
- const { DISABLED: o } = It.items.status, l = a.some((x) => x.status === o), c = y(r, "order"), u = this.getComponentContainer().classed("center-aligned", i === jt.CENTER).classed("right-aligned", i === jt.RIGHT).classed(s, !0).classed("has-deactivated-items", l).attr("role", ht.GROUP).attr("aria-label", "Data groups").attr("data-name", "legend-items");
12568
+ const { DISABLED: o } = It.items.status, l = a.some((x) => x.status === o), c = y(r, "order"), u = this.getComponentContainer().classed("center-aligned", i === jt.CENTER).classed("right-aligned", i === jt.RIGHT).classed(s || "horizontal", !0).classed("has-deactivated-items", l).attr("role", ht.GROUP).attr("aria-label", "Data groups").attr("data-name", "legend-items");
12569
12569
  c && (a = this.sortDataGroups(a, c));
12570
12570
  const d = u.selectAll("div.legend-item").data(a, (x) => x.name), h = d.enter().append("div").attr("class", "legend-item");
12571
12571
  h.merge(u.selectAll("div.legend-item")).classed("active", function(x) {