plotly.js 3.0.0-rc.2 → 3.0.0
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 +4 -4
- package/CITATION.cff +2 -2
- package/README.md +3 -3
- package/dist/README.md +18 -18
- package/dist/plotly-basic.js +11 -8
- package/dist/plotly-basic.min.js +5 -5
- package/dist/plotly-cartesian.js +11 -8
- package/dist/plotly-cartesian.min.js +5 -5
- package/dist/plotly-finance.js +11 -8
- package/dist/plotly-finance.min.js +5 -5
- package/dist/plotly-geo-assets.js +3 -3
- package/dist/plotly-geo.js +11 -8
- package/dist/plotly-geo.min.js +5 -5
- package/dist/plotly-gl2d.js +11 -8
- package/dist/plotly-gl2d.min.js +5 -5
- package/dist/plotly-gl3d.js +11 -8
- package/dist/plotly-gl3d.min.js +5 -5
- package/dist/plotly-mapbox.js +11 -8
- package/dist/plotly-mapbox.min.js +5 -5
- package/dist/plotly-strict.js +11 -8
- package/dist/plotly-strict.min.js +5 -5
- package/dist/plotly-with-meta.js +11 -8
- package/dist/plotly.js +11 -8
- package/dist/plotly.min.js +5 -5
- package/dist/translation-keys.txt +1 -1
- package/package.json +1 -1
- package/src/components/modebar/modebar.js +4 -3
- package/src/lib/dom.js +5 -3
- package/src/version.js +1 -1
package/dist/plotly-with-meta.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js v3.0.0
|
|
3
|
-
* Copyright 2012-
|
|
2
|
+
* plotly.js v3.0.0
|
|
3
|
+
* Copyright 2012-2025, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
6
6
|
*/
|
|
@@ -59,7 +59,7 @@ var Plotly = (() => {
|
|
|
59
59
|
var require_version = __commonJS({
|
|
60
60
|
"src/version.js"(exports) {
|
|
61
61
|
"use strict";
|
|
62
|
-
exports.version = "3.0.0
|
|
62
|
+
exports.version = "3.0.0";
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
|
|
@@ -13365,11 +13365,14 @@ var Plotly = (() => {
|
|
|
13365
13365
|
var style = document.getElementById(id);
|
|
13366
13366
|
if (style) removeElement(style);
|
|
13367
13367
|
}
|
|
13368
|
-
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle) {
|
|
13368
|
+
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle, element) {
|
|
13369
13369
|
var activeStyleParts = activeStyle.split(":");
|
|
13370
13370
|
var inactiveStyleParts = inactiveStyle.split(":");
|
|
13371
13371
|
var eventAddedAttrName = "data-btn-style-event-added";
|
|
13372
|
-
|
|
13372
|
+
if (!element) {
|
|
13373
|
+
element = document;
|
|
13374
|
+
}
|
|
13375
|
+
element.querySelectorAll(selector).forEach(function(el) {
|
|
13373
13376
|
if (!el.getAttribute(eventAddedAttrName)) {
|
|
13374
13377
|
el.addEventListener("mouseenter", function() {
|
|
13375
13378
|
var childEl = this.querySelector(childSelector);
|
|
@@ -14825,10 +14828,10 @@ var Plotly = (() => {
|
|
|
14825
14828
|
}
|
|
14826
14829
|
});
|
|
14827
14830
|
|
|
14828
|
-
// stylePlugin:/
|
|
14831
|
+
// stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
|
|
14829
14832
|
var maplibre_gl_exports = {};
|
|
14830
14833
|
var init_maplibre_gl2 = __esm({
|
|
14831
|
-
"stylePlugin:/
|
|
14834
|
+
"stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
|
|
14832
14835
|
init_maplibre_gl();
|
|
14833
14836
|
}
|
|
14834
14837
|
});
|
|
@@ -39178,7 +39181,6 @@ var Plotly = (() => {
|
|
|
39178
39181
|
document.querySelectorAll(groupSelector).forEach(function(group) {
|
|
39179
39182
|
group.style.backgroundColor = style.bgcolor;
|
|
39180
39183
|
});
|
|
39181
|
-
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color);
|
|
39182
39184
|
var needsNewButtons = !this.hasButtons(buttons);
|
|
39183
39185
|
var needsNewLogo = this.hasLogo !== context.displaylogo;
|
|
39184
39186
|
var needsNewLocale = this.locale !== context.locale;
|
|
@@ -39200,6 +39202,7 @@ var Plotly = (() => {
|
|
|
39200
39202
|
}
|
|
39201
39203
|
}
|
|
39202
39204
|
this.updateActiveButton();
|
|
39205
|
+
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color, this.element);
|
|
39203
39206
|
};
|
|
39204
39207
|
proto.updateButtons = function(buttons) {
|
|
39205
39208
|
var _this = this;
|
package/dist/plotly.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js v3.0.0
|
|
3
|
-
* Copyright 2012-
|
|
2
|
+
* plotly.js v3.0.0
|
|
3
|
+
* Copyright 2012-2025, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
6
6
|
*/
|
|
@@ -59,7 +59,7 @@ var Plotly = (() => {
|
|
|
59
59
|
var require_version = __commonJS({
|
|
60
60
|
"src/version.js"(exports) {
|
|
61
61
|
"use strict";
|
|
62
|
-
exports.version = "3.0.0
|
|
62
|
+
exports.version = "3.0.0";
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
|
|
@@ -12789,11 +12789,14 @@ var Plotly = (() => {
|
|
|
12789
12789
|
var style = document.getElementById(id);
|
|
12790
12790
|
if (style) removeElement(style);
|
|
12791
12791
|
}
|
|
12792
|
-
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle) {
|
|
12792
|
+
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle, element) {
|
|
12793
12793
|
var activeStyleParts = activeStyle.split(":");
|
|
12794
12794
|
var inactiveStyleParts = inactiveStyle.split(":");
|
|
12795
12795
|
var eventAddedAttrName = "data-btn-style-event-added";
|
|
12796
|
-
|
|
12796
|
+
if (!element) {
|
|
12797
|
+
element = document;
|
|
12798
|
+
}
|
|
12799
|
+
element.querySelectorAll(selector).forEach(function(el) {
|
|
12797
12800
|
if (!el.getAttribute(eventAddedAttrName)) {
|
|
12798
12801
|
el.addEventListener("mouseenter", function() {
|
|
12799
12802
|
var childEl = this.querySelector(childSelector);
|
|
@@ -13755,10 +13758,10 @@ var Plotly = (() => {
|
|
|
13755
13758
|
}
|
|
13756
13759
|
});
|
|
13757
13760
|
|
|
13758
|
-
// stylePlugin:/
|
|
13761
|
+
// stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
|
|
13759
13762
|
var maplibre_gl_exports = {};
|
|
13760
13763
|
var init_maplibre_gl2 = __esm({
|
|
13761
|
-
"stylePlugin:/
|
|
13764
|
+
"stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
|
|
13762
13765
|
init_maplibre_gl();
|
|
13763
13766
|
}
|
|
13764
13767
|
});
|
|
@@ -37175,7 +37178,6 @@ var Plotly = (() => {
|
|
|
37175
37178
|
document.querySelectorAll(groupSelector).forEach(function(group) {
|
|
37176
37179
|
group.style.backgroundColor = style.bgcolor;
|
|
37177
37180
|
});
|
|
37178
|
-
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color);
|
|
37179
37181
|
var needsNewButtons = !this.hasButtons(buttons);
|
|
37180
37182
|
var needsNewLogo = this.hasLogo !== context.displaylogo;
|
|
37181
37183
|
var needsNewLocale = this.locale !== context.locale;
|
|
@@ -37197,6 +37199,7 @@ var Plotly = (() => {
|
|
|
37197
37199
|
}
|
|
37198
37200
|
}
|
|
37199
37201
|
this.updateActiveButton();
|
|
37202
|
+
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color, this.element);
|
|
37200
37203
|
};
|
|
37201
37204
|
proto.updateButtons = function(buttons) {
|
|
37202
37205
|
var _this = this;
|