@carbon/charts-vue 1.6.2 → 1.6.3
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 +8 -0
- package/README.md +1 -1
- package/charts-vue.common.js +13 -5
- package/charts-vue.common.js.map +1 -1
- package/charts-vue.umd.js +13 -5
- 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/charts-vue.umd.js
CHANGED
|
@@ -24261,7 +24261,8 @@ var tooltip_Tooltip = /** @class */ (function (_super) {
|
|
|
24261
24261
|
}
|
|
24262
24262
|
try {
|
|
24263
24263
|
// it's a correct ISO format Date string
|
|
24264
|
-
if (typeof value === 'string' &&
|
|
24264
|
+
if (typeof value === 'string' &&
|
|
24265
|
+
/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(value)) {
|
|
24265
24266
|
return format_format(Date.parse(value), 'MMM d, yyyy');
|
|
24266
24267
|
}
|
|
24267
24268
|
}
|
|
@@ -35299,7 +35300,7 @@ var alluvial_Alluvial = /** @class */ (function (_super) {
|
|
|
35299
35300
|
links.forEach(function (element) { return _this.traverse(direction, element, visited); });
|
|
35300
35301
|
};
|
|
35301
35302
|
Alluvial.prototype.getRightArrowIcon = function () {
|
|
35302
|
-
return "\n\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\">\n\t\t\t<polygon points=\"18 6 16.57 7.393 24.15 15 4 15 4 17 24.15 17 16.57 24.573 18 26 28 16 18 6\"/>\n\t\t\t<rect
|
|
35303
|
+
return "\n\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"arrow-right\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\">\n\t\t\t<polygon points=\"18 6 16.57 7.393 24.15 15 4 15 4 17 24.15 17 16.57 24.573 18 26 28 16 18 6\"/>\n\t\t\t<rect width=\"32\" height=\"32\"/>\n\t\t</svg>";
|
|
35303
35304
|
};
|
|
35304
35305
|
// Remove event listeners
|
|
35305
35306
|
Alluvial.prototype.destroy = function () {
|
|
@@ -39774,11 +39775,18 @@ var toolbar_Toolbar = /** @class */ (function (_super) {
|
|
|
39774
39775
|
.classed('disabled', function (d) { return d.shouldBeDisabled(); })
|
|
39775
39776
|
.attr('aria-disabled', function (d) { return d.shouldBeDisabled(); })
|
|
39776
39777
|
.attr('aria-label', function (d) { return d.title; })
|
|
39777
|
-
.html(function (d) { return "\n\t\t\t<button\n\t\t\t\tclass=\"cds--overflow-menu__trigger cds--overflow-menu__trigger\"\n\t\t\t\taria-haspopup=\"true\" aria-expanded=\"false\" id=\"" + _this.services.domUtils.generateElementIDString("control-" + d.id) + "\" aria-label=\"" + d.title + "\">\n\t\t\t\t<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\"
|
|
39778
|
-
? d.iconSVG.height
|
|
39779
|
-
: '20px') + "\" xmlns=\"http://www.w3.org/2000/svg\" class=\"cds--overflow-menu__icon cds--overflow-menu__icon\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t" + d.iconSVG.content + "\n\t\t\t\t</svg>\n\t\t\t</button>"; })
|
|
39778
|
+
.html(function (d) { return "\n\t\t\t<button\n\t\t\t\tclass=\"cds--overflow-menu__trigger cds--overflow-menu__trigger\"\n\t\t\t\taria-haspopup=\"true\" aria-expanded=\"false\" id=\"" + _this.services.domUtils.generateElementIDString("control-" + d.id) + "\" aria-label=\"" + d.title + "\">\n\t\t\t\t<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" class=\"cds--overflow-menu__icon cds--overflow-menu__icon\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t" + d.iconSVG.content + "\n\t\t\t\t</svg>\n\t\t\t</button>"; })
|
|
39780
39779
|
.each(function (d, index) {
|
|
39781
39780
|
var _this = this;
|
|
39781
|
+
src_select(this)
|
|
39782
|
+
.select('svg')
|
|
39783
|
+
.style('will-change', 'transform')
|
|
39784
|
+
.style('width', d.iconSVG.width !== undefined
|
|
39785
|
+
? d.iconSVG.width
|
|
39786
|
+
: '20px')
|
|
39787
|
+
.style('height', d.iconSVG.height !== undefined
|
|
39788
|
+
? d.iconSVG.height
|
|
39789
|
+
: '20px');
|
|
39782
39790
|
src_select(this)
|
|
39783
39791
|
.select('button')
|
|
39784
39792
|
.on('click', function (event) {
|