@carbon/charts-vue 1.5.6 → 1.5.8
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 +16 -0
- package/charts-vue.common.js +6 -2
- package/charts-vue.common.js.map +1 -1
- package/charts-vue.umd.js +6 -2
- package/charts-vue.umd.js.map +1 -1
- package/charts-vue.umd.min.js +1 -1
- package/charts-vue.umd.min.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.5.8](https://github.com/carbon-design-system/carbon-charts/compare/v1.5.7...v1.5.8) (2022-09-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @carbon/charts-vue
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.5.7](https://github.com/carbon-design-system/carbon-charts/compare/v1.5.6...v1.5.7) (2022-09-19)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @carbon/charts-vue
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.5.6](https://github.com/carbon-design-system/carbon-charts/compare/v1.5.5...v1.5.6) (2022-09-14)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @carbon/charts-vue
|
package/charts-vue.common.js
CHANGED
|
@@ -33848,11 +33848,15 @@ var wordcloud_WordCloud = /** @class */ (function (_super) {
|
|
|
33848
33848
|
.size([width, height])
|
|
33849
33849
|
.words(displayData.map(function (d) {
|
|
33850
33850
|
var _a;
|
|
33851
|
+
var value = d[fontSizeMapsTo];
|
|
33852
|
+
if (typeof d[fontSizeMapsTo] !== 'number') {
|
|
33853
|
+
throw Error('Badly formatted WordCloud data. `value` should only be an integer or float');
|
|
33854
|
+
}
|
|
33851
33855
|
return _a = {},
|
|
33852
33856
|
_a[groupMapsTo] = d[groupMapsTo],
|
|
33853
33857
|
_a.text = d[wordMapsTo],
|
|
33854
|
-
_a.size =
|
|
33855
|
-
_a.value =
|
|
33858
|
+
_a.size = value,
|
|
33859
|
+
_a.value = value,
|
|
33856
33860
|
_a;
|
|
33857
33861
|
}))
|
|
33858
33862
|
.padding(5)
|