@carbon/charts 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 +26 -0
- package/dist/{choropleth-i0nOtDVK.mjs → choropleth-CnQNALge.mjs} +7 -6
- package/dist/choropleth-CnQNALge.mjs.map +1 -0
- package/dist/components/index.mjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/styles.css +4 -1
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css +1 -1
- package/dist/styles.min.css.map +1 -1
- package/dist/umd/bundle.umd.cjs +2 -2
- package/dist/umd/bundle.umd.cjs.map +1 -1
- package/dist/umd/bundle.umd.js +2 -2
- package/package.json +2 -2
- package/scss/components/_legend.scss +6 -1
- package/styles.css +4 -1
- package/styles.min.css +1 -1
- package/dist/choropleth-i0nOtDVK.mjs.map +0 -1
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
|
|
@@ -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) {
|
|
@@ -8032,10 +8032,11 @@ class fp extends dt {
|
|
|
8032
8032
|
name: "pie_slice_enter_update",
|
|
8033
8033
|
animate: t
|
|
8034
8034
|
})
|
|
8035
|
-
).attr("opacity", 1).attr("role", lt.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr(
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
8035
|
+
).attr("opacity", 1).attr("role", lt.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr("aria-label", (M) => [
|
|
8036
|
+
M[r],
|
|
8037
|
+
Ps(M.data[r], o, r) + "%",
|
|
8038
|
+
M.data[a]
|
|
8039
|
+
].filter(Boolean).join(", ")).attrTween("d", function(M) {
|
|
8039
8040
|
return pp.bind(this)(M, e.arc);
|
|
8040
8041
|
}).on("end", () => {
|
|
8041
8042
|
e.isRendering = !1;
|
|
@@ -10765,4 +10766,4 @@ export {
|
|
|
10765
10766
|
qm as y,
|
|
10766
10767
|
Vm as z
|
|
10767
10768
|
};
|
|
10768
|
-
//# sourceMappingURL=choropleth-
|
|
10769
|
+
//# sourceMappingURL=choropleth-CnQNALge.mjs.map
|