@vizabi/bubblechart 5.2.0 → 5.2.1
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/build/bubblechart.js +11 -7
- package/build/bubblechart.js.map +1 -1
- package/build/stats.html +1 -1
- package/package.json +1 -1
package/build/bubblechart.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// https://github.com/vizabi/bubblechart#readme v5.2.
|
|
1
|
+
// https://github.com/vizabi/bubblechart#readme v5.2.1 build 1746462563188 Copyright 2025 Gapminder Foundation and contributors
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@vizabi/shared-components'), require('d3'), require('mobx')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', '@vizabi/shared-components', 'd3', 'mobx'], factory) :
|
|
@@ -45291,6 +45291,7 @@ void main(void) {
|
|
|
45291
45291
|
}
|
|
45292
45292
|
return;
|
|
45293
45293
|
}
|
|
45294
|
+
|
|
45294
45295
|
const _this = this;
|
|
45295
45296
|
this.superHighlightFilter = superHighlightFilter;
|
|
45296
45297
|
this.__superHLBlink = false;
|
|
@@ -45304,7 +45305,8 @@ void main(void) {
|
|
|
45304
45305
|
|
|
45305
45306
|
loop();
|
|
45306
45307
|
}, SUPERHIGHLIGHT_DELAY);
|
|
45307
|
-
}
|
|
45308
|
+
}
|
|
45309
|
+
|
|
45308
45310
|
}
|
|
45309
45311
|
|
|
45310
45312
|
_selectDataPoints() {
|
|
@@ -45467,7 +45469,9 @@ void main(void) {
|
|
|
45467
45469
|
},
|
|
45468
45470
|
getTooltipText: (d) => {
|
|
45469
45471
|
if (!d) return;
|
|
45470
|
-
return d[TRAIL_KEY] || this.__selectedMarkers.has(d[KEY])? this.localise(d.frame) : this.__labelWithoutFrame(d)
|
|
45472
|
+
return this.ui.labels.enabled ? d[TRAIL_KEY] || this.__selectedMarkers.has(d[KEY]) ? this.localise(d.frame) : this.__labelWithoutFrame(d)
|
|
45473
|
+
:
|
|
45474
|
+
d[TRAIL_KEY] ? this.__labelWithFrame(d) : this.__labelWithoutFrame(d);
|
|
45471
45475
|
},
|
|
45472
45476
|
getLabelPosition: (d) => {
|
|
45473
45477
|
if (!d) return;
|
|
@@ -45952,7 +45956,7 @@ void main(void) {
|
|
|
45952
45956
|
getTextAnchor: 'end',
|
|
45953
45957
|
getAlignmentBaseline: 'bottom',
|
|
45954
45958
|
getDragged: this.props.getDragged,
|
|
45955
|
-
pickable:
|
|
45959
|
+
pickable: false,
|
|
45956
45960
|
background: !this.ui.labels.removeLabelBox,
|
|
45957
45961
|
backgroundPadding: [6, 4],
|
|
45958
45962
|
getBorderWidth: 1,
|
|
@@ -46080,8 +46084,8 @@ void main(void) {
|
|
|
46080
46084
|
|
|
46081
46085
|
__tooltipDataFilter() {
|
|
46082
46086
|
const index = this.__selectedKeys.indexOf(this.activeObject[TRAIL_KEY] || this.activeObject[KEY]);
|
|
46083
|
-
return this.MDL.trail.show ? this.activeObject.frame != this.__labelData[index]?.frame || ((this.activeObject[TRAIL_KEY] || this.activeObject[KEY]) != this.__labelData[index]?.[TRAIL_KEY])
|
|
46084
|
-
: index == -1;
|
|
46087
|
+
return !this.ui.labels.enabled || (this.MDL.trail.show ? this.activeObject.frame != this.__labelData[index]?.frame || ((this.activeObject[TRAIL_KEY] || this.activeObject[KEY]) != this.__labelData[index]?.[TRAIL_KEY])
|
|
46088
|
+
: index == -1);
|
|
46085
46089
|
}
|
|
46086
46090
|
|
|
46087
46091
|
get zScale() {
|
|
@@ -46328,7 +46332,7 @@ void main(void) {
|
|
|
46328
46332
|
}
|
|
46329
46333
|
});
|
|
46330
46334
|
|
|
46331
|
-
BubbleChart.versionInfo = { version: "5.2.
|
|
46335
|
+
BubbleChart.versionInfo = { version: "5.2.1", build: 1746462563188, package: {"homepage":"https://github.com/vizabi/bubblechart#readme","name":"@vizabi/bubblechart","description":"Vizabi bubble chart"}, sharedComponents: sharedComponents.versionInfo};
|
|
46332
46336
|
|
|
46333
46337
|
exports.Base = BubbleChart;
|
|
46334
46338
|
|