Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed Jan 27, 2025
1 parent a804647 commit 858c3a6
Show file tree
Hide file tree
Showing 25 changed files with 181 additions and 151 deletions.
36 changes: 18 additions & 18 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
| 10.3 MB | 4.4 MB | 1.4 MB | 10.6 MB |

#### CDN links
> https://cdn.plot.ly/plotly-3.0.0-rc.2.js
> https://cdn.plot.ly/plotly-3.0.0.js
> https://cdn.plot.ly/plotly-3.0.0-rc.2.min.js
> https://cdn.plot.ly/plotly-3.0.0.min.js

#### npm packages
Expand Down Expand Up @@ -94,9 +94,9 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
| 2.6 MB | 1008.8 kB | 349.3 kB |

#### CDN links
> https://cdn.plot.ly/plotly-basic-3.0.0-rc.2.js
> https://cdn.plot.ly/plotly-basic-3.0.0.js
> https://cdn.plot.ly/plotly-basic-3.0.0-rc.2.min.js
> https://cdn.plot.ly/plotly-basic-3.0.0.min.js

#### npm packages
Expand All @@ -117,9 +117,9 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
| 3.3 MB | 1.3 MB | 446.5 kB |

#### CDN links
> https://cdn.plot.ly/plotly-cartesian-3.0.0-rc.2.js
> https://cdn.plot.ly/plotly-cartesian-3.0.0.js
> https://cdn.plot.ly/plotly-cartesian-3.0.0-rc.2.min.js
> https://cdn.plot.ly/plotly-cartesian-3.0.0.min.js

#### npm packages
Expand All @@ -140,9 +140,9 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
| 2.9 MB | 1.1 MB | 398.8 kB |

#### CDN links
> https://cdn.plot.ly/plotly-geo-3.0.0-rc.2.js
> https://cdn.plot.ly/plotly-geo-3.0.0.js
> https://cdn.plot.ly/plotly-geo-3.0.0-rc.2.min.js
> https://cdn.plot.ly/plotly-geo-3.0.0.min.js

#### npm packages
Expand All @@ -163,9 +163,9 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
| 4.1 MB | 1.5 MB | 513.8 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl3d-3.0.0-rc.2.js
> https://cdn.plot.ly/plotly-gl3d-3.0.0.js
> https://cdn.plot.ly/plotly-gl3d-3.0.0-rc.2.min.js
> https://cdn.plot.ly/plotly-gl3d-3.0.0.min.js

#### npm packages
Expand All @@ -186,9 +186,9 @@ The `gl2d` partial bundle contains trace modules `parcoords`, `scatter`, `scatte
| 3.4 MB | 1.3 MB | 469.1 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl2d-3.0.0-rc.2.js
> https://cdn.plot.ly/plotly-gl2d-3.0.0.js
> https://cdn.plot.ly/plotly-gl2d-3.0.0-rc.2.min.js
> https://cdn.plot.ly/plotly-gl2d-3.0.0.min.js

#### npm packages
Expand All @@ -209,9 +209,9 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
| 4.4 MB | 1.8 MB | 564.4 kB |

#### CDN links
> https://cdn.plot.ly/plotly-mapbox-3.0.0-rc.2.js
> https://cdn.plot.ly/plotly-mapbox-3.0.0.js
> https://cdn.plot.ly/plotly-mapbox-3.0.0-rc.2.min.js
> https://cdn.plot.ly/plotly-mapbox-3.0.0.min.js

#### npm packages
Expand All @@ -232,9 +232,9 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
| 2.8 MB | 1.1 MB | 383 kB |

#### CDN links
> https://cdn.plot.ly/plotly-finance-3.0.0-rc.2.js
> https://cdn.plot.ly/plotly-finance-3.0.0.js
> https://cdn.plot.ly/plotly-finance-3.0.0-rc.2.min.js
> https://cdn.plot.ly/plotly-finance-3.0.0.min.js

#### npm packages
Expand All @@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
| 11.1 MB | 4.8 MB | 1.4 MB |

#### CDN links
> https://cdn.plot.ly/plotly-strict-3.0.0-rc.2.js
> https://cdn.plot.ly/plotly-strict-3.0.0.js
> https://cdn.plot.ly/plotly-strict-3.0.0-rc.2.min.js
> https://cdn.plot.ly/plotly-strict-3.0.0.min.js

#### npm packages
Expand Down
19 changes: 11 additions & 8 deletions dist/plotly-basic.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* plotly.js (basic) v3.0.0-rc.2
* Copyright 2012-2024, Plotly, Inc.
* plotly.js (basic) v3.0.0
* Copyright 2012-2025, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -38,7 +38,7 @@ var Plotly = (() => {
var require_version = __commonJS({
"src/version.js"(exports) {
"use strict";
exports.version = "3.0.0-rc.2";
exports.version = "3.0.0";
}
});

Expand Down Expand Up @@ -12768,11 +12768,14 @@ var Plotly = (() => {
var style = document.getElementById(id);
if (style) removeElement(style);
}
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle) {
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle, element) {
var activeStyleParts = activeStyle.split(":");
var inactiveStyleParts = inactiveStyle.split(":");
var eventAddedAttrName = "data-btn-style-event-added";
document.querySelectorAll(selector).forEach(function(el) {
if (!element) {
element = document;
}
element.querySelectorAll(selector).forEach(function(el) {
if (!el.getAttribute(eventAddedAttrName)) {
el.addEventListener("mouseenter", function() {
var childEl = this.querySelector(childSelector);
Expand Down Expand Up @@ -13734,10 +13737,10 @@ var Plotly = (() => {
}
});

// stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
// stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
var maplibre_gl_exports = {};
var init_maplibre_gl2 = __esm({
"stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
"stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
init_maplibre_gl();
}
});
Expand Down Expand Up @@ -37154,7 +37157,6 @@ var Plotly = (() => {
document.querySelectorAll(groupSelector).forEach(function(group) {
group.style.backgroundColor = style.bgcolor;
});
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color);
var needsNewButtons = !this.hasButtons(buttons);
var needsNewLogo = this.hasLogo !== context.displaylogo;
var needsNewLocale = this.locale !== context.locale;
Expand All @@ -37176,6 +37178,7 @@ var Plotly = (() => {
}
}
this.updateActiveButton();
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color, this.element);
};
proto.updateButtons = function(buttons) {
var _this = this;
Expand Down
10 changes: 5 additions & 5 deletions dist/plotly-basic.min.js

Large diffs are not rendered by default.

19 changes: 11 additions & 8 deletions dist/plotly-cartesian.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* plotly.js (cartesian) v3.0.0-rc.2
* Copyright 2012-2024, Plotly, Inc.
* plotly.js (cartesian) v3.0.0
* Copyright 2012-2025, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -38,7 +38,7 @@ var Plotly = (() => {
var require_version = __commonJS({
"src/version.js"(exports) {
"use strict";
exports.version = "3.0.0-rc.2";
exports.version = "3.0.0";
}
});

Expand Down Expand Up @@ -12768,11 +12768,14 @@ var Plotly = (() => {
var style = document.getElementById(id);
if (style) removeElement(style);
}
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle) {
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle, element) {
var activeStyleParts = activeStyle.split(":");
var inactiveStyleParts = inactiveStyle.split(":");
var eventAddedAttrName = "data-btn-style-event-added";
document.querySelectorAll(selector).forEach(function(el) {
if (!element) {
element = document;
}
element.querySelectorAll(selector).forEach(function(el) {
if (!el.getAttribute(eventAddedAttrName)) {
el.addEventListener("mouseenter", function() {
var childEl = this.querySelector(childSelector);
Expand Down Expand Up @@ -13734,10 +13737,10 @@ var Plotly = (() => {
}
});

// stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
// stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
var maplibre_gl_exports = {};
var init_maplibre_gl2 = __esm({
"stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
"stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
init_maplibre_gl();
}
});
Expand Down Expand Up @@ -37154,7 +37157,6 @@ var Plotly = (() => {
document.querySelectorAll(groupSelector).forEach(function(group) {
group.style.backgroundColor = style.bgcolor;
});
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color);
var needsNewButtons = !this.hasButtons(buttons);
var needsNewLogo = this.hasLogo !== context.displaylogo;
var needsNewLocale = this.locale !== context.locale;
Expand All @@ -37176,6 +37178,7 @@ var Plotly = (() => {
}
}
this.updateActiveButton();
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color, this.element);
};
proto.updateButtons = function(buttons) {
var _this = this;
Expand Down
10 changes: 5 additions & 5 deletions dist/plotly-cartesian.min.js

Large diffs are not rendered by default.

19 changes: 11 additions & 8 deletions dist/plotly-finance.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* plotly.js (finance) v3.0.0-rc.2
* Copyright 2012-2024, Plotly, Inc.
* plotly.js (finance) v3.0.0
* Copyright 2012-2025, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -42,7 +42,7 @@ var Plotly = (() => {
var require_version = __commonJS({
"src/version.js"(exports) {
"use strict";
exports.version = "3.0.0-rc.2";
exports.version = "3.0.0";
}
});

Expand Down Expand Up @@ -12772,11 +12772,14 @@ var Plotly = (() => {
var style = document.getElementById(id);
if (style) removeElement(style);
}
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle) {
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle, element) {
var activeStyleParts = activeStyle.split(":");
var inactiveStyleParts = inactiveStyle.split(":");
var eventAddedAttrName = "data-btn-style-event-added";
document.querySelectorAll(selector).forEach(function(el) {
if (!element) {
element = document;
}
element.querySelectorAll(selector).forEach(function(el) {
if (!el.getAttribute(eventAddedAttrName)) {
el.addEventListener("mouseenter", function() {
var childEl = this.querySelector(childSelector);
Expand Down Expand Up @@ -13738,10 +13741,10 @@ var Plotly = (() => {
}
});

// stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
// stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
var maplibre_gl_exports = {};
var init_maplibre_gl2 = __esm({
"stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
"stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
init_maplibre_gl();
}
});
Expand Down Expand Up @@ -37158,7 +37161,6 @@ var Plotly = (() => {
document.querySelectorAll(groupSelector).forEach(function(group) {
group.style.backgroundColor = style.bgcolor;
});
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color);
var needsNewButtons = !this.hasButtons(buttons);
var needsNewLogo = this.hasLogo !== context.displaylogo;
var needsNewLocale = this.locale !== context.locale;
Expand All @@ -37180,6 +37182,7 @@ var Plotly = (() => {
}
}
this.updateActiveButton();
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color, this.element);
};
proto.updateButtons = function(buttons) {
var _this = this;
Expand Down
10 changes: 5 additions & 5 deletions dist/plotly-finance.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/plotly-geo-assets.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 11 additions & 8 deletions dist/plotly-geo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* plotly.js (geo) v3.0.0-rc.2
* Copyright 2012-2024, Plotly, Inc.
* plotly.js (geo) v3.0.0
* Copyright 2012-2025, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -38,7 +38,7 @@ var Plotly = (() => {
var require_version = __commonJS({
"src/version.js"(exports) {
"use strict";
exports.version = "3.0.0-rc.2";
exports.version = "3.0.0";
}
});

Expand Down Expand Up @@ -12768,11 +12768,14 @@ var Plotly = (() => {
var style = document.getElementById(id);
if (style) removeElement(style);
}
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle) {
function setStyleOnHover(selector, activeSelector, childSelector, activeStyle, inactiveStyle, element) {
var activeStyleParts = activeStyle.split(":");
var inactiveStyleParts = inactiveStyle.split(":");
var eventAddedAttrName = "data-btn-style-event-added";
document.querySelectorAll(selector).forEach(function(el) {
if (!element) {
element = document;
}
element.querySelectorAll(selector).forEach(function(el) {
if (!el.getAttribute(eventAddedAttrName)) {
el.addEventListener("mouseenter", function() {
var childEl = this.querySelector(childSelector);
Expand Down Expand Up @@ -13734,10 +13737,10 @@ var Plotly = (() => {
}
});

// stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
// stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css
var maplibre_gl_exports = {};
var init_maplibre_gl2 = __esm({
"stylePlugin:/home/solarch/plotly/webgl/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
"stylePlugin:/Users/alex/plotly/plotly.js/node_modules/maplibre-gl/dist/maplibre-gl.css"() {
init_maplibre_gl();
}
});
Expand Down Expand Up @@ -37154,7 +37157,6 @@ var Plotly = (() => {
document.querySelectorAll(groupSelector).forEach(function(group) {
group.style.backgroundColor = style.bgcolor;
});
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color);
var needsNewButtons = !this.hasButtons(buttons);
var needsNewLogo = this.hasLogo !== context.displaylogo;
var needsNewLocale = this.locale !== context.locale;
Expand All @@ -37176,6 +37178,7 @@ var Plotly = (() => {
}
}
this.updateActiveButton();
Lib.setStyleOnHover("#" + modeBarId + " .modebar-btn", ".active", ".icon path", "fill: " + style.activecolor, "fill: " + style.color, this.element);
};
proto.updateButtons = function(buttons) {
var _this = this;
Expand Down
10 changes: 5 additions & 5 deletions dist/plotly-geo.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 858c3a6

Please sign in to comment.