plotly.js 2.16.0 → 2.16.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/CHANGELOG.md +12 -0
- package/README.md +3 -3
- package/dist/README.md +19 -19
- package/dist/plotly-basic.js +2 -2
- package/dist/plotly-basic.min.js +2 -2
- package/dist/plotly-cartesian.js +2 -2
- package/dist/plotly-cartesian.min.js +2 -2
- package/dist/plotly-finance.js +2 -2
- package/dist/plotly-finance.min.js +2 -2
- package/dist/plotly-geo-assets.js +2 -2
- package/dist/plotly-geo.js +2 -2
- package/dist/plotly-geo.min.js +2 -2
- package/dist/plotly-gl2d.js +2 -2
- package/dist/plotly-gl2d.min.js +2 -2
- package/dist/plotly-gl3d.js +2 -2
- package/dist/plotly-gl3d.min.js +2 -2
- package/dist/plotly-mapbox.js +8 -5
- package/dist/plotly-mapbox.min.js +2 -2
- package/dist/plotly-strict.js +8 -5
- package/dist/plotly-strict.min.js +2 -2
- package/dist/plotly-with-meta.js +8 -5
- package/dist/plotly.js +8 -5
- package/dist/plotly.min.js +2 -2
- package/package.json +4 -4
- package/src/plots/mapbox/mapbox.js +2 -2
- package/src/traces/choroplethmapbox/plot.js +3 -0
- package/src/traces/scattermapbox/plot.js +1 -1
- package/src/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "plotly.js",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.2",
|
|
4
4
|
"description": "The open source javascript graphing library that powers plotly",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -128,13 +128,13 @@
|
|
|
128
128
|
"browserify": "^17.0.0",
|
|
129
129
|
"browserify-transform-tools": "^1.7.0",
|
|
130
130
|
"bubleify": "^2.0.0",
|
|
131
|
-
"canvas": "^2.
|
|
131
|
+
"canvas": "^2.10.1",
|
|
132
132
|
"check-node-version": "^4.2.1",
|
|
133
133
|
"chttps": "^1.0.6",
|
|
134
134
|
"deep-equal": "^2.0.5",
|
|
135
135
|
"derequire": "^2.1.1",
|
|
136
136
|
"ecstatic": "^4.1.4",
|
|
137
|
-
"eslint": "^8.
|
|
137
|
+
"eslint": "^8.25.0",
|
|
138
138
|
"extra-iterable": "^2.5.22",
|
|
139
139
|
"falafel": "^2.2.5",
|
|
140
140
|
"fs-extra": "^10.1.0",
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"read-last-lines": "^1.8.0",
|
|
168
168
|
"run-series": "^1.1.9",
|
|
169
169
|
"sane-topojson": "^4.0.0",
|
|
170
|
-
"sass": "^1.
|
|
170
|
+
"sass": "^1.55.0",
|
|
171
171
|
"through2": "^4.0.2",
|
|
172
172
|
"true-case-path": "^2.2.1",
|
|
173
173
|
"watchify": "^4.0.0"
|
|
@@ -593,7 +593,7 @@ proto.updateFx = function(fullLayout) {
|
|
|
593
593
|
map.off('click', self.onClickInPanHandler);
|
|
594
594
|
if(selectMode(dragMode) || drawMode(dragMode)) {
|
|
595
595
|
map.dragPan.disable();
|
|
596
|
-
map.on('zoomstart', self.
|
|
596
|
+
map.on('zoomstart', self.clearOutline);
|
|
597
597
|
|
|
598
598
|
self.dragOptions.prepFn = function(e, startX, startY) {
|
|
599
599
|
prepSelect(e, startX, startY, self.dragOptions, dragMode);
|
|
@@ -602,7 +602,7 @@ proto.updateFx = function(fullLayout) {
|
|
|
602
602
|
dragElement.init(self.dragOptions);
|
|
603
603
|
} else {
|
|
604
604
|
map.dragPan.enable();
|
|
605
|
-
map.off('zoomstart', self.
|
|
605
|
+
map.off('zoomstart', self.clearOutline);
|
|
606
606
|
self.div.onmousedown = null;
|
|
607
607
|
self.div.ontouchstart = null;
|
|
608
608
|
self.div.removeEventListener('touchstart', self.div._ontouchstart);
|
|
@@ -26,6 +26,9 @@ var proto = ChoroplethMapbox.prototype;
|
|
|
26
26
|
|
|
27
27
|
proto.update = function(calcTrace) {
|
|
28
28
|
this._update(convert(calcTrace));
|
|
29
|
+
|
|
30
|
+
// link ref for quick update during selections
|
|
31
|
+
calcTrace[0].trace._glTrace = this;
|
|
29
32
|
};
|
|
30
33
|
|
|
31
34
|
proto.updateOnSelect = function(calcTrace) {
|
package/src/version.js
CHANGED