plotly.js 2.12.0 → 2.12.1

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 CHANGED
@@ -9,6 +9,15 @@ To see all merged commits on the master branch that will be part of the next plo
9
9
 
10
10
  where X.Y.Z is the semver of most recent plotly.js release.
11
11
 
12
+ ## [2.12.1] -- 2022-05-09
13
+
14
+ ### Fixed
15
+ - Fix for disabling polar rotation when `dragmode` is set to false [[#6147](https://github.com/plotly/plotly.js/pull/6147)],
16
+ with thanks to @jonfunkhouser for the contribution!
17
+ - Fix custom modebar buttons mutate the input [[#6177](https://github.com/plotly/plotly.js/pull/6177)]
18
+ - Fix various missing and duplicate spaces in plot schema descriptions [[#6183](https://github.com/plotly/plotly.js/pull/6183)]
19
+
20
+
12
21
  ## [2.12.0] -- 2022-05-02
13
22
 
14
23
  ### Added
package/README.md CHANGED
@@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
55
55
 
56
56
  ```html
57
57
  <head>
58
- <script src="https://cdn.plot.ly/plotly-2.12.0.min.js"></script>
58
+ <script src="https://cdn.plot.ly/plotly-2.12.1.min.js"></script>
59
59
  </head>
60
60
  <body>
61
61
  <div id="gd"></div>
@@ -72,7 +72,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
72
72
  Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
73
73
  ```html
74
74
  <script type="module">
75
- import "https://cdn.plot.ly/plotly-2.12.0.min.js"
75
+ import "https://cdn.plot.ly/plotly-2.12.1.min.js"
76
76
  Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
77
77
  </script>
78
78
  ```
@@ -82,7 +82,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
82
82
  ### Un-minified versions are also available on CDN
83
83
  While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
84
84
  ```html
85
- <script src="https://cdn.plot.ly/plotly-2.12.0.js" charset="utf-8"></script>
85
+ <script src="https://cdn.plot.ly/plotly-2.12.1.js" charset="utf-8"></script>
86
86
  ```
87
87
 
88
88
  > Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.5. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.
package/build/plotcss.js CHANGED
@@ -44,10 +44,10 @@ var rules = {
44
44
  "X .modebar.vertical .modebar-group .modebar-btn": "display:block;text-align:center;",
45
45
  "X [data-title]:before,X [data-title]:after": "position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;",
46
46
  "X [data-title]:hover:before,X [data-title]:hover:after": "display:block;opacity:1;",
47
- "X [data-title]:before": "content:\"\";position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;",
47
+ "X [data-title]:before": "content:\"\";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;",
48
48
  "X [data-title]:after": "content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;",
49
49
  "X .vertical [data-title]:before,X .vertical [data-title]:after": "top:0%;right:200%;",
50
- "X .vertical [data-title]:before": "border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;",
50
+ "X .vertical [data-title]:before": "border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",
51
51
  "X .select-outline": "fill:none;stroke-width:1;shape-rendering:crispEdges;",
52
52
  "X .select-outline-1": "stroke:#fff;",
53
53
  "X .select-outline-2": "stroke:#000;stroke-dasharray:2px 2px;",
package/dist/README.md CHANGED
@@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
46
46
  | 8.3 MB | 3.5 MB | 1 MB | 8.6 MB |
47
47
 
48
48
  #### CDN links
49
- > https://cdn.plot.ly/plotly-2.12.0.js
49
+ > https://cdn.plot.ly/plotly-2.12.1.js
50
50
 
51
- > https://cdn.plot.ly/plotly-2.12.0.min.js
51
+ > https://cdn.plot.ly/plotly-2.12.1.min.js
52
52
 
53
53
 
54
54
  #### npm packages
@@ -91,12 +91,12 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
91
91
 
92
92
  | Raw size | Minified size | Minified + gzip size |
93
93
  |------|-----------------|------------------------|
94
- | 2.7 MB | 982.4 kB | 320.1 kB |
94
+ | 2.7 MB | 982.5 kB | 320.1 kB |
95
95
 
96
96
  #### CDN links
97
- > https://cdn.plot.ly/plotly-basic-2.12.0.js
97
+ > https://cdn.plot.ly/plotly-basic-2.12.1.js
98
98
 
99
- > https://cdn.plot.ly/plotly-basic-2.12.0.min.js
99
+ > https://cdn.plot.ly/plotly-basic-2.12.1.min.js
100
100
 
101
101
 
102
102
  #### npm packages
@@ -114,12 +114,12 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
114
114
 
115
115
  | Raw size | Minified size | Minified + gzip size |
116
116
  |------|-----------------|------------------------|
117
- | 3.3 MB | 1.2 MB | 393.1 kB |
117
+ | 3.3 MB | 1.2 MB | 393.2 kB |
118
118
 
119
119
  #### CDN links
120
- > https://cdn.plot.ly/plotly-cartesian-2.12.0.js
120
+ > https://cdn.plot.ly/plotly-cartesian-2.12.1.js
121
121
 
122
- > https://cdn.plot.ly/plotly-cartesian-2.12.0.min.js
122
+ > https://cdn.plot.ly/plotly-cartesian-2.12.1.min.js
123
123
 
124
124
 
125
125
  #### npm packages
@@ -140,9 +140,9 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
140
140
  | 3.1 MB | 1.1 MB | 362.8 kB |
141
141
 
142
142
  #### CDN links
143
- > https://cdn.plot.ly/plotly-geo-2.12.0.js
143
+ > https://cdn.plot.ly/plotly-geo-2.12.1.js
144
144
 
145
- > https://cdn.plot.ly/plotly-geo-2.12.0.min.js
145
+ > https://cdn.plot.ly/plotly-geo-2.12.1.min.js
146
146
 
147
147
 
148
148
  #### npm packages
@@ -163,9 +163,9 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
163
163
  | 3.9 MB | 1.5 MB | 483.8 kB |
164
164
 
165
165
  #### CDN links
166
- > https://cdn.plot.ly/plotly-gl3d-2.12.0.js
166
+ > https://cdn.plot.ly/plotly-gl3d-2.12.1.js
167
167
 
168
- > https://cdn.plot.ly/plotly-gl3d-2.12.0.min.js
168
+ > https://cdn.plot.ly/plotly-gl3d-2.12.1.min.js
169
169
 
170
170
 
171
171
  #### npm packages
@@ -186,9 +186,9 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin
186
186
  | 4.4 MB | 1.8 MB | 576 kB |
187
187
 
188
188
  #### CDN links
189
- > https://cdn.plot.ly/plotly-gl2d-2.12.0.js
189
+ > https://cdn.plot.ly/plotly-gl2d-2.12.1.js
190
190
 
191
- > https://cdn.plot.ly/plotly-gl2d-2.12.0.min.js
191
+ > https://cdn.plot.ly/plotly-gl2d-2.12.1.min.js
192
192
 
193
193
 
194
194
  #### npm packages
@@ -206,12 +206,12 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
206
206
 
207
207
  | Raw size | Minified size | Minified + gzip size |
208
208
  |------|-----------------|------------------------|
209
- | 4.4 MB | 1.7 MB | 516.9 kB |
209
+ | 4.4 MB | 1.7 MB | 517 kB |
210
210
 
211
211
  #### CDN links
212
- > https://cdn.plot.ly/plotly-mapbox-2.12.0.js
212
+ > https://cdn.plot.ly/plotly-mapbox-2.12.1.js
213
213
 
214
- > https://cdn.plot.ly/plotly-mapbox-2.12.0.min.js
214
+ > https://cdn.plot.ly/plotly-mapbox-2.12.1.min.js
215
215
 
216
216
 
217
217
  #### npm packages
@@ -232,9 +232,9 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
232
232
  | 2.9 MB | 1.1 MB | 352.8 kB |
233
233
 
234
234
  #### CDN links
235
- > https://cdn.plot.ly/plotly-finance-2.12.0.js
235
+ > https://cdn.plot.ly/plotly-finance-2.12.1.js
236
236
 
237
- > https://cdn.plot.ly/plotly-finance-2.12.0.min.js
237
+ > https://cdn.plot.ly/plotly-finance-2.12.1.min.js
238
238
 
239
239
 
240
240
  #### npm packages
@@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
255
255
  | 8.8 MB | 3.8 MB | 1.1 MB |
256
256
 
257
257
  #### CDN links
258
- > https://cdn.plot.ly/plotly-strict-2.12.0.js
258
+ > https://cdn.plot.ly/plotly-strict-2.12.1.js
259
259
 
260
- > https://cdn.plot.ly/plotly-strict-2.12.0.min.js
260
+ > https://cdn.plot.ly/plotly-strict-2.12.1.min.js
261
261
 
262
262
 
263
263
  #### npm packages