svelte-plots-basic 2.1.5 → 2.1.6

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/README.md CHANGED
@@ -6,7 +6,7 @@ The library is under development and breaking changes may occur in the coming ve
6
6
 
7
7
  New major release (v. 2.0.0) introduces many breaking changes as the library was completely re-written. If you use previous versions of `svelte-plots-basic` in your projects, and do not want to change anything, stick to the latest 1.x.x version (v. 1.1.4).
8
8
 
9
- ### 2.1.1—2.1.5
9
+ ### 2.1.1—2.1.6
10
10
 
11
11
  * Small improvements and bug fixes.
12
12
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "svelte-plots-basic",
3
3
  "description": "Svelte components for creating simple plots",
4
- "version": "2.1.5",
4
+ "version": "2.1.6",
5
5
  "author": "Sergey Kucheryavskiy",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -35,9 +35,9 @@
35
35
  function getTickFactorLabel(tf) {
36
36
  if (tf === 0) return '';
37
37
  if (tf < 0) {
38
- return `&times;10<tspan baseline-shift = "super">${(tf).toString()}</tspan>`;
38
+ return `&times;10<tspan vertical-align="super">${(tf).toString()}</tspan>`;
39
39
  } else {
40
- return `&times;10<tspan baseline-shift = "super">${(tf).toString()}</tspan>`;
40
+ return `&times;10<tspan vertical-align="super">${(tf).toString()}</tspan>`;
41
41
  }
42
42
  }
43
43
  </script>