@carbon/charts-react 1.23.2 → 1.23.4
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 +5 -2
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/index.umd.cjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -15289,7 +15289,7 @@ class ce extends mt {
|
|
|
15289
15289
|
const n = this.parent, { width: r, height: i } = N.getSVGElementSize(n, {
|
|
15290
15290
|
useAttrs: !0
|
|
15291
15291
|
});
|
|
15292
|
-
this.backdrop = N.appendOrSelect(n, "svg.chart-skeleton.DAII").attr("width", r).attr("height", i);
|
|
15292
|
+
this.backdrop = N.appendOrSelect(n, "svg.chart-skeleton.DAII").attr("role", "presentation").attr("width", r).attr("height", i);
|
|
15293
15293
|
const s = N.appendOrSelect(this.backdrop, "rect.chart-skeleton-backdrop");
|
|
15294
15294
|
s.attr("width", "100%").attr("height", "100%");
|
|
15295
15295
|
const [a] = this.xScale.range(), [, o] = this.yScale.range();
|
|
@@ -18032,7 +18032,10 @@ class GD extends ce {
|
|
|
18032
18032
|
}
|
|
18033
18033
|
updateBackdropStyle() {
|
|
18034
18034
|
const t = this.parent;
|
|
18035
|
-
this.backdrop = N.appendOrSelect(t, "svg.chart-skeleton.DAII")
|
|
18035
|
+
this.backdrop = N.appendOrSelect(t, "svg.chart-skeleton.DAII").attr(
|
|
18036
|
+
"role",
|
|
18037
|
+
"presentation"
|
|
18038
|
+
), N.appendOrSelect(this.backdrop, "rect.chart-skeleton-backdrop").classed("shimmer-effect-lines", !1).classed("shimmer-effect-sparkline", !0).style("stroke", null);
|
|
18036
18039
|
}
|
|
18037
18040
|
}
|
|
18038
18041
|
class $v extends mt {
|