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-finance.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (finance) v3.0.0
|
|
3
|
-
* Copyright 2012-
|
|
2
|
+
* plotly.js (finance) v3.0.0
|
|
3
|
+
* Copyright 2012-2025, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
6
6
|
*/
|
|
@@ -42,7 +42,7 @@ var Plotly = (() => {
|
|
|
42
42
|
var require_version = __commonJS({
|
|
43
43
|
"src/version.js"(exports) {
|
|
44
44
|
"use strict";
|
|
45
|
-
exports.version = "3.0.0
|
|
45
|
+
exports.version = "3.0.0";
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
|
|
@@ -12772,11 +12772,14 @@ var Plotly = (() => {
|
|
|
12772
12772
|
var style = document.getElementById(id);
|
|
12773
12773
|
if (style) removeElement(style);
|
|
12774
12774
|
}
|
|
12775
|
-
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle) {
|
|
12775
|
+
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle, element) {
|
|
12776
12776
|
var activeStyleParts = activeStyle.split(":");
|
|
12777
12777
|
var inactiveStyleParts = inactiveStyle.split(":");
|
|
12778
12778
|
var eventAddedAttrName = "data-btn-style-event-added";
|
|
12779
|
-
|
|
12779
|
+
if (!element) {
|
|
12780
|
+
element = document;
|
|
12781
|
+
}
|
|
12782
|
+
element.querySelectorAll(selector).forEach(function(el) {
|
|
12780
12783
|
if (!el.getAttribute(eventAddedAttrName)) {
|
|
12781
12784
|
el.addEventListener("mouseenter", function() {
|
|
12782
12785
|
var childEl = this.querySelector(childSelector);
|
|
@@ -13738,10 +13741,10 @@ var Plotly = (() => {
|
|
|
13738
13741
|
}
|
|
13739
13742
|
});
|
|
13740
13743
|
|
|
13741
|
-
// stylePlugin:/
|
|
13744
|
+
// stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
|
|
13742
13745
|
var maplibre_gl_exports = {};
|
|
13743
13746
|
var init_maplibre_gl2 = __esm({
|
|
13744
|
-
"stylePlugin:/
|
|
13747
|
+
"stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
|
|
13745
13748
|
init_maplibre_gl();
|
|
13746
13749
|
}
|
|
13747
13750
|
});
|
|
@@ -37158,7 +37161,6 @@ var Plotly = (() => {
|
|
|
37158
37161
|
document.querySelectorAll(groupSelector).forEach(function(group) {
|
|
37159
37162
|
group.style.backgroundColor = style.bgcolor;
|
|
37160
37163
|
});
|
|
37161
|
-
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color);
|
|
37162
37164
|
var needsNewButtons = !this.hasButtons(buttons);
|
|
37163
37165
|
var needsNewLogo = this.hasLogo !== context.displaylogo;
|
|
37164
37166
|
var needsNewLocale = this.locale !== context.locale;
|
|
@@ -37180,6 +37182,7 @@ var Plotly = (() => {
|
|
|
37180
37182
|
}
|
|
37181
37183
|
}
|
|
37182
37184
|
this.updateActiveButton();
|
|
37185
|
+
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color, this.element);
|
|
37183
37186
|
};
|
|
37184
37187
|
proto.updateButtons = function(buttons) {
|
|
37185
37188
|
var _this = this;
|