Skip to content

Commit 969e8b0

Browse files
committed
Merge remote-tracking branch 'origin/master' into cam/7473/update-legend-maxheight-logic
2 parents 8a322bb + 795da7e commit 969e8b0

40 files changed

+730
-113
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ To see all merged commits on the master branch that will be part of the next plo
99

1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

12+
## [3.0.3] -- 2025-07-23
13+
14+
### Fixed
15+
- Remove detailed description of font options [[7348](https://github.com/plotly/plotly.js/pull/7348)]
16+
17+
18+
## [3.0.2] -- 2025-07-22
19+
20+
### Fixed
21+
- Fix installing dependencies in node v22 [[#7381](https://github.com/plotly/plotly.js/pull/7381)], with thanks to @chaigh-uk for the contribution!
22+
- Fix Persian calendar leap year [[#7456](https://github.com/plotly/plotly.js/pull/7456)]
23+
- Fix scroll wheel zoom for geo subplots in Safari [#7474](https://github.com/plotly/plotly.js/pull/7474)
24+
- Add method to check for WebKit WebView user agent string [[#7479](https://github.com/plotly/plotly.js/pull/7479)]
25+
- Fix edit colorbar title [7487](https://github.com/plotly/plotly.js/pull/7487)
26+
27+
1228
## [3.1.0-rc.0] -- 2025-07-15
1329

1430
### Added

build/plotcss.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ var rules = {
3434
"X .ease-bg": "-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;",
3535
"X .modebar--hover>:not(.watermark)": "opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;",
3636
"X:hover .modebar--hover .modebar-group": "opacity:1;",
37+
"X:focus-within .modebar--hover .modebar-group": "opacity:1;",
3738
"X .modebar-group": "float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;",
38-
"X .modebar-btn": "position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;",
39-
"X .modebar-btn svg": "position:relative;top:2px;",
39+
"X .modebar-group a": "display:grid;place-content:center;",
40+
"X .modebar-btn": "position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;border:none;background:rgba(0,0,0,0);",
41+
"X .modebar-btn svg": "position:relative;",
42+
"X .modebar-btn:focus-visible": "outline:1px solid #000;outline-offset:1px;border-radius:3px;",
4043
"X .modebar.vertical": "display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;",
4144
"X .modebar.vertical svg": "top:-1px;",
4245
"X .modebar.vertical .modebar-group": "display:block;float:none;padding-left:0px;padding-bottom:8px;",

draftlogs/7417_fix.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Fix hidden ticklabels taking up plot space [[#7417](https://github.com/plotly/plotly.js/pull/7417)]

draftlogs/7439_add.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Add `unifiedhovertitle.text` to format unified hover titles [[#7439](https://github.com/plotly/plotly.js/pull/7439)]

draftlogs/7451_add.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Add `layout.hoverlabel.showarrow` (and `trace.hoverlabel.showarrow`) attribute to allow hiding the triangular caret that appears on the hover label box [[#7451](https://github.com/plotly/plotly.js/pull/7451)]

draftlogs/7492_add.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Make modebar keyboard-accessible via tabbing [[#7492](https://github.com/plotly/plotly.js/pull/7492)], with thanks to @davidangarita1 for the contribution!

package-lock.json

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@
5959
"preversion": "check-node-version --node 18 --npm 10 && npm-link-check && npm ls --prod --all",
6060
"version": "npm run build && git add -A lib dist build src/version.js",
6161
"postversion": "node -e \"console.log('Version bumped and committed. If ok, run: git push && git push --tags')\"",
62-
"postpublish": "node tasks/sync_packages.js",
63-
"postshrinkwrap": "chttps ."
62+
"postpublish": "node tasks/sync_packages.js"
6463
},
6564
"browserify": {
6665
"transform": [
@@ -130,7 +129,6 @@
130129
"buffer": "^6.0.3",
131130
"canvas": "^3.1.0",
132131
"check-node-version": "^4.2.1",
133-
"chttps": "^1.0.6",
134132
"css-loader": "^7.1.2",
135133
"deep-equal": "^2.2.3",
136134
"ecstatic": "^4.1.4",

src/components/fx/attributes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = {
2121
}),
2222
align: extendFlat({}, hoverLabelAttrs.align, {arrayOk: true}),
2323
namelength: extendFlat({}, hoverLabelAttrs.namelength, {arrayOk: true}),
24+
showarrow: extendFlat({}, hoverLabelAttrs.showarrow),
2425
editType: 'none'
2526
}
2627
};

src/components/fx/calc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ module.exports = function calc(gd) {
4040
fillFn(trace.hoverlabel.font.variant, cd, 'htv');
4141
fillFn(trace.hoverlabel.namelength, cd, 'hnl');
4242
fillFn(trace.hoverlabel.align, cd, 'hta');
43+
fillFn(trace.hoverlabel.showarrow, cd, 'htsa');
4344
}
4445
};
4546

0 commit comments

Comments
 (0)