@carbon/charts-react 1.27.0 → 1.27.2
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 +3 -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
|
@@ -8441,7 +8441,8 @@ let N = class Rl extends kn {
|
|
|
8441
8441
|
return `chart-${this.chartID}-${t}`;
|
|
8442
8442
|
}
|
|
8443
8443
|
initializeID() {
|
|
8444
|
-
|
|
8444
|
+
const t = this.model.getOptions().chartId;
|
|
8445
|
+
t ? this.chartID = t : this.chartID = Math.floor((1 + Math.random()) * 281474976710656).toString(16);
|
|
8445
8446
|
}
|
|
8446
8447
|
addMainContainer() {
|
|
8447
8448
|
const t = this.model.getOptions(), n = y(t, "style", "prefix"), r = I(this.getHolder()).append("div").classed(`${ue}--${n}--chart-wrapper`, !0).attr("id", `chart-${this.getChartID()}`).style("height", "100%").style("width", "100%");
|
|
@@ -12406,7 +12407,7 @@ class fo extends mt {
|
|
|
12406
12407
|
<div class="cds--modal-container">
|
|
12407
12408
|
<div class="cds--modal-header">
|
|
12408
12409
|
|
|
12409
|
-
<p class="cds--modal-header__label cds--type-delta" id="
|
|
12410
|
+
<p class="cds--modal-header__label cds--type-delta" id="${t}__modal-title">${r}</p>
|
|
12410
12411
|
|
|
12411
12412
|
<p class="cds--modal-header__heading cds--type-beta" id="${t}__modal-description">${en(
|
|
12412
12413
|
n.title
|